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

Side by Side Diff: chrome/renderer/devtools_agent.cc

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « chrome/renderer/devtools_agent.h ('k') | chrome/renderer/devtools_agent_filter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "chrome/renderer/devtools_agent.h" 5 #include "chrome/renderer/devtools_agent.h"
6 6
7 #include "chrome/common/devtools_messages.h" 7 #include "chrome/common/devtools_messages.h"
8 #include "chrome/common/render_messages.h" 8 #include "chrome/common/render_messages.h"
9 #include "chrome/renderer/render_view.h" 9 #include "chrome/renderer/render_view.h"
10 #include "webkit/api/public/WebDevToolsAgent.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebDevToolsAgent.h"
11 #include "webkit/api/public/WebPoint.h" 11 #include "third_party/WebKit/WebKit/chromium/public/WebPoint.h"
12 #include "webkit/api/public/WebString.h" 12 #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
13 #include "webkit/glue/glue_util.h" 13 #include "webkit/glue/glue_util.h"
14 14
15 using WebKit::WebDevToolsAgent; 15 using WebKit::WebDevToolsAgent;
16 using WebKit::WebPoint; 16 using WebKit::WebPoint;
17 using WebKit::WebString; 17 using WebKit::WebString;
18 using WebKit::WebView; 18 using WebKit::WebView;
19 19
20 // static 20 // static
21 std::map<int, DevToolsAgent*> DevToolsAgent::agent_for_routing_id_; 21 std::map<int, DevToolsAgent*> DevToolsAgent::agent_for_routing_id_;
22 22
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 enabled); 144 enabled);
145 } 145 }
146 } 146 }
147 147
148 WebDevToolsAgent* DevToolsAgent::GetWebAgent() { 148 WebDevToolsAgent* DevToolsAgent::GetWebAgent() {
149 WebView* web_view = render_view_->webview(); 149 WebView* web_view = render_view_->webview();
150 if (!web_view) 150 if (!web_view)
151 return NULL; 151 return NULL;
152 return web_view->devToolsAgent(); 152 return web_view->devToolsAgent();
153 } 153 }
OLDNEW
« no previous file with comments | « chrome/renderer/devtools_agent.h ('k') | chrome/renderer/devtools_agent_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698