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/browser/frame_host/render_widget_host_view_child_frame.h" | 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 return false; | 468 return false; |
469 | 469 |
470 return host_->delegate()->HasMouseLock(host_); | 470 return host_->delegate()->HasMouseLock(host_); |
471 } | 471 } |
472 | 472 |
473 cc::FrameSinkId RenderWidgetHostViewChildFrame::GetFrameSinkId() { | 473 cc::FrameSinkId RenderWidgetHostViewChildFrame::GetFrameSinkId() { |
474 return frame_sink_id_; | 474 return frame_sink_id_; |
475 } | 475 } |
476 | 476 |
477 void RenderWidgetHostViewChildFrame::ProcessKeyboardEvent( | 477 void RenderWidgetHostViewChildFrame::ProcessKeyboardEvent( |
478 const NativeWebKeyboardEvent& event) { | 478 const NativeWebKeyboardEvent& event, |
479 host_->ForwardKeyboardEvent(event); | 479 const ui::LatencyInfo& latency) { |
| 480 host_->ForwardKeyboardEventWithLatencyInfo(event, latency); |
480 } | 481 } |
481 | 482 |
482 void RenderWidgetHostViewChildFrame::ProcessMouseEvent( | 483 void RenderWidgetHostViewChildFrame::ProcessMouseEvent( |
483 const blink::WebMouseEvent& event, | 484 const blink::WebMouseEvent& event, |
484 const ui::LatencyInfo& latency) { | 485 const ui::LatencyInfo& latency) { |
485 host_->ForwardMouseEventWithLatencyInfo(event, latency); | 486 host_->ForwardMouseEventWithLatencyInfo(event, latency); |
486 } | 487 } |
487 | 488 |
488 void RenderWidgetHostViewChildFrame::ProcessMouseWheelEvent( | 489 void RenderWidgetHostViewChildFrame::ProcessMouseWheelEvent( |
489 const blink::WebMouseWheelEvent& event, | 490 const blink::WebMouseWheelEvent& event, |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 frame_sink_id_); | 716 frame_sink_id_); |
716 } | 717 } |
717 support_.reset(); | 718 support_.reset(); |
718 } | 719 } |
719 | 720 |
720 bool RenderWidgetHostViewChildFrame::HasEmbedderChanged() { | 721 bool RenderWidgetHostViewChildFrame::HasEmbedderChanged() { |
721 return false; | 722 return false; |
722 } | 723 } |
723 | 724 |
724 } // namespace content | 725 } // namespace content |
OLD | NEW |