Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Side by Side Diff: content/shell/shell_devtools_delegate.h

Issue 12472004: Provide DevToolsHttpHandlerDelegate with an ability to provide additional page info (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Hopefully, cover all delegate implementations Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_SHELL_SHELL_DEVTOOLS_DELEGATE_H_ 5 #ifndef CONTENT_SHELL_SHELL_DEVTOOLS_DELEGATE_H_
6 #define CONTENT_SHELL_SHELL_DEVTOOLS_DELEGATE_H_ 6 #define CONTENT_SHELL_SHELL_DEVTOOLS_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 13 matching lines...) Expand all
24 // Stops http server. 24 // Stops http server.
25 void Stop(); 25 void Stop();
26 26
27 // DevToolsHttpProtocolHandler::Delegate overrides. 27 // DevToolsHttpProtocolHandler::Delegate overrides.
28 virtual std::string GetDiscoveryPageHTML() OVERRIDE; 28 virtual std::string GetDiscoveryPageHTML() OVERRIDE;
29 virtual bool BundlesFrontendResources() OVERRIDE; 29 virtual bool BundlesFrontendResources() OVERRIDE;
30 virtual base::FilePath GetDebugFrontendDir() OVERRIDE; 30 virtual base::FilePath GetDebugFrontendDir() OVERRIDE;
31 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE; 31 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE;
32 virtual RenderViewHost* CreateNewTarget() OVERRIDE; 32 virtual RenderViewHost* CreateNewTarget() OVERRIDE;
33 virtual TargetType GetTargetType(RenderViewHost*) OVERRIDE; 33 virtual TargetType GetTargetType(RenderViewHost*) OVERRIDE;
34 virtual std::string GetViewDescription(content::RenderViewHost*) OVERRIDE;
34 35
35 DevToolsHttpHandler* devtools_http_handler() { 36 DevToolsHttpHandler* devtools_http_handler() {
36 return devtools_http_handler_; 37 return devtools_http_handler_;
37 } 38 }
38 39
39 private: 40 private:
40 BrowserContext* browser_context_; 41 BrowserContext* browser_context_;
41 DevToolsHttpHandler* devtools_http_handler_; 42 DevToolsHttpHandler* devtools_http_handler_;
42 43
43 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsDelegate); 44 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsDelegate);
44 }; 45 };
45 46
46 } // namespace content 47 } // namespace content
47 48
48 #endif // CONTENT_SHELL_SHELL_DEVTOOLS_DELEGATE_H_ 49 #endif // CONTENT_SHELL_SHELL_DEVTOOLS_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/browser/devtools_http_handler_delegate.h ('k') | content/shell/shell_devtools_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698