OLD | NEW |
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 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 virtual void OnGestureEventAck(const GestureEventWithLatencyInfo& 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 void WindowSnapshotReachedScreen(int snapshot_id); |
| 768 |
767 // Our delegate, which wants to know mainly about keyboard events. | 769 // Our delegate, which wants to know mainly about keyboard events. |
768 // It will remain non-NULL until DetachDelegate() is called. | 770 // It will remain non-NULL until DetachDelegate() is called. |
769 RenderWidgetHostDelegate* delegate_; | 771 RenderWidgetHostDelegate* delegate_; |
770 | 772 |
771 // Created during construction but initialized during Init*(). Therefore, it | 773 // Created during construction but initialized during Init*(). Therefore, it |
772 // is guaranteed never to be NULL, but its channel may be NULL if the | 774 // is guaranteed never to be NULL, but its channel may be NULL if the |
773 // renderer crashed, so you must always check that. | 775 // renderer crashed, so you must always check that. |
774 RenderProcessHost* process_; | 776 RenderProcessHost* process_; |
775 | 777 |
776 // The ID of the corresponding object in the Renderer Instance. | 778 // The ID of the corresponding object in the Renderer Instance. |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
937 int64 last_input_number_; | 939 int64 last_input_number_; |
938 | 940 |
939 BrowserRenderingStats rendering_stats_; | 941 BrowserRenderingStats rendering_stats_; |
940 | 942 |
941 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 943 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
942 }; | 944 }; |
943 | 945 |
944 } // namespace content | 946 } // namespace content |
945 | 947 |
946 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 948 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |