Chromium Code Reviews| Index: extensions/browser/app_window/app_window_contents.cc |
| diff --git a/extensions/browser/app_window/app_window_contents.cc b/extensions/browser/app_window/app_window_contents.cc |
| index 2478ddeba03723437966037bc5b854f3b7e9aeee..819090ac537ad86eabd51f930421fed1bd9d32fc 100644 |
| --- a/extensions/browser/app_window/app_window_contents.cc |
| +++ b/extensions/browser/app_window/app_window_contents.cc |
| @@ -97,9 +97,11 @@ WindowController* AppWindowContentsImpl::GetWindowController() const { |
| return nullptr; |
| } |
| -bool AppWindowContentsImpl::OnMessageReceived(const IPC::Message& message) { |
| +bool AppWindowContentsImpl::OnMessageReceived( |
| + const IPC::Message& message, |
| + content::RenderFrameHost* sender) { |
| bool handled = true; |
| - IPC_BEGIN_MESSAGE_MAP(AppWindowContentsImpl, message) |
| + IPC_BEGIN_MESSAGE_MAP_WITH_PARAM(AppWindowContentsImpl, message, sender) |
| IPC_MESSAGE_HANDLER(ExtensionHostMsg_UpdateDraggableRegions, |
| UpdateDraggableRegions) |
| IPC_MESSAGE_UNHANDLED(handled = false) |
| @@ -114,6 +116,7 @@ void AppWindowContentsImpl::ReadyToCommitNavigation( |
| } |
| void AppWindowContentsImpl::UpdateDraggableRegions( |
| + content::RenderFrameHost* sender, |
| const std::vector<DraggableRegion>& regions) { |
|
Łukasz Anforowicz
2017/06/07 18:25:03
Test coverage of this CL is not that great:
- The
|
| host_->UpdateDraggableRegions(regions); |
| } |