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

Unified Diff: chrome/browser/plugins/plugin_observer.h

Issue 2972123002: Click to Open PDF: Open PDF once View PDF is clicked. (Closed)
Patch Set: Grammar Created 3 years, 5 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/plugins/plugin_observer.h
diff --git a/chrome/browser/plugins/plugin_observer.h b/chrome/browser/plugins/plugin_observer.h
index e3cfec3d2d2f90a5aff1ae458166ff10de9dc472..e9ca2f291a009a141d330154d48468b50cc46e2c 100644
--- a/chrome/browser/plugins/plugin_observer.h
+++ b/chrome/browser/plugins/plugin_observer.h
@@ -49,6 +49,7 @@ class PluginObserver : public content::WebContentsObserver,
void RemoveComponentObserver(int placeholder_id);
void OnShowFlashPermissionBubble();
void OnCouldNotLoadPlugin(const base::FilePath& plugin_path);
+ void OnOpenPDF(content::RenderFrameHost* render_frame_host, const GURL& url);
// Stores all PluginPlaceholderHosts, keyed by their routing ID.
std::map<int, std::unique_ptr<PluginPlaceholderHost>> plugin_placeholders_;

Powered by Google App Engine
This is Rietveld 408576698