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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

Issue 2756893002: Add Keyboard Latency UMA Metrics. (Closed)
Patch Set: Fix test issue Created 3 years, 8 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 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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 return false; 452 return false;
453 453
454 return host_->delegate()->HasMouseLock(host_); 454 return host_->delegate()->HasMouseLock(host_);
455 } 455 }
456 456
457 cc::FrameSinkId RenderWidgetHostViewChildFrame::GetFrameSinkId() { 457 cc::FrameSinkId RenderWidgetHostViewChildFrame::GetFrameSinkId() {
458 return frame_sink_id_; 458 return frame_sink_id_;
459 } 459 }
460 460
461 void RenderWidgetHostViewChildFrame::ProcessKeyboardEvent( 461 void RenderWidgetHostViewChildFrame::ProcessKeyboardEvent(
462 const NativeWebKeyboardEvent& event) { 462 const NativeWebKeyboardEvent& event,
463 host_->ForwardKeyboardEvent(event); 463 const ui::LatencyInfo& latency) {
464 host_->ForwardKeyboardEventWithLatencyInfo(event, latency);
464 } 465 }
465 466
466 void RenderWidgetHostViewChildFrame::ProcessMouseEvent( 467 void RenderWidgetHostViewChildFrame::ProcessMouseEvent(
467 const blink::WebMouseEvent& event, 468 const blink::WebMouseEvent& event,
468 const ui::LatencyInfo& latency) { 469 const ui::LatencyInfo& latency) {
469 host_->ForwardMouseEventWithLatencyInfo(event, latency); 470 host_->ForwardMouseEventWithLatencyInfo(event, latency);
470 } 471 }
471 472
472 void RenderWidgetHostViewChildFrame::ProcessMouseWheelEvent( 473 void RenderWidgetHostViewChildFrame::ProcessMouseWheelEvent(
473 const blink::WebMouseWheelEvent& event, 474 const blink::WebMouseWheelEvent& event,
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 frame_sink_id_); 696 frame_sink_id_);
696 } 697 }
697 support_.reset(); 698 support_.reset();
698 } 699 }
699 700
700 bool RenderWidgetHostViewChildFrame::HasEmbedderChanged() { 701 bool RenderWidgetHostViewChildFrame::HasEmbedderChanged() {
701 return false; 702 return false;
702 } 703 }
703 704
704 } // namespace content 705 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698