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/guest_view_base.h

Issue 1009193003: Make options zoom isolated, match embedder zoom on navigation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't DCHECK embedder zoom controller existence. Created 5 years, 9 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/guest_view_base.h
diff --git a/extensions/browser/guest_view/guest_view_base.h b/extensions/browser/guest_view/guest_view_base.h
index 17eac480237f00844d3bfddaeb454d57c0baac5c..a7ea60ac20416920162ed7b55486bdcd64838b26 100644
--- a/extensions/browser/guest_view/guest_view_base.h
+++ b/extensions/browser/guest_view/guest_view_base.h
@@ -327,6 +327,9 @@ class GuestViewBase : public content::BrowserPluginGuestDelegate,
void DidStopLoading() final;
void RenderViewReady() final;
void WebContentsDestroyed() final;
+ void DidNavigateMainFrame(
+ const content::LoadCommittedDetails& details,
+ const content::FrameNavigateParams& params) override;
// WebContentsDelegate implementation.
void ActivateContents(content::WebContents* contents) final;
@@ -353,6 +356,8 @@ class GuestViewBase : public content::BrowserPluginGuestDelegate,
const gfx::Size& pref_size) final;
void UpdateTargetURL(content::WebContents* source, const GURL& url) override;
+ void SetGuestZoomLevelToMatchEmbedder();
+
private:
class OwnerContentsObserver;

Powered by Google App Engine
This is Rietveld 408576698