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

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

Issue 25022003: Report LatencyInfo through trace buffer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix compile error Created 7 years, 2 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 <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 virtual bool OnSendTouchEventImmediately( 743 virtual bool OnSendTouchEventImmediately(
744 const TouchEventWithLatencyInfo& touch_event) OVERRIDE; 744 const TouchEventWithLatencyInfo& touch_event) OVERRIDE;
745 virtual bool OnSendGestureEventImmediately( 745 virtual bool OnSendGestureEventImmediately(
746 const GestureEventWithLatencyInfo& gesture_event) OVERRIDE; 746 const GestureEventWithLatencyInfo& gesture_event) OVERRIDE;
747 virtual void SetNeedsFlush() OVERRIDE; 747 virtual void SetNeedsFlush() OVERRIDE;
748 virtual void DidFlush() OVERRIDE; 748 virtual void DidFlush() OVERRIDE;
749 749
750 // InputAckHandler 750 // InputAckHandler
751 virtual void OnKeyboardEventAck(const NativeWebKeyboardEvent& event, 751 virtual void OnKeyboardEventAck(const NativeWebKeyboardEvent& event,
752 InputEventAckState ack_result) OVERRIDE; 752 InputEventAckState ack_result) OVERRIDE;
753 virtual void OnWheelEventAck(const WebKit::WebMouseWheelEvent& event, 753 virtual void OnWheelEventAck(const MouseWheelEventWithLatencyInfo& event,
754 InputEventAckState ack_result) OVERRIDE; 754 InputEventAckState ack_result) OVERRIDE;
755 virtual void OnTouchEventAck(const TouchEventWithLatencyInfo& event, 755 virtual void OnTouchEventAck(const TouchEventWithLatencyInfo& event,
756 InputEventAckState ack_result) OVERRIDE; 756 InputEventAckState ack_result) OVERRIDE;
757 virtual void OnGestureEventAck(const WebKit::WebGestureEvent& event, 757 virtual void OnGestureEventAck(const GestureEventWithLatencyInfo& event,
758 InputEventAckState ack_result) OVERRIDE; 758 InputEventAckState ack_result) OVERRIDE;
759 virtual void OnUnexpectedEventAck(UnexpectedEventAckType type) OVERRIDE; 759 virtual void OnUnexpectedEventAck(UnexpectedEventAckType type) OVERRIDE;
760 760
761 void SimulateTouchGestureWithMouse(const WebKit::WebMouseEvent& mouse_event); 761 void SimulateTouchGestureWithMouse(const WebKit::WebMouseEvent& mouse_event);
762 762
763 // Called when there is a new auto resize (using a post to avoid a stack 763 // Called when there is a new auto resize (using a post to avoid a stack
764 // which may get in recursive loops). 764 // which may get in recursive loops).
765 void DelayedAutoResized(); 765 void DelayedAutoResized();
766 766
767 // Our delegate, which wants to know mainly about keyboard events. 767 // Our delegate, which wants to know mainly about keyboard events.
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 int64 last_input_number_; 937 int64 last_input_number_;
938 938
939 BrowserRenderingStats rendering_stats_; 939 BrowserRenderingStats rendering_stats_;
940 940
941 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 941 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
942 }; 942 };
943 943
944 } // namespace content 944 } // namespace content
945 945
946 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 946 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/touch_event_queue.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698