OLD | NEW |
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 Loading... |
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 |
OLD | NEW |