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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 void RemoveFileSystem(const std::string& file_system_path) override; | 111 void RemoveFileSystem(const std::string& file_system_path) override; |
112 void UpgradeDraggedFileSystemPermissions( | 112 void UpgradeDraggedFileSystemPermissions( |
113 const std::string& file_system_url) override; | 113 const std::string& file_system_url) override; |
114 void IndexPath(int index_request_id, | 114 void IndexPath(int index_request_id, |
115 const std::string& file_system_path) override; | 115 const std::string& file_system_path) override; |
116 void StopIndexing(int index_request_id) override; | 116 void StopIndexing(int index_request_id) override; |
117 void SearchInPath(int search_request_id, | 117 void SearchInPath(int search_request_id, |
118 const std::string& file_system_path, | 118 const std::string& file_system_path, |
119 const std::string& query) override; | 119 const std::string& query) override; |
120 void SetWhitelistedShortcuts(const std::string& message) override; | 120 void SetWhitelistedShortcuts(const std::string& message) override; |
| 121 void ShowCertificateViewer(const std::string& cert_chain) override; |
121 void ZoomIn() override; | 122 void ZoomIn() override; |
122 void ZoomOut() override; | 123 void ZoomOut() override; |
123 void ResetZoom() override; | 124 void ResetZoom() override; |
124 void SetDevicesDiscoveryConfig( | 125 void SetDevicesDiscoveryConfig( |
125 bool discover_usb_devices, | 126 bool discover_usb_devices, |
126 bool port_forwarding_enabled, | 127 bool port_forwarding_enabled, |
127 const std::string& port_forwarding_config) override; | 128 const std::string& port_forwarding_config) override; |
128 void SetDevicesUpdatesEnabled(bool enabled) override; | 129 void SetDevicesUpdatesEnabled(bool enabled) override; |
129 void PerformActionOnRemotePage(const std::string& page_id, | 130 void PerformActionOnRemotePage(const std::string& page_id, |
130 const std::string& action) override; | 131 const std::string& action) override; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 embedder_message_dispatcher_; | 226 embedder_message_dispatcher_; |
226 GURL url_; | 227 GURL url_; |
227 using PendingRequestsMap = std::map<const net::URLFetcher*, DispatchCallback>; | 228 using PendingRequestsMap = std::map<const net::URLFetcher*, DispatchCallback>; |
228 PendingRequestsMap pending_requests_; | 229 PendingRequestsMap pending_requests_; |
229 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_; | 230 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_; |
230 | 231 |
231 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings); | 232 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings); |
232 }; | 233 }; |
233 | 234 |
234 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ | 235 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ |
OLD | NEW |