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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 virtual void AddFileSystem() OVERRIDE; | 319 virtual void AddFileSystem() OVERRIDE; |
320 virtual void RemoveFileSystem(const std::string& file_system_path) OVERRIDE; | 320 virtual void RemoveFileSystem(const std::string& file_system_path) OVERRIDE; |
321 virtual void UpgradeDraggedFileSystemPermissions( | 321 virtual void UpgradeDraggedFileSystemPermissions( |
322 const std::string& file_system_url) OVERRIDE; | 322 const std::string& file_system_url) OVERRIDE; |
323 virtual void IndexPath(int request_id, | 323 virtual void IndexPath(int request_id, |
324 const std::string& file_system_path) OVERRIDE; | 324 const std::string& file_system_path) OVERRIDE; |
325 virtual void StopIndexing(int request_id) OVERRIDE; | 325 virtual void StopIndexing(int request_id) OVERRIDE; |
326 virtual void SearchInPath(int request_id, | 326 virtual void SearchInPath(int request_id, |
327 const std::string& file_system_path, | 327 const std::string& file_system_path, |
328 const std::string& query) OVERRIDE; | 328 const std::string& query) OVERRIDE; |
| 329 virtual void ZoomIn() OVERRIDE; |
| 330 virtual void ZoomOut() OVERRIDE; |
| 331 virtual void ResetZoom() OVERRIDE; |
329 | 332 |
330 // DevToolsFileHelper callbacks. | 333 // DevToolsFileHelper callbacks. |
331 void FileSavedAs(const std::string& url); | 334 void FileSavedAs(const std::string& url); |
332 void CanceledFileSaveAs(const std::string& url); | 335 void CanceledFileSaveAs(const std::string& url); |
333 void AppendedTo(const std::string& url); | 336 void AppendedTo(const std::string& url); |
334 void FileSystemsLoaded( | 337 void FileSystemsLoaded( |
335 const std::vector<DevToolsFileHelper::FileSystem>& file_systems); | 338 const std::vector<DevToolsFileHelper::FileSystem>& file_systems); |
336 void FileSystemAdded(const DevToolsFileHelper::FileSystem& file_system); | 339 void FileSystemAdded(const DevToolsFileHelper::FileSystem& file_system); |
337 void IndexingTotalWorkCalculated(int request_id, | 340 void IndexingTotalWorkCalculated(int request_id, |
338 const std::string& file_system_path, | 341 const std::string& file_system_path, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 bool intercepted_page_beforeunload_; | 396 bool intercepted_page_beforeunload_; |
394 base::Closure load_completed_callback_; | 397 base::Closure load_completed_callback_; |
395 | 398 |
396 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; | 399 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; |
397 base::WeakPtrFactory<DevToolsWindow> weak_factory_; | 400 base::WeakPtrFactory<DevToolsWindow> weak_factory_; |
398 base::TimeTicks inspect_element_start_time_; | 401 base::TimeTicks inspect_element_start_time_; |
399 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 402 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
400 }; | 403 }; |
401 | 404 |
402 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 405 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
OLD | NEW |