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 be665abb93f7ac6d253fa25c08ac9a505de74b89..0de4a28a63b83bfe2d80eb18b90b89428d11f555 100644 |
--- a/extensions/browser/guest_view/web_view/web_view_guest.h |
+++ b/extensions/browser/guest_view/web_view/web_view_guest.h |
@@ -175,7 +175,7 @@ class WebViewGuest : public GuestView<WebViewGuest>, |
const content::NotificationDetails& details) override; |
// Returns the current zoom factor. |
- double GetZoom(); |
+ double GetZoom() { return current_zoom_factor_; } |
Fady Samuel
2014/12/09 21:41:42
Call zoom() const
wjmaclean
2014/12/09 22:12:37
Done.
|
// Begin or continue a find request. |
void StartFinding(const base::string16& search_text, |
@@ -369,6 +369,9 @@ class WebViewGuest : public GuestView<WebViewGuest>, |
typedef std::map<WebViewGuest*, NewWindowInfo> PendingWindowMap; |
PendingWindowMap pending_new_windows_; |
+ // Stores the current zoom factor. |
+ double current_zoom_factor_; |
+ |
// This is used to ensure pending tasks will not fire after this object is |
// destroyed. |
base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; |