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

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

Issue 423673003: [DevTools] Make sendMessageToBackend one of embedder messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed compile Created 6 years, 4 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 | Annotate | Revision Log
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 virtual void SetWhitelistedShortcuts(const std::string& message) OVERRIDE; 120 virtual void SetWhitelistedShortcuts(const std::string& message) OVERRIDE;
121 virtual void ZoomIn() OVERRIDE; 121 virtual void ZoomIn() OVERRIDE;
122 virtual void ZoomOut() OVERRIDE; 122 virtual void ZoomOut() OVERRIDE;
123 virtual void ResetZoom() OVERRIDE; 123 virtual void ResetZoom() OVERRIDE;
124 virtual void OpenUrlOnRemoteDeviceAndInspect(const std::string& browser_id, 124 virtual void OpenUrlOnRemoteDeviceAndInspect(const std::string& browser_id,
125 const std::string& url) OVERRIDE; 125 const std::string& url) OVERRIDE;
126 virtual void SetDeviceCountUpdatesEnabled(bool enabled) OVERRIDE; 126 virtual void SetDeviceCountUpdatesEnabled(bool enabled) OVERRIDE;
127 virtual void SetDevicesUpdatesEnabled(bool enabled) OVERRIDE; 127 virtual void SetDevicesUpdatesEnabled(bool enabled) OVERRIDE;
128 virtual void SendMessageToBrowser(const std::string& message) OVERRIDE;
128 129
129 void EnableRemoteDeviceCounter(bool enable); 130 void EnableRemoteDeviceCounter(bool enable);
130 131
131 // DevToolsAndroidBridge::DeviceCountListener override: 132 // DevToolsAndroidBridge::DeviceCountListener override:
132 virtual void DeviceCountChanged(int count) OVERRIDE; 133 virtual void DeviceCountChanged(int count) OVERRIDE;
133 134
134 // Forwards discovered devices to frontend. 135 // Forwards discovered devices to frontend.
135 virtual void DevicesUpdated(const std::string& source, 136 virtual void DevicesUpdated(const std::string& source,
136 const base::ListValue& targets); 137 const base::ListValue& targets);
137 138
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 bool devices_updates_enabled_; 184 bool devices_updates_enabled_;
184 scoped_ptr<DevToolsTargetsUIHandler> remote_targets_handler_; 185 scoped_ptr<DevToolsTargetsUIHandler> remote_targets_handler_;
185 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; 186 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_;
186 GURL url_; 187 GURL url_;
187 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_; 188 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_;
188 189
189 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings); 190 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings);
190 }; 191 };
191 192
192 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ 193 #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