diff options
author | Kristian Monsen <kristianm@google.com> | 2011-05-31 20:30:28 +0100 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2011-06-14 20:31:41 -0700 |
commit | 72a454cd3513ac24fbdd0e0cb9ad70b86a99b801 (patch) | |
tree | 382278a54ce7a744d62fa510a9a80688cc12434b /chrome/browser/pdf_unsupported_feature.h | |
parent | c4becdd46e31d261b930e4b5a539cbc1d45c23a6 (diff) | |
download | external_chromium-72a454cd3513ac24fbdd0e0cb9ad70b86a99b801.zip external_chromium-72a454cd3513ac24fbdd0e0cb9ad70b86a99b801.tar.gz external_chromium-72a454cd3513ac24fbdd0e0cb9ad70b86a99b801.tar.bz2 |
Merge Chromium.org at r11.0.672.0: Initial merge by git.
Change-Id: I8b4aaf611a2a405fe3fe10e8a94ea7658645c192
Diffstat (limited to 'chrome/browser/pdf_unsupported_feature.h')
-rw-r--r-- | chrome/browser/pdf_unsupported_feature.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chrome/browser/pdf_unsupported_feature.h b/chrome/browser/pdf_unsupported_feature.h new file mode 100644 index 0000000..e6e4f64 --- /dev/null +++ b/chrome/browser/pdf_unsupported_feature.h @@ -0,0 +1,19 @@ +// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CHROME_BROWSER_PDF_UNSUPPORTED_FEATURE_H_ +#define CHROME_BROWSER_PDF_UNSUPPORTED_FEATURE_H_ +#pragma once + +#include "base/basictypes.h" + +class TabContents; + +// Call this when a tab encounters a PDF that has features which our internal +// viewer doesn't support. Will take care of puting up an infobar to inform the +// user and launch Reader if they choose. If Reader is out of date, it will put +// up an interstitial. +void PDFHasUnsupportedFeature(TabContents* tab); + +#endif // CHROME_BROWSER_PDF_UNSUPPORTED_FEATURE_H_ |