| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_EMBEDDER_MESSAGE_DISPATCHER_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_EMBEDDER_MESSAGE_DISPATCHER_H_ |
| 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_EMBEDDER_MESSAGE_DISPATCHER_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_EMBEDDER_MESSAGE_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 virtual void AddFileSystem(int request_id) = 0; | 50 virtual void AddFileSystem(int request_id) = 0; |
| 51 virtual void RemoveFileSystem(int request_id, | 51 virtual void RemoveFileSystem(int request_id, |
| 52 const std::string& file_system_path) = 0; | 52 const std::string& file_system_path) = 0; |
| 53 virtual void UpgradeDraggedFileSystemPermissions( | 53 virtual void UpgradeDraggedFileSystemPermissions( |
| 54 int request_id, | 54 int request_id, |
| 55 const std::string& file_system_url) = 0; | 55 const std::string& file_system_url) = 0; |
| 56 virtual void IndexPath(int request_id, | 56 virtual void IndexPath(int request_id, |
| 57 int index_request_id, | 57 int index_request_id, |
| 58 const std::string& file_system_path) = 0; | 58 const std::string& file_system_path) = 0; |
| 59 virtual void StopIndexing(int request_id, int index_request_id) = 0; | 59 virtual void StopIndexing(int request_id, int index_request_id) = 0; |
| 60 virtual void LoadNetworkResource(int request_id, |
| 61 const std::string& url, |
| 62 const std::string& headers); |
| 60 virtual void SearchInPath(int request_id, | 63 virtual void SearchInPath(int request_id, |
| 61 int search_request_id, | 64 int search_request_id, |
| 62 const std::string& file_system_path, | 65 const std::string& file_system_path, |
| 63 const std::string& query) = 0; | 66 const std::string& query) = 0; |
| 64 virtual void SetWhitelistedShortcuts(int request_id, | 67 virtual void SetWhitelistedShortcuts(int request_id, |
| 65 const std::string& message) = 0; | 68 const std::string& message) = 0; |
| 66 virtual void ZoomIn(int request_id) = 0; | 69 virtual void ZoomIn(int request_id) = 0; |
| 67 virtual void ZoomOut(int request_id) = 0; | 70 virtual void ZoomOut(int request_id) = 0; |
| 68 virtual void ResetZoom(int request_id) = 0; | 71 virtual void ResetZoom(int request_id) = 0; |
| 69 virtual void OpenUrlOnRemoteDeviceAndInspect(int request_id, | 72 virtual void OpenUrlOnRemoteDeviceAndInspect(int request_id, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 81 virtual ~DevToolsEmbedderMessageDispatcher() {} | 84 virtual ~DevToolsEmbedderMessageDispatcher() {} |
| 82 virtual bool Dispatch(int request_id, | 85 virtual bool Dispatch(int request_id, |
| 83 const std::string& method, | 86 const std::string& method, |
| 84 const base::ListValue* params) = 0; | 87 const base::ListValue* params) = 0; |
| 85 | 88 |
| 86 static DevToolsEmbedderMessageDispatcher* CreateForDevToolsFrontend( | 89 static DevToolsEmbedderMessageDispatcher* CreateForDevToolsFrontend( |
| 87 Delegate* delegate); | 90 Delegate* delegate); |
| 88 }; | 91 }; |
| 89 | 92 |
| 90 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_EMBEDDER_MESSAGE_DISPATCHER_H_ | 93 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_EMBEDDER_MESSAGE_DISPATCHER_H_ |
| OLD | NEW |