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

Unified Diff: extensions/browser/app_window/app_window_contents.h

Issue 2929493003: Move handling of DraggableRegionsChanged notification from "view" to "frame". (Closed)
Patch Set: Also add main frame filtering to the browser-side. Created 3 years, 6 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/app_window/app_window_contents.h
diff --git a/extensions/browser/app_window/app_window_contents.h b/extensions/browser/app_window/app_window_contents.h
index 4afa13d1ed16eb9c744a6d398784fd7b12658166..6446f45af499b6cd40dea5fab33a9d980f8847ad 100644
--- a/extensions/browser/app_window/app_window_contents.h
+++ b/extensions/browser/app_window/app_window_contents.h
@@ -45,10 +45,12 @@ class AppWindowContentsImpl : public AppWindowContents,
private:
// content::WebContentsObserver
- bool OnMessageReceived(const IPC::Message& message) override;
+ bool OnMessageReceived(const IPC::Message& message,
+ content::RenderFrameHost* sender) override;
void ReadyToCommitNavigation(content::NavigationHandle* handle) override;
- void UpdateDraggableRegions(const std::vector<DraggableRegion>& regions);
+ void UpdateDraggableRegions(content::RenderFrameHost* sender,
+ const std::vector<DraggableRegion>& regions);
void SuspendRenderFrameHost(content::RenderFrameHost* rfh);
AppWindow* host_; // This class is owned by |host_|

Powered by Google App Engine
This is Rietveld 408576698