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

Side by Side Diff: content/renderer/render_frame_impl.cc

Issue 2591803002: NOT FOR LANDING: Thread the needle through all webmodules.
Patch Set: Needle threaded all the way. Created 3 years, 12 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
OLDNEW
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 #include "content/renderer/render_frame_impl.h" 5 #include "content/renderer/render_frame_impl.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 // DevToolsAgent is a RenderFrameObserver, and will destruct itself 1254 // DevToolsAgent is a RenderFrameObserver, and will destruct itself
1255 // when |this| is deleted. 1255 // when |this| is deleted.
1256 devtools_agent_ = new DevToolsAgent(this); 1256 devtools_agent_ = new DevToolsAgent(this);
1257 } 1257 }
1258 1258
1259 RegisterMojoInterfaces(); 1259 RegisterMojoInterfaces();
1260 1260
1261 // We delay calling this until we have the WebFrame so that any observer or 1261 // We delay calling this until we have the WebFrame so that any observer or
1262 // embedder can call GetWebFrame on any RenderFrame. 1262 // embedder can call GetWebFrame on any RenderFrame.
1263 GetContentClient()->renderer()->RenderFrameCreated(this); 1263 GetContentClient()->renderer()->RenderFrameCreated(this);
1264 frame_->startAgents();
1264 1265
1265 #if defined(OS_ANDROID) 1266 #if defined(OS_ANDROID)
1266 new AppWebMessagePortClient(this); 1267 new AppWebMessagePortClient(this);
1267 #endif 1268 #endif
1268 1269
1269 RenderThreadImpl* render_thread = RenderThreadImpl::current(); 1270 RenderThreadImpl* render_thread = RenderThreadImpl::current();
1270 // render_thread may be NULL in tests. 1271 // render_thread may be NULL in tests.
1271 InputHandlerManager* input_handler_manager = 1272 InputHandlerManager* input_handler_manager =
1272 render_thread ? render_thread->input_handler_manager() : nullptr; 1273 render_thread ? render_thread->input_handler_manager() : nullptr;
1273 if (input_handler_manager) { 1274 if (input_handler_manager) {
(...skipping 5418 matching lines...) Expand 10 before | Expand all | Expand 10 after
6692 // event target. Potentially a Pepper plugin will receive the event. 6693 // event target. Potentially a Pepper plugin will receive the event.
6693 // In order to tell whether a plugin gets the last mouse event and which it 6694 // In order to tell whether a plugin gets the last mouse event and which it
6694 // is, we set |pepper_last_mouse_event_target_| to null here. If a plugin gets 6695 // is, we set |pepper_last_mouse_event_target_| to null here. If a plugin gets
6695 // the event, it will notify us via DidReceiveMouseEvent() and set itself as 6696 // the event, it will notify us via DidReceiveMouseEvent() and set itself as
6696 // |pepper_last_mouse_event_target_|. 6697 // |pepper_last_mouse_event_target_|.
6697 pepper_last_mouse_event_target_ = nullptr; 6698 pepper_last_mouse_event_target_ = nullptr;
6698 #endif 6699 #endif
6699 } 6700 }
6700 6701
6701 } // namespace content 6702 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/BUILD.gn » ('j') | third_party/WebKit/Source/web/api/frame.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698