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

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

Issue 2383853003: Move FrameMsg_NewFrame/NewFrameProxy to mojom (Closed)
Patch Set: Move FrameMsg_NewFrame/NewFrameProxy to mojom Created 4 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
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | content/renderer/render_frame_impl_browsertest.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 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 893 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 904
905 // static 905 // static
906 void RenderFrameImpl::CreateFrame( 906 void RenderFrameImpl::CreateFrame(
907 int routing_id, 907 int routing_id,
908 int proxy_routing_id, 908 int proxy_routing_id,
909 int opener_routing_id, 909 int opener_routing_id,
910 int parent_routing_id, 910 int parent_routing_id,
911 int previous_sibling_routing_id, 911 int previous_sibling_routing_id,
912 const FrameReplicationState& replicated_state, 912 const FrameReplicationState& replicated_state,
913 CompositorDependencies* compositor_deps, 913 CompositorDependencies* compositor_deps,
914 const FrameMsg_NewFrame_WidgetParams& widget_params, 914 const mojom::CreateFrameWidgetParams& widget_params,
915 const FrameOwnerProperties& frame_owner_properties) { 915 const FrameOwnerProperties& frame_owner_properties) {
916 blink::WebLocalFrame* web_frame; 916 blink::WebLocalFrame* web_frame;
917 RenderFrameImpl* render_frame; 917 RenderFrameImpl* render_frame;
918 if (proxy_routing_id == MSG_ROUTING_NONE) { 918 if (proxy_routing_id == MSG_ROUTING_NONE) {
919 RenderFrameProxy* parent_proxy = 919 RenderFrameProxy* parent_proxy =
920 RenderFrameProxy::FromRoutingID(parent_routing_id); 920 RenderFrameProxy::FromRoutingID(parent_routing_id);
921 // If the browser is sending a valid parent routing id, it should already 921 // If the browser is sending a valid parent routing id, it should already
922 // be created and registered. 922 // be created and registered.
923 CHECK(parent_proxy); 923 CHECK(parent_proxy);
924 blink::WebRemoteFrame* parent_web_frame = parent_proxy->web_frame(); 924 blink::WebRemoteFrame* parent_web_frame = parent_proxy->web_frame();
(...skipping 5505 matching lines...) Expand 10 before | Expand all | Expand 10 after
6430 // event target. Potentially a Pepper plugin will receive the event. 6430 // event target. Potentially a Pepper plugin will receive the event.
6431 // In order to tell whether a plugin gets the last mouse event and which it 6431 // In order to tell whether a plugin gets the last mouse event and which it
6432 // is, we set |pepper_last_mouse_event_target_| to null here. If a plugin gets 6432 // is, we set |pepper_last_mouse_event_target_| to null here. If a plugin gets
6433 // the event, it will notify us via DidReceiveMouseEvent() and set itself as 6433 // the event, it will notify us via DidReceiveMouseEvent() and set itself as
6434 // |pepper_last_mouse_event_target_|. 6434 // |pepper_last_mouse_event_target_|.
6435 pepper_last_mouse_event_target_ = nullptr; 6435 pepper_last_mouse_event_target_ = nullptr;
6436 #endif 6436 #endif
6437 } 6437 }
6438 6438
6439 } // namespace content 6439 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | content/renderer/render_frame_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698