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 d6f3e3291773a6e91af83a6b162ee90a7619da55..34f5df959a9848a05fba9a318c079cb5b78a2beb 100644 |
--- a/extensions/browser/guest_view/web_view/web_view_guest.h |
+++ b/extensions/browser/guest_view/web_view/web_view_guest.h |
@@ -89,9 +89,11 @@ class WebViewGuest : public GuestView<WebViewGuest>, |
void SetZoomMode(ui_zoom::ZoomController::ZoomMode zoom_mode); |
void SetAllowScaling(bool allow); |
+ bool allow_scaling() const { return allow_scaling_; } |
// Sets the transparency of the guest. |
void SetAllowTransparency(bool allow); |
+ bool allow_transparency() const { return allow_transparency_; } |
// Loads a data URL with a specified base URL and virtual URL. |
bool LoadDataWithBaseURL(const std::string& data_url, |
@@ -364,7 +366,7 @@ class WebViewGuest : public GuestView<WebViewGuest>, |
std::string name_; |
// Stores whether the contents of the guest can be transparent. |
- bool guest_opaque_; |
+ bool allow_transparency_; |
// Stores the src URL of the WebView. |
GURL src_; |