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

Unified Diff: chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h

Issue 10905304: Reland 156033 - Add an icon and bubble to the location bar to open PDFs in Reader. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: , Created 8 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/ui/pdf/pdf_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h
diff --git a/chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h b/chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h
index eb90d0632cc4e10bc392f3f53e2014fbf6727489..b2e796cbbef179a3e440a9edd0898347e682d226 100644
--- a/chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h
+++ b/chrome/browser/ui/pdf/open_pdf_in_reader_prompt_delegate.h
@@ -7,6 +7,10 @@
#include "base/string16.h"
+namespace content {
+struct LoadCommittedDetails;
+}
+
class OpenPDFInReaderPromptDelegate {
public:
virtual ~OpenPDFInReaderPromptDelegate() {}
@@ -17,6 +21,9 @@ class OpenPDFInReaderPromptDelegate {
virtual string16 GetCancelButtonText() const = 0;
+ virtual bool ShouldExpire(
+ const content::LoadCommittedDetails& details) const = 0;
+
virtual void Accept() = 0;
virtual void Cancel() = 0;
« no previous file with comments | « no previous file | chrome/browser/ui/pdf/pdf_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698