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

Side by Side Diff: chrome/browser/devtools/devtools_embedder_message_dispatcher.cc

Issue 423673003: [DevTools] Make sendMessageToBackend one of embedder messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed compile Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/devtools/devtools_embedder_message_dispatcher.h" 5 #include "chrome/browser/devtools/devtools_embedder_message_dispatcher.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 9
10 namespace { 10 namespace {
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 &Delegate::SetWhitelistedShortcuts, delegate); 282 &Delegate::SetWhitelistedShortcuts, delegate);
283 d->RegisterHandler("zoomIn", &Delegate::ZoomIn, delegate); 283 d->RegisterHandler("zoomIn", &Delegate::ZoomIn, delegate);
284 d->RegisterHandler("zoomOut", &Delegate::ZoomOut, delegate); 284 d->RegisterHandler("zoomOut", &Delegate::ZoomOut, delegate);
285 d->RegisterHandler("resetZoom", &Delegate::ResetZoom, delegate); 285 d->RegisterHandler("resetZoom", &Delegate::ResetZoom, delegate);
286 d->RegisterHandler("openUrlOnRemoteDeviceAndInspect", 286 d->RegisterHandler("openUrlOnRemoteDeviceAndInspect",
287 &Delegate::OpenUrlOnRemoteDeviceAndInspect, delegate); 287 &Delegate::OpenUrlOnRemoteDeviceAndInspect, delegate);
288 d->RegisterHandler("setDeviceCountUpdatesEnabled", 288 d->RegisterHandler("setDeviceCountUpdatesEnabled",
289 &Delegate::SetDeviceCountUpdatesEnabled, delegate); 289 &Delegate::SetDeviceCountUpdatesEnabled, delegate);
290 d->RegisterHandler("setDevicesUpdatesEnabled", 290 d->RegisterHandler("setDevicesUpdatesEnabled",
291 &Delegate::SetDevicesUpdatesEnabled, delegate); 291 &Delegate::SetDevicesUpdatesEnabled, delegate);
292 d->RegisterHandler("sendMessageToBrowser",
293 &Delegate::SendMessageToBrowser, delegate);
292 return d; 294 return d;
293 } 295 }
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_embedder_message_dispatcher.h ('k') | chrome/browser/devtools/devtools_ui_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698