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

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

Issue 20356003: Provided batched input delivery with a BufferedInputRouter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: BufferedInputRouter unit tests Created 7 years, 4 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 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 const GestureEventWithLatencyInfo& gesture_event) OVERRIDE; 731 const GestureEventWithLatencyInfo& gesture_event) OVERRIDE;
732 virtual void OnKeyboardEventAck(const NativeWebKeyboardEvent& event, 732 virtual void OnKeyboardEventAck(const NativeWebKeyboardEvent& event,
733 InputEventAckState ack_result) OVERRIDE; 733 InputEventAckState ack_result) OVERRIDE;
734 virtual void OnWheelEventAck(const WebKit::WebMouseWheelEvent& event, 734 virtual void OnWheelEventAck(const WebKit::WebMouseWheelEvent& event,
735 InputEventAckState ack_result) OVERRIDE; 735 InputEventAckState ack_result) OVERRIDE;
736 virtual void OnTouchEventAck(const TouchEventWithLatencyInfo& event, 736 virtual void OnTouchEventAck(const TouchEventWithLatencyInfo& event,
737 InputEventAckState ack_result) OVERRIDE; 737 InputEventAckState ack_result) OVERRIDE;
738 virtual void OnGestureEventAck(const WebKit::WebGestureEvent& event, 738 virtual void OnGestureEventAck(const WebKit::WebGestureEvent& event,
739 InputEventAckState ack_result) OVERRIDE; 739 InputEventAckState ack_result) OVERRIDE;
740 virtual void OnUnexpectedEventAck(bool bad_message) OVERRIDE; 740 virtual void OnUnexpectedEventAck(bool bad_message) OVERRIDE;
741 virtual void SetNeedsFlush() OVERRIDE;
742 virtual void DidFlush() OVERRIDE;
741 743
742 void SimulateTouchGestureWithMouse(const WebKit::WebMouseEvent& mouse_event); 744 void SimulateTouchGestureWithMouse(const WebKit::WebMouseEvent& mouse_event);
743 745
744 // Called when there is a new auto resize (using a post to avoid a stack 746 // Called when there is a new auto resize (using a post to avoid a stack
745 // which may get in recursive loops). 747 // which may get in recursive loops).
746 void DelayedAutoResized(); 748 void DelayedAutoResized();
747 749
748 750
749 // Our delegate, which wants to know mainly about keyboard events. 751 // Our delegate, which wants to know mainly about keyboard events.
750 // It will remain non-NULL until DetachDelegate() is called. 752 // It will remain non-NULL until DetachDelegate() is called.
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 int64 last_input_number_; 918 int64 last_input_number_;
917 919
918 BrowserRenderingStats rendering_stats_; 920 BrowserRenderingStats rendering_stats_;
919 921
920 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 922 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
921 }; 923 };
922 924
923 } // namespace content 925 } // namespace content
924 926
925 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 927 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698