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

Unified Diff: extensions/browser/api/web_view/web_view_internal_api.h

Issue 584713002: Browser Plugin: Remove dependency on NPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_content_window
Patch Set: Updated histograms.xml Created 6 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
Index: extensions/browser/api/web_view/web_view_internal_api.h
diff --git a/extensions/browser/api/web_view/web_view_internal_api.h b/extensions/browser/api/web_view/web_view_internal_api.h
index 6eae99fdc74ed648efe0e1cec0f44a603813e034..ecb54c1d4b88d7bdbedce209afdc456149f025fe 100644
--- a/extensions/browser/api/web_view/web_view_internal_api.h
+++ b/extensions/browser/api/web_view/web_view_internal_api.h
@@ -150,6 +150,23 @@ class WebViewInternalSetNameFunction : public WebViewInternalExtensionFunction {
DISALLOW_COPY_AND_ASSIGN(WebViewInternalSetNameFunction);
};
+class WebViewInternalSetAllowTransparencyFunction :
+ public WebViewInternalExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("webViewInternal.setAllowTransparency",
+ WEBVIEWINTERNAL_SETALLOWTRANSPARENCY);
+
+ WebViewInternalSetAllowTransparencyFunction();
+
+ protected:
+ virtual ~WebViewInternalSetAllowTransparencyFunction();
+
+ private:
+ virtual bool RunAsyncSafe(WebViewGuest* guest) OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(WebViewInternalSetAllowTransparencyFunction);
+};
+
class WebViewInternalSetZoomFunction : public WebViewInternalExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("webViewInternal.setZoom",
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin_bindings.cc ('k') | extensions/browser/api/web_view/web_view_internal_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698