Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: chrome/browser/pdf_unsupported_feature.h

Issue 6259008: When we detect a PDF with an unsupported feature, ask the user if they want t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/pdf_unsupported_feature.h
===================================================================
--- chrome/browser/pdf_unsupported_feature.h (revision 0)
+++ chrome/browser/pdf_unsupported_feature.h (revision 0)
@@ -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_
Property changes on: chrome\browser\pdf_unsupported_feature.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698