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

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

Issue 2204393002: [Extensions] Remove ExtensionFunction usage of RenderViewHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 4 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 f7d686913588e38a24801ab5de415c0b1e4454ae..5bd7d1976971e765c79641bb7295df75c6aebbcc 100644
--- a/extensions/browser/guest_view/web_view/web_view_guest.h
+++ b/extensions/browser/guest_view/web_view/web_view_guest.h
@@ -181,6 +181,7 @@ class WebViewGuest : public guest_view::GuestView<WebViewGuest>,
const gfx::Rect& selection_rect,
int active_match_ordinal,
bool final_update) final;
+ bool ZoomPropagatesFromEmbedderToGuest() const final;
const char* GetAPINamespace() const final;
int GetTaskPrefix() const final;
void GuestDestroyed() final;
@@ -377,6 +378,9 @@ class WebViewGuest : public guest_view::GuestView<WebViewGuest>,
// navigation. This will be equal to 0 when there is no pending zoom.
double pending_zoom_factor_;
+ // Whether the GuestView set an explicit zoom level.
+ bool did_set_explicit_zoom_;
+
// This is used to ensure pending tasks will not fire after this object is
// destroyed.
base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698