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

Unified Diff: webkit/plugins/ppapi/ppapi_plugin_instance.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: webkit/plugins/ppapi/ppapi_plugin_instance.h
===================================================================
--- webkit/plugins/ppapi/ppapi_plugin_instance.h (revision 71882)
+++ webkit/plugins/ppapi/ppapi_plugin_instance.h (working copy)
@@ -203,6 +203,10 @@
// NPObject for the given module. See AddNPObjectVar above.
ObjectVar* ObjectVarForNPObject(NPObject* np_object) const;
+ // Returns true iff the plugin is a full-page plugin (i.e. not in an iframe or
+ // embedded in a page).
+ bool IsFullPagePlugin() const;
+
private:
bool LoadFindInterface();
bool LoadPdfInterface();

Powered by Google App Engine
This is Rietveld 408576698