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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 2317253005: SourceEventType added to LatencyInfo (Closed)
Patch Set: Changed the patch to only contain source event type plumbing. Created 4 years, 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 // a page load. This stops |new_content_rendering_timeout_|, or prevents 309 // a page load. This stops |new_content_rendering_timeout_|, or prevents
310 // the timer from running if the load commit message hasn't been received 310 // the timer from running if the load commit message hasn't been received
311 // yet. 311 // yet.
312 void OnFirstPaintAfterLoad(); 312 void OnFirstPaintAfterLoad();
313 313
314 // Forwards the given message to the renderer. These are called by the view 314 // Forwards the given message to the renderer. These are called by the view
315 // when it has received a message. 315 // when it has received a message.
316 void ForwardGestureEventWithLatencyInfo( 316 void ForwardGestureEventWithLatencyInfo(
317 const blink::WebGestureEvent& gesture_event, 317 const blink::WebGestureEvent& gesture_event,
318 const ui::LatencyInfo& ui_latency) override; 318 const ui::LatencyInfo& ui_latency) override;
319 void ForwardTouchEventWithLatencyInfo( 319 virtual void ForwardTouchEventWithLatencyInfo(
320 const blink::WebTouchEvent& touch_event, 320 const blink::WebTouchEvent& touch_event,
321 const ui::LatencyInfo& ui_latency); 321 const ui::LatencyInfo& ui_latency); // Virtual for testing.
322 void ForwardMouseEventWithLatencyInfo( 322 void ForwardMouseEventWithLatencyInfo(
323 const blink::WebMouseEvent& mouse_event, 323 const blink::WebMouseEvent& mouse_event,
324 const ui::LatencyInfo& ui_latency); 324 const ui::LatencyInfo& ui_latency);
325 virtual void ForwardWheelEventWithLatencyInfo( 325 virtual void ForwardWheelEventWithLatencyInfo(
326 const blink::WebMouseWheelEvent& wheel_event, 326 const blink::WebMouseWheelEvent& wheel_event,
327 const ui::LatencyInfo& ui_latency); // Virtual for testing. 327 const ui::LatencyInfo& ui_latency); // Virtual for testing.
328 328
329 // Enables/disables touch emulation using mouse event. See TouchEmulator. 329 // Enables/disables touch emulation using mouse event. See TouchEmulator.
330 void SetTouchEventEmulationEnabled( 330 void SetTouchEventEmulationEnabled(
331 bool enabled, ui::GestureProviderConfigType config_type); 331 bool enabled, ui::GestureProviderConfigType config_type);
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 #endif 841 #endif
842 842
843 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 843 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
844 844
845 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 845 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
846 }; 846 };
847 847
848 } // namespace content 848 } // namespace content
849 849
850 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 850 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698