OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_PDF_UNSUPPORTED_FEATURE_H_ | |
6 #define CHROME_BROWSER_PDF_UNSUPPORTED_FEATURE_H_ | |
7 #pragma once | |
8 | |
9 #include "base/basictypes.h" | |
10 | |
11 class TabContentsWrapper; | |
12 | |
13 // Call this when a tab encounters a PDF that has features which our internal | |
14 // viewer doesn't support. Will take care of puting up an infobar to inform the | |
15 // user and launch Reader if they choose. If Reader is out of date, it will put | |
16 // up an interstitial. | |
17 void PDFHasUnsupportedFeature(TabContentsWrapper* tab); | |
18 | |
19 #endif // CHROME_BROWSER_PDF_UNSUPPORTED_FEATURE_H_ | |
OLD | NEW |