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

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

Issue 375393002: DevTools: factor out InspectorFrontendHost/API as a separate entity (chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 d->RegisterHandler("indexPath", &Delegate::IndexPath, delegate); 278 d->RegisterHandler("indexPath", &Delegate::IndexPath, delegate);
279 d->RegisterHandler("stopIndexing", &Delegate::StopIndexing, delegate); 279 d->RegisterHandler("stopIndexing", &Delegate::StopIndexing, delegate);
280 d->RegisterHandler("searchInPath", &Delegate::SearchInPath, delegate); 280 d->RegisterHandler("searchInPath", &Delegate::SearchInPath, delegate);
281 d->RegisterHandler("setWhitelistedShortcuts", 281 d->RegisterHandler("setWhitelistedShortcuts",
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( 288 d->RegisterHandler("setDeviceCountUpdatesEnabled",
289 "subscribe", &Delegate::Subscribe, delegate); 289 &Delegate::SetDeviceCountUpdatesEnabled, delegate);
290 d->RegisterHandler( 290 d->RegisterHandler("setDevicesUpdatesEnabled",
291 "unsubscribe", &Delegate::Unsubscribe, delegate); 291 &Delegate::SetDevicesUpdatesEnabled, delegate);
292 return d; 292 return d;
293 } 293 }
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