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

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

Issue 2864263002: [DevTools] Expose TCP targets config in frontend, use it for Node (Closed)
Patch Set: panel Created 3 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/devtools/devtools_ui_bindings.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_EMBEDDER_MESSAGE_DISPATCHER_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_EMBEDDER_MESSAGE_DISPATCHER_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_EMBEDDER_MESSAGE_DISPATCHER_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_EMBEDDER_MESSAGE_DISPATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual void SetWhitelistedShortcuts(const std::string& message) = 0; 64 virtual void SetWhitelistedShortcuts(const std::string& message) = 0;
65 virtual void SetEyeDropperActive(bool active) = 0; 65 virtual void SetEyeDropperActive(bool active) = 0;
66 virtual void ShowCertificateViewer(const std::string& cert_chain) = 0; 66 virtual void ShowCertificateViewer(const std::string& cert_chain) = 0;
67 virtual void ZoomIn() = 0; 67 virtual void ZoomIn() = 0;
68 virtual void ZoomOut() = 0; 68 virtual void ZoomOut() = 0;
69 virtual void ResetZoom() = 0; 69 virtual void ResetZoom() = 0;
70 virtual void SetDevicesUpdatesEnabled(bool enabled) = 0; 70 virtual void SetDevicesUpdatesEnabled(bool enabled) = 0;
71 virtual void SetDevicesDiscoveryConfig( 71 virtual void SetDevicesDiscoveryConfig(
72 bool discover_usb_devices, 72 bool discover_usb_devices,
73 bool port_forwarding_enabled, 73 bool port_forwarding_enabled,
74 const std::string& port_forwarding_config) = 0; 74 const std::string& port_forwarding_config,
75 bool network_discovery_enabled,
76 const std::string& network_discovery_config) = 0;
75 virtual void PerformActionOnRemotePage(const std::string& page_id, 77 virtual void PerformActionOnRemotePage(const std::string& page_id,
76 const std::string& action) = 0; 78 const std::string& action) = 0;
77 virtual void OpenRemotePage(const std::string& browser_id, 79 virtual void OpenRemotePage(const std::string& browser_id,
78 const std::string& url) = 0; 80 const std::string& url) = 0;
79 virtual void OpenNodeFrontend() = 0; 81 virtual void OpenNodeFrontend() = 0;
80 virtual void GetPreferences(const DispatchCallback& callback) = 0; 82 virtual void GetPreferences(const DispatchCallback& callback) = 0;
81 virtual void SetPreference(const std::string& name, 83 virtual void SetPreference(const std::string& name,
82 const std::string& value) = 0; 84 const std::string& value) = 0;
83 virtual void RemovePreference(const std::string& name) = 0; 85 virtual void RemovePreference(const std::string& name) = 0;
84 virtual void ClearPreferences() = 0; 86 virtual void ClearPreferences() = 0;
(...skipping 14 matching lines...) Expand all
99 virtual ~DevToolsEmbedderMessageDispatcher() {} 101 virtual ~DevToolsEmbedderMessageDispatcher() {}
100 virtual bool Dispatch(const DispatchCallback& callback, 102 virtual bool Dispatch(const DispatchCallback& callback,
101 const std::string& method, 103 const std::string& method,
102 const base::ListValue* params) = 0; 104 const base::ListValue* params) = 0;
103 105
104 static DevToolsEmbedderMessageDispatcher* CreateForDevToolsFrontend( 106 static DevToolsEmbedderMessageDispatcher* CreateForDevToolsFrontend(
105 Delegate* delegate); 107 Delegate* delegate);
106 }; 108 };
107 109
108 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_EMBEDDER_MESSAGE_DISPATCHER_H_ 110 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_EMBEDDER_MESSAGE_DISPATCHER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/devtools/devtools_ui_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698