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

Side by Side Diff: content/browser/debugger/devtools_http_handler_impl.h

Issue 10985041: DevTools: request page thumbnails from the devtools handler delegate, do not redirect to chrome://t… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Android delegate updated. Created 8 years, 2 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_BROWSER_DEBUGGER_DEVTOOLS_HTTP_HANDLER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HTTP_HANDLER_IMPL_H_
6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HTTP_HANDLER_IMPL_H_ 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HTTP_HANDLER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const net::HttpServerRequestInfo& info) OVERRIDE; 60 const net::HttpServerRequestInfo& info) OVERRIDE;
61 virtual void OnWebSocketRequest( 61 virtual void OnWebSocketRequest(
62 int connection_id, 62 int connection_id,
63 const net::HttpServerRequestInfo& info) OVERRIDE; 63 const net::HttpServerRequestInfo& info) OVERRIDE;
64 virtual void OnWebSocketMessage(int connection_id, 64 virtual void OnWebSocketMessage(int connection_id,
65 const std::string& data) OVERRIDE; 65 const std::string& data) OVERRIDE;
66 virtual void OnClose(int connection_id) OVERRIDE; 66 virtual void OnClose(int connection_id) OVERRIDE;
67 67
68 void OnJsonRequestUI(int connection_id, 68 void OnJsonRequestUI(int connection_id,
69 const net::HttpServerRequestInfo& info); 69 const net::HttpServerRequestInfo& info);
70 void OnThumbnailRequestUI(int connection_id,
71 const net::HttpServerRequestInfo& info);
70 void OnWebSocketRequestUI(int connection_id, 72 void OnWebSocketRequestUI(int connection_id,
71 const net::HttpServerRequestInfo& info); 73 const net::HttpServerRequestInfo& info);
72 void OnWebSocketMessageUI(int connection_id, const std::string& data); 74 void OnWebSocketMessageUI(int connection_id, const std::string& data);
73 void OnCloseUI(int connection_id); 75 void OnCloseUI(int connection_id);
74 76
75 // net::URLRequest::Delegate implementation. 77 // net::URLRequest::Delegate implementation.
76 virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; 78 virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE;
77 virtual void OnReadCompleted(net::URLRequest* request, 79 virtual void OnReadCompleted(net::URLRequest* request,
78 int bytes_read) OVERRIDE; 80 int bytes_read) OVERRIDE;
79 81
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 net::URLRequestContextGetter* request_context_getter_; 117 net::URLRequestContextGetter* request_context_getter_;
116 scoped_ptr<DevToolsHttpHandlerDelegate> delegate_; 118 scoped_ptr<DevToolsHttpHandlerDelegate> delegate_;
117 RenderViewHostBinding* binding_; 119 RenderViewHostBinding* binding_;
118 scoped_ptr<RenderViewHostBinding> default_binding_; 120 scoped_ptr<RenderViewHostBinding> default_binding_;
119 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpHandlerImpl); 121 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpHandlerImpl);
120 }; 122 };
121 123
122 } // namespace content 124 } // namespace content
123 125
124 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HTTP_HANDLER_IMPL_H_ 126 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_HTTP_HANDLER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/debugger/browser_list_tabcontents_provider.cc ('k') | content/browser/debugger/devtools_http_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698