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

Side by Side Diff: chrome/browser/ui/pdf/pdf_unsupported_feature.h

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/pdf/pdf_tab_observer.h ('k') | chrome/browser/ui/snapshot_tab_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_PDF_PDF_UNSUPPORTED_FEATURE_H_ 5 #ifndef CHROME_BROWSER_UI_PDF_PDF_UNSUPPORTED_FEATURE_H_
6 #define CHROME_BROWSER_UI_PDF_PDF_UNSUPPORTED_FEATURE_H_ 6 #define CHROME_BROWSER_UI_PDF_PDF_UNSUPPORTED_FEATURE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
11 class TabContentsWrapper; 11 class TabContents;
12 typedef TabContents TabContentsWrapper;
12 13
13 // Call this when a tab encounters a PDF that has features which our internal 14 // 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 // 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 // user and launch Reader if they choose. If Reader is out of date, it will put
16 // up an interstitial. 17 // up an interstitial.
17 void PDFHasUnsupportedFeature(TabContentsWrapper* tab); 18 void PDFHasUnsupportedFeature(TabContentsWrapper* tab);
18 19
19 #endif // CHROME_BROWSER_UI_PDF_PDF_UNSUPPORTED_FEATURE_H_ 20 #endif // CHROME_BROWSER_UI_PDF_PDF_UNSUPPORTED_FEATURE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/pdf/pdf_tab_observer.h ('k') | chrome/browser/ui/snapshot_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698