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

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

Issue 2756893002: Add Keyboard Latency UMA Metrics. (Closed)
Patch Set: Restrict to RawKeyDown and Char events on Android & Mac Created 3 years, 7 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 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 void OnSurfaceChanged(const cc::SurfaceInfo& surface_info) override; 116 void OnSurfaceChanged(const cc::SurfaceInfo& surface_info) override;
117 // Since the URL of content rendered by this class is not displayed in 117 // Since the URL of content rendered by this class is not displayed in
118 // the URL bar, this method does not need an implementation. 118 // the URL bar, this method does not need an implementation.
119 void ClearCompositorFrame() override {} 119 void ClearCompositorFrame() override {}
120 gfx::Rect GetBoundsInRootWindow() override; 120 gfx::Rect GetBoundsInRootWindow() override;
121 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 121 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
122 InputEventAckState ack_result) override; 122 InputEventAckState ack_result) override;
123 bool LockMouse() override; 123 bool LockMouse() override;
124 void UnlockMouse() override; 124 void UnlockMouse() override;
125 cc::FrameSinkId GetFrameSinkId() override; 125 cc::FrameSinkId GetFrameSinkId() override;
126 void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event) override; 126 void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event,
127 const ui::LatencyInfo& latency) override;
127 void ProcessMouseEvent(const blink::WebMouseEvent& event, 128 void ProcessMouseEvent(const blink::WebMouseEvent& event,
128 const ui::LatencyInfo& latency) override; 129 const ui::LatencyInfo& latency) override;
129 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event, 130 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event,
130 const ui::LatencyInfo& latency) override; 131 const ui::LatencyInfo& latency) override;
131 void ProcessTouchEvent(const blink::WebTouchEvent& event, 132 void ProcessTouchEvent(const blink::WebTouchEvent& event,
132 const ui::LatencyInfo& latency) override; 133 const ui::LatencyInfo& latency) override;
133 void ProcessGestureEvent(const blink::WebGestureEvent& event, 134 void ProcessGestureEvent(const blink::WebGestureEvent& event,
134 const ui::LatencyInfo& latency) override; 135 const ui::LatencyInfo& latency) override;
135 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; 136 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override;
136 bool TransformPointToLocalCoordSpace(const gfx::Point& point, 137 bool TransformPointToLocalCoordSpace(const gfx::Point& point,
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 // The background color of the widget. 266 // The background color of the widget.
266 SkColor background_color_; 267 SkColor background_color_;
267 268
268 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; 269 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_;
269 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 270 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
270 }; 271 };
271 272
272 } // namespace content 273 } // namespace content
273 274
274 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 275 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/find_bar_host.cc ('k') | content/browser/frame_host/render_widget_host_view_child_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698