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

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

Issue 647653002: Move forwardInputEvent from RenderFrame to RenderFrameProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove forward declare Created 6 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_proxy.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_proxy.h" 5 #include "content/renderer/render_frame_proxy.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "content/child/webmessageportchannel_impl.h" 10 #include "content/child/webmessageportchannel_impl.h"
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 GURL(request.httpHeaderField(blink::WebString::fromUTF8("Referer"))), 287 GURL(request.httpHeaderField(blink::WebString::fromUTF8("Referer"))),
288 request.referrerPolicy()); 288 request.referrerPolicy());
289 params.disposition = CURRENT_TAB; 289 params.disposition = CURRENT_TAB;
290 params.should_replace_current_entry = should_replace_current_entry; 290 params.should_replace_current_entry = should_replace_current_entry;
291 params.user_gesture = 291 params.user_gesture =
292 blink::WebUserGestureIndicator::isProcessingUserGesture(); 292 blink::WebUserGestureIndicator::isProcessingUserGesture();
293 blink::WebUserGestureIndicator::consumeUserGesture(); 293 blink::WebUserGestureIndicator::consumeUserGesture();
294 Send(new FrameHostMsg_OpenURL(routing_id_, params)); 294 Send(new FrameHostMsg_OpenURL(routing_id_, params));
295 } 295 }
296 296
297 void RenderFrameProxy::forwardInputEvent(const blink::WebInputEvent* event) {
298 Send(new FrameHostMsg_ForwardInputEvent(routing_id_, event));
299 }
300
297 } // namespace 301 } // namespace
OLDNEW
« no previous file with comments | « content/renderer/render_frame_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698