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

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

Issue 2495213007: [Extensions] Use a separate IPC message for extension events (Closed)
Patch Set: lazyboys Created 4 years, 1 month 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.cc
diff --git a/extensions/browser/app_window/app_window_contents.cc b/extensions/browser/app_window/app_window_contents.cc
index 0d5f033c7efafc175859d61d1a7b754840c4caf1..e40be766e08c687e8f59dc5cc29e4ce2e20b9f50 100644
--- a/extensions/browser/app_window/app_window_contents.cc
+++ b/extensions/browser/app_window/app_window_contents.cc
@@ -72,9 +72,9 @@ void AppWindowContentsImpl::NativeWindowChanged(
args.Append(std::move(dictionary));
content::RenderFrameHost* rfh = web_contents_->GetMainFrame();
- rfh->Send(new ExtensionMsg_MessageInvoke(
- rfh->GetRoutingID(), host_->extension_id(), "app.window",
- "updateAppWindowProperties", args, false));
+ rfh->Send(new ExtensionMsg_MessageInvoke(rfh->GetRoutingID(),
+ host_->extension_id(), "app.window",
+ "updateAppWindowProperties", args));
}
void AppWindowContentsImpl::NativeWindowClosed() {
@@ -85,9 +85,9 @@ void AppWindowContentsImpl::NativeWindowClosed() {
void AppWindowContentsImpl::DispatchWindowShownForTests() const {
base::ListValue args;
content::RenderFrameHost* rfh = web_contents_->GetMainFrame();
- rfh->Send(new ExtensionMsg_MessageInvoke(
- rfh->GetRoutingID(), host_->extension_id(), "app.window",
- "appWindowShownForTests", args, false));
+ rfh->Send(new ExtensionMsg_MessageInvoke(rfh->GetRoutingID(),
+ host_->extension_id(), "app.window",
+ "appWindowShownForTests", args));
}
void AppWindowContentsImpl::OnWindowReady() {
« no previous file with comments | « chrome/browser/extensions/api/web_request/web_request_api_unittest.cc ('k') | extensions/browser/event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698