app_shell: Add version number in user agent
[chromium-blink-merge.git] / chrome / browser / ui / pdf / pdf_unsupported_feature.h
blob74722d085280f308967498d849616e91bbe24ba6
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_UI_PDF_PDF_UNSUPPORTED_FEATURE_H_
6 #define CHROME_BROWSER_UI_PDF_PDF_UNSUPPORTED_FEATURE_H_
8 #include "base/basictypes.h"
10 namespace content {
11 class WebContents;
14 // Call this when a tab encounters a PDF that has features which our internal
15 // viewer doesn't support. Will take care of puting up an infobar to inform the
16 // user and launch Reader if they choose. If Reader is out of date, it will put
17 // up an interstitial.
18 void PDFHasUnsupportedFeature(content::WebContents* web_contents);
20 #endif // CHROME_BROWSER_UI_PDF_PDF_UNSUPPORTED_FEATURE_H_