| 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 CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRONTEND_HOST_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRONTEND_HOST_H_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRONTEND_HOST_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRONTEND_HOST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 39 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 40 | 40 |
| 41 void OnDispatchOnInspectorBackend(const std::string& message); | 41 void OnDispatchOnInspectorBackend(const std::string& message); |
| 42 void OnActivateWindow(); | 42 void OnActivateWindow(); |
| 43 void OnCloseWindow(); | 43 void OnCloseWindow(); |
| 44 void OnMoveWindow(int x, int y); | 44 void OnMoveWindow(int x, int y); |
| 45 void OnRequestSetDockSide(const std::string& side); | 45 void OnRequestSetDockSide(const std::string& side); |
| 46 void OnOpenInNewTab(const std::string& url); | 46 void OnOpenInNewTab(const std::string& url); |
| 47 void OnSave(const std::string& url, const std::string& content, bool save_as); | 47 void OnSave(const std::string& url, const std::string& content, bool save_as); |
| 48 void OnAppend(const std::string& url, const std::string& content); | 48 void OnAppend(const std::string& url, const std::string& content); |
| 49 void OnRequestFileSystemPermissions(); |
| 50 void OnSelectFolderAndGrantFileSystemPermission(); |
| 51 void OnRevokeFileSystemPermission(const std::string& file_system_path); |
| 49 | 52 |
| 50 WebContentsImpl* web_contents_; | 53 WebContentsImpl* web_contents_; |
| 51 DevToolsFrontendHostDelegate* delegate_; | 54 DevToolsFrontendHostDelegate* delegate_; |
| 52 DISALLOW_COPY_AND_ASSIGN(DevToolsFrontendHost); | 55 DISALLOW_COPY_AND_ASSIGN(DevToolsFrontendHost); |
| 53 }; | 56 }; |
| 54 | 57 |
| 55 } // namespace content | 58 } // namespace content |
| 56 | 59 |
| 57 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRONTEND_HOST_H_ | 60 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRONTEND_HOST_H_ |
| OLD | NEW |