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

Unified Diff: extensions/browser/guest_view/web_view/web_view_guest.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/guest_view/web_view/web_view_guest.h
diff --git a/extensions/browser/guest_view/web_view/web_view_guest.h b/extensions/browser/guest_view/web_view/web_view_guest.h
index e62629b29754eb3d81440badd8b0d0684a7a5c67..1d9ba9add41cd9bb0e3a304324584a516d7d620a 100644
--- a/extensions/browser/guest_view/web_view/web_view_guest.h
+++ b/extensions/browser/guest_view/web_view/web_view_guest.h
@@ -74,6 +74,9 @@ class WebViewGuest : public GuestView<WebViewGuest>,
// Set the zoom factor.
void SetZoom(double zoom_factor);
+ // Sets the transparency of the guest.
+ void SetAllowTransparency(bool allow);
+
// GuestViewBase implementation.
virtual const char* GetAPINamespace() const OVERRIDE;
virtual int GetTaskPrefix() const OVERRIDE;
@@ -330,6 +333,9 @@ class WebViewGuest : public GuestView<WebViewGuest>,
// Stores the window name of the main frame of the guest.
std::string name_;
+ // Stores whether the contents of the guest can be transparent.
+ bool guest_opaque_;
+
// Handles the JavaScript dialog requests.
JavaScriptDialogHelper javascript_dialog_helper_;
« no previous file with comments | « extensions/browser/guest_view/web_view/web_view_constants.cc ('k') | extensions/browser/guest_view/web_view/web_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698