OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 virtual void SetDockSide(const std::string& side) OVERRIDE; | 203 virtual void SetDockSide(const std::string& side) OVERRIDE; |
204 virtual void OpenInNewTab(const std::string& url) OVERRIDE; | 204 virtual void OpenInNewTab(const std::string& url) OVERRIDE; |
205 virtual void SaveToFile(const std::string& url, | 205 virtual void SaveToFile(const std::string& url, |
206 const std::string& content, | 206 const std::string& content, |
207 bool save_as) OVERRIDE; | 207 bool save_as) OVERRIDE; |
208 virtual void AppendToFile(const std::string& url, | 208 virtual void AppendToFile(const std::string& url, |
209 const std::string& content) OVERRIDE; | 209 const std::string& content) OVERRIDE; |
210 virtual void RequestFileSystems() OVERRIDE; | 210 virtual void RequestFileSystems() OVERRIDE; |
211 virtual void AddFileSystem() OVERRIDE; | 211 virtual void AddFileSystem() OVERRIDE; |
212 virtual void RemoveFileSystem(const std::string& file_system_path) OVERRIDE; | 212 virtual void RemoveFileSystem(const std::string& file_system_path) OVERRIDE; |
| 213 virtual void UpgradeDraggedFileSystemPermissions( |
| 214 const std::string& file_system_url) OVERRIDE; |
213 virtual void IndexPath(int request_id, | 215 virtual void IndexPath(int request_id, |
214 const std::string& file_system_path) OVERRIDE; | 216 const std::string& file_system_path) OVERRIDE; |
215 virtual void StopIndexing(int request_id) OVERRIDE; | 217 virtual void StopIndexing(int request_id) OVERRIDE; |
216 virtual void SearchInPath(int request_id, | 218 virtual void SearchInPath(int request_id, |
217 const std::string& file_system_path, | 219 const std::string& file_system_path, |
218 const std::string& query) OVERRIDE; | 220 const std::string& query) OVERRIDE; |
219 | 221 |
220 // DevToolsFileHelper callbacks. | 222 // DevToolsFileHelper callbacks. |
221 void FileSavedAs(const std::string& url); | 223 void FileSavedAs(const std::string& url); |
222 void AppendedTo(const std::string& url); | 224 void AppendedTo(const std::string& url); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 int width_; | 281 int width_; |
280 int height_; | 282 int height_; |
281 DevToolsDockSide dock_side_before_minimized_; | 283 DevToolsDockSide dock_side_before_minimized_; |
282 | 284 |
283 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; | 285 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; |
284 base::WeakPtrFactory<DevToolsWindow> weak_factory_; | 286 base::WeakPtrFactory<DevToolsWindow> weak_factory_; |
285 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 287 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
286 }; | 288 }; |
287 | 289 |
288 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 290 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
OLD | NEW |