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_; |