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

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

Issue 787813004: Move ZoomController out of ChromeWebViewGuestDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix incorrect wording in comment. 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
« no previous file with comments | « extensions/browser/guest_view/web_view/web_view_guest.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/guest_view/web_view/web_view_guest_delegate.h
diff --git a/extensions/browser/guest_view/web_view/web_view_guest_delegate.h b/extensions/browser/guest_view/web_view/web_view_guest_delegate.h
index d6aea29002934a8f6456caef0fbaa24ffbddc95d..13f5e91628e4401ee6f0cf212b68f755619c0b25 100644
--- a/extensions/browser/guest_view/web_view/web_view_guest_delegate.h
+++ b/extensions/browser/guest_view/web_view/web_view_guest_delegate.h
@@ -31,19 +31,12 @@ class WebViewGuestDelegate {
typedef std::vector<linked_ptr<api::web_view_internal::ContextMenuItem> >
MenuItemVector;
- // Returns the current zoom factor.
- virtual double GetZoom() = 0;
-
// Called when context menu operation was handled.
virtual bool HandleContextMenu(const content::ContextMenuParams& params) = 0;
// Called to attach helpers just after additional initialization is performed.
virtual void OnAttachWebViewHelpers(content::WebContents* contents) = 0;
- // Called after the guest has been attached to an embedder and suspended
- // resource loads have been resumed.
- virtual void OnDidAttachToEmbedder() = 0;
-
// Called when the guest WebContents commits a provisional load in any frame.
virtual void OnDidCommitProvisionalLoadForFrame(bool is_main_frame) = 0;
@@ -53,15 +46,9 @@ class WebViewGuestDelegate {
virtual void OnDocumentLoadedInFrame(
content::RenderFrameHost* render_frame_host) = 0;
- // Called before the embedder is destroyed.
- virtual void OnEmbedderWillBeDestroyed() = 0;
-
// Called immediately after the guest WebContents has been destroyed.
virtual void OnGuestDestroyed() = 0;
- // Called when to set the zoom factor.
- virtual void OnSetZoom(double zoom_factor) = 0;
-
// Shows the context menu for the guest.
// |items| acts as a filter. This restricts the current context's default
// menu items to contain only the items from |items|.
« no previous file with comments | « extensions/browser/guest_view/web_view/web_view_guest.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698