| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UI_BINDINGS_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ |
| 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 const std::string& query) override; | 125 const std::string& query) override; |
| 126 void SetWhitelistedShortcuts(const std::string& message) override; | 126 void SetWhitelistedShortcuts(const std::string& message) override; |
| 127 void SetEyeDropperActive(bool active) override; | 127 void SetEyeDropperActive(bool active) override; |
| 128 void ShowCertificateViewer(const std::string& cert_chain) override; | 128 void ShowCertificateViewer(const std::string& cert_chain) override; |
| 129 void ZoomIn() override; | 129 void ZoomIn() override; |
| 130 void ZoomOut() override; | 130 void ZoomOut() override; |
| 131 void ResetZoom() override; | 131 void ResetZoom() override; |
| 132 void SetDevicesDiscoveryConfig( | 132 void SetDevicesDiscoveryConfig( |
| 133 bool discover_usb_devices, | 133 bool discover_usb_devices, |
| 134 bool port_forwarding_enabled, | 134 bool port_forwarding_enabled, |
| 135 const std::string& port_forwarding_config) override; | 135 const std::string& port_forwarding_config, |
| 136 bool network_discovery_enabled, |
| 137 const std::string& network_discovery_config) override; |
| 136 void SetDevicesUpdatesEnabled(bool enabled) override; | 138 void SetDevicesUpdatesEnabled(bool enabled) override; |
| 137 void PerformActionOnRemotePage(const std::string& page_id, | 139 void PerformActionOnRemotePage(const std::string& page_id, |
| 138 const std::string& action) override; | 140 const std::string& action) override; |
| 139 void OpenRemotePage(const std::string& browser_id, | 141 void OpenRemotePage(const std::string& browser_id, |
| 140 const std::string& url) override; | 142 const std::string& url) override; |
| 141 void OpenNodeFrontend() override; | 143 void OpenNodeFrontend() override; |
| 142 void DispatchProtocolMessageFromDevToolsFrontend( | 144 void DispatchProtocolMessageFromDevToolsFrontend( |
| 143 const std::string& message) override; | 145 const std::string& message) override; |
| 144 void RecordEnumeratedHistogram(const std::string& name, | 146 void RecordEnumeratedHistogram(const std::string& name, |
| 145 int sample, | 147 int sample, |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 embedder_message_dispatcher_; | 240 embedder_message_dispatcher_; |
| 239 GURL url_; | 241 GURL url_; |
| 240 using PendingRequestsMap = std::map<const net::URLFetcher*, DispatchCallback>; | 242 using PendingRequestsMap = std::map<const net::URLFetcher*, DispatchCallback>; |
| 241 PendingRequestsMap pending_requests_; | 243 PendingRequestsMap pending_requests_; |
| 242 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_; | 244 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_; |
| 243 | 245 |
| 244 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings); | 246 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings); |
| 245 }; | 247 }; |
| 246 | 248 |
| 247 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ | 249 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ |
| OLD | NEW |