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

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

Issue 2302873005: DevTools: allow devtools front-end to show certificate viewer. (Closed)
Patch Set: review comments. Created 4 years, 3 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
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_embedder_message_dispatcher.cc ('k') | chrome/browser/devtools/devtools_ui_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698