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

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

Issue 1060573003: DevTools: cleanup unused method and constants (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor
Patch Set: rebaseline Created 5 years, 8 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 void StopIndexing(int index_request_id) override; 125 void StopIndexing(int index_request_id) override;
126 void SearchInPath(int search_request_id, 126 void SearchInPath(int search_request_id,
127 const std::string& file_system_path, 127 const std::string& file_system_path,
128 const std::string& query) override; 128 const std::string& query) override;
129 void SetWhitelistedShortcuts(const std::string& message) override; 129 void SetWhitelistedShortcuts(const std::string& message) override;
130 void ZoomIn() override; 130 void ZoomIn() override;
131 void ZoomOut() override; 131 void ZoomOut() override;
132 void ResetZoom() override; 132 void ResetZoom() override;
133 void SetDevicesUpdatesEnabled(bool enabled) override; 133 void SetDevicesUpdatesEnabled(bool enabled) override;
134 void SendMessageToBrowser(const std::string& message) override; 134 void SendMessageToBrowser(const std::string& message) override;
135 void RecordActionUMA(const std::string& name, int action) override;
136 void RecordEnumeratedHistogram(const std::string& name, 135 void RecordEnumeratedHistogram(const std::string& name,
137 int sample, 136 int sample,
138 int boundary_value) override; 137 int boundary_value) override;
139 void SendJsonRequest(const DispatchCallback& callback, 138 void SendJsonRequest(const DispatchCallback& callback,
140 const std::string& browser_id, 139 const std::string& browser_id,
141 const std::string& url) override; 140 const std::string& url) override;
142 141
143 // net::URLFetcherDelegate overrides. 142 // net::URLFetcherDelegate overrides.
144 void OnURLFetchComplete(const net::URLFetcher* source) override; 143 void OnURLFetchComplete(const net::URLFetcher* source) override;
145 144
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; 212 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_;
214 GURL url_; 213 GURL url_;
215 using PendingRequestsMap = std::map<const net::URLFetcher*, DispatchCallback>; 214 using PendingRequestsMap = std::map<const net::URLFetcher*, DispatchCallback>;
216 PendingRequestsMap pending_requests_; 215 PendingRequestsMap pending_requests_;
217 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_; 216 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_;
218 217
219 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings); 218 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings);
220 }; 219 };
221 220
222 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ 221 #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