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 ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DELEGATE_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DELEGATE_H_ |
6 #define ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DELEGATE_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DELEGATE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 // Stops http server. | 26 // Stops http server. |
27 void Stop(); | 27 void Stop(); |
28 | 28 |
29 // DevToolsHttpProtocolHandler::Delegate overrides. | 29 // DevToolsHttpProtocolHandler::Delegate overrides. |
30 virtual std::string GetDiscoveryPageHTML() OVERRIDE; | 30 virtual std::string GetDiscoveryPageHTML() OVERRIDE; |
31 virtual bool BundlesFrontendResources() OVERRIDE; | 31 virtual bool BundlesFrontendResources() OVERRIDE; |
32 virtual base::FilePath GetDebugFrontendDir() OVERRIDE; | 32 virtual base::FilePath GetDebugFrontendDir() OVERRIDE; |
33 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE; | 33 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE; |
34 virtual content::RenderViewHost* CreateNewTarget() OVERRIDE; | 34 virtual content::RenderViewHost* CreateNewTarget() OVERRIDE; |
35 virtual TargetType GetTargetType(content::RenderViewHost*) OVERRIDE; | 35 virtual TargetType GetTargetType(content::RenderViewHost*) OVERRIDE; |
| 36 virtual std::string GetViewDescription(content::RenderViewHost*) OVERRIDE; |
36 | 37 |
37 content::DevToolsHttpHandler* devtools_http_handler() { | 38 content::DevToolsHttpHandler* devtools_http_handler() { |
38 return devtools_http_handler_; | 39 return devtools_http_handler_; |
39 } | 40 } |
40 | 41 |
41 private: | 42 private: |
42 content::BrowserContext* browser_context_; | 43 content::BrowserContext* browser_context_; |
43 content::DevToolsHttpHandler* devtools_http_handler_; | 44 content::DevToolsHttpHandler* devtools_http_handler_; |
44 | 45 |
45 DISALLOW_COPY_AND_ASSIGN(AwDevToolsDelegate); | 46 DISALLOW_COPY_AND_ASSIGN(AwDevToolsDelegate); |
46 }; | 47 }; |
47 | 48 |
48 } // namespace android_webview | 49 } // namespace android_webview |
49 | 50 |
50 #endif // ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DELEGATE_H_ | 51 #endif // ANDROID_WEBVIEW_BROWSER_AW_DEV_TOOLS_DELEGATE_H_ |
OLD | NEW |