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

Unified Diff: extensions/browser/guest_view/web_view/web_view_guest.h

Issue 787813004: Move ZoomController out of ChromeWebViewGuestDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix attach logic in GuestViewBase::DidAttach(). Created 6 years 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 be665abb93f7ac6d253fa25c08ac9a505de74b89..081261aeab2302756bf6be5efeb41333de5f0229 100644
--- a/extensions/browser/guest_view/web_view/web_view_guest.h
+++ b/extensions/browser/guest_view/web_view/web_view_guest.h
@@ -373,6 +373,9 @@ class WebViewGuest : public GuestView<WebViewGuest>,
// destroyed.
base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_;
+ // Stores the current zoom factor.
+ double current_zoom_factor_;
Fady Samuel 2014/12/09 20:09:47 Above weak_ptr_factory_
wjmaclean 2014/12/09 20:50:04 Thanks, missed that!
+
DISALLOW_COPY_AND_ASSIGN(WebViewGuest);
};

Powered by Google App Engine
This is Rietveld 408576698