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

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

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs Created 6 years, 2 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 const base::Value* arg3); 75 const base::Value* arg3);
76 void AttachTo(const scoped_refptr<content::DevToolsAgentHost>& agent_host); 76 void AttachTo(const scoped_refptr<content::DevToolsAgentHost>& agent_host);
77 void Reattach(); 77 void Reattach();
78 void Detach(); 78 void Detach();
79 bool IsAttachedTo(content::DevToolsAgentHost* agent_host); 79 bool IsAttachedTo(content::DevToolsAgentHost* agent_host);
80 80
81 private: 81 private:
82 // content::NotificationObserver overrides. 82 // content::NotificationObserver overrides.
83 virtual void Observe(int type, 83 virtual void Observe(int type,
84 const content::NotificationSource& source, 84 const content::NotificationSource& source,
85 const content::NotificationDetails& details) OVERRIDE; 85 const content::NotificationDetails& details) override;
86 86
87 // content::DevToolsFrontendHost::Delegate implementation. 87 // content::DevToolsFrontendHost::Delegate implementation.
88 virtual void HandleMessageFromDevToolsFrontend( 88 virtual void HandleMessageFromDevToolsFrontend(
89 const std::string& message) OVERRIDE; 89 const std::string& message) override;
90 virtual void HandleMessageFromDevToolsFrontendToBackend( 90 virtual void HandleMessageFromDevToolsFrontendToBackend(
91 const std::string& message) OVERRIDE; 91 const std::string& message) override;
92 92
93 // content::DevToolsAgentHostClient implementation. 93 // content::DevToolsAgentHostClient implementation.
94 virtual void DispatchProtocolMessage( 94 virtual void DispatchProtocolMessage(
95 content::DevToolsAgentHost* agent_host, 95 content::DevToolsAgentHost* agent_host,
96 const std::string& message) OVERRIDE; 96 const std::string& message) override;
97 virtual void AgentHostClosed( 97 virtual void AgentHostClosed(
98 content::DevToolsAgentHost* agent_host, 98 content::DevToolsAgentHost* agent_host,
99 bool replaced_with_another_client) OVERRIDE; 99 bool replaced_with_another_client) override;
100 100
101 // DevToolsEmbedderMessageDispatcher::Delegate implementation. 101 // DevToolsEmbedderMessageDispatcher::Delegate implementation.
102 virtual void ActivateWindow() OVERRIDE; 102 virtual void ActivateWindow() override;
103 virtual void CloseWindow() OVERRIDE; 103 virtual void CloseWindow() override;
104 virtual void LoadCompleted() OVERRIDE; 104 virtual void LoadCompleted() override;
105 virtual void SetInspectedPageBounds(const gfx::Rect& rect) OVERRIDE; 105 virtual void SetInspectedPageBounds(const gfx::Rect& rect) override;
106 virtual void InspectElementCompleted() OVERRIDE; 106 virtual void InspectElementCompleted() override;
107 virtual void InspectedURLChanged(const std::string& url) OVERRIDE; 107 virtual void InspectedURLChanged(const std::string& url) override;
108 virtual void MoveWindow(int x, int y) OVERRIDE; 108 virtual void MoveWindow(int x, int y) override;
109 virtual void SetIsDocked(bool is_docked) OVERRIDE; 109 virtual void SetIsDocked(bool is_docked) override;
110 virtual void OpenInNewTab(const std::string& url) OVERRIDE; 110 virtual void OpenInNewTab(const std::string& url) override;
111 virtual void SaveToFile(const std::string& url, 111 virtual void SaveToFile(const std::string& url,
112 const std::string& content, 112 const std::string& content,
113 bool save_as) OVERRIDE; 113 bool save_as) override;
114 virtual void AppendToFile(const std::string& url, 114 virtual void AppendToFile(const std::string& url,
115 const std::string& content) OVERRIDE; 115 const std::string& content) override;
116 virtual void RequestFileSystems() OVERRIDE; 116 virtual void RequestFileSystems() override;
117 virtual void AddFileSystem() OVERRIDE; 117 virtual void AddFileSystem() override;
118 virtual void RemoveFileSystem(const std::string& file_system_path) OVERRIDE; 118 virtual void RemoveFileSystem(const std::string& file_system_path) override;
119 virtual void UpgradeDraggedFileSystemPermissions( 119 virtual void UpgradeDraggedFileSystemPermissions(
120 const std::string& file_system_url) OVERRIDE; 120 const std::string& file_system_url) override;
121 virtual void IndexPath(int request_id, 121 virtual void IndexPath(int request_id,
122 const std::string& file_system_path) OVERRIDE; 122 const std::string& file_system_path) override;
123 virtual void StopIndexing(int request_id) OVERRIDE; 123 virtual void StopIndexing(int request_id) override;
124 virtual void SearchInPath(int request_id, 124 virtual void SearchInPath(int request_id,
125 const std::string& file_system_path, 125 const std::string& file_system_path,
126 const std::string& query) OVERRIDE; 126 const std::string& query) override;
127 virtual void SetWhitelistedShortcuts(const std::string& message) OVERRIDE; 127 virtual void SetWhitelistedShortcuts(const std::string& message) override;
128 virtual void ZoomIn() OVERRIDE; 128 virtual void ZoomIn() override;
129 virtual void ZoomOut() OVERRIDE; 129 virtual void ZoomOut() override;
130 virtual void ResetZoom() OVERRIDE; 130 virtual void ResetZoom() override;
131 virtual void OpenUrlOnRemoteDeviceAndInspect(const std::string& browser_id, 131 virtual void OpenUrlOnRemoteDeviceAndInspect(const std::string& browser_id,
132 const std::string& url) OVERRIDE; 132 const std::string& url) override;
133 virtual void SetDeviceCountUpdatesEnabled(bool enabled) OVERRIDE; 133 virtual void SetDeviceCountUpdatesEnabled(bool enabled) override;
134 virtual void SetDevicesUpdatesEnabled(bool enabled) OVERRIDE; 134 virtual void SetDevicesUpdatesEnabled(bool enabled) override;
135 virtual void SendMessageToBrowser(const std::string& message) OVERRIDE; 135 virtual void SendMessageToBrowser(const std::string& message) override;
136 136
137 void EnableRemoteDeviceCounter(bool enable); 137 void EnableRemoteDeviceCounter(bool enable);
138 138
139 // DevToolsAndroidBridge::DeviceCountListener override: 139 // DevToolsAndroidBridge::DeviceCountListener override:
140 virtual void DeviceCountChanged(int count) OVERRIDE; 140 virtual void DeviceCountChanged(int count) override;
141 141
142 // Forwards discovered devices to frontend. 142 // Forwards discovered devices to frontend.
143 virtual void DevicesUpdated(const std::string& source, 143 virtual void DevicesUpdated(const std::string& source,
144 const base::ListValue& targets); 144 const base::ListValue& targets);
145 145
146 void DocumentOnLoadCompletedInMainFrame(); 146 void DocumentOnLoadCompletedInMainFrame();
147 void DidNavigateMainFrame(); 147 void DidNavigateMainFrame();
148 void FrontendLoaded(); 148 void FrontendLoaded();
149 149
150 // DevToolsFileHelper callbacks. 150 // DevToolsFileHelper callbacks.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 bool frontend_loaded_; 195 bool frontend_loaded_;
196 scoped_ptr<DevToolsTargetsUIHandler> remote_targets_handler_; 196 scoped_ptr<DevToolsTargetsUIHandler> remote_targets_handler_;
197 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; 197 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_;
198 GURL url_; 198 GURL url_;
199 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_; 199 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_;
200 200
201 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings); 201 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings);
202 }; 202 };
203 203
204 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ 204 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_targets_ui.cc ('k') | chrome/browser/devtools/devtools_ui_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698