| 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 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 745 virtual void OnGestureEventAck(const WebKit::WebGestureEvent& event, | 745 virtual void OnGestureEventAck(const WebKit::WebGestureEvent& event, |
| 746 InputEventAckState ack_result) OVERRIDE; | 746 InputEventAckState ack_result) OVERRIDE; |
| 747 virtual void OnUnexpectedEventAck(bool bad_message) OVERRIDE; | 747 virtual void OnUnexpectedEventAck(bool bad_message) OVERRIDE; |
| 748 | 748 |
| 749 void SimulateTouchGestureWithMouse(const WebKit::WebMouseEvent& mouse_event); | 749 void SimulateTouchGestureWithMouse(const WebKit::WebMouseEvent& mouse_event); |
| 750 | 750 |
| 751 // Called when there is a new auto resize (using a post to avoid a stack | 751 // Called when there is a new auto resize (using a post to avoid a stack |
| 752 // which may get in recursive loops). | 752 // which may get in recursive loops). |
| 753 void DelayedAutoResized(); | 753 void DelayedAutoResized(); |
| 754 | 754 |
| 755 void WindowSnapshotReachedScreen(int snapshot_id); |
| 755 | 756 |
| 756 // Our delegate, which wants to know mainly about keyboard events. | 757 // Our delegate, which wants to know mainly about keyboard events. |
| 757 // It will remain non-NULL until DetachDelegate() is called. | 758 // It will remain non-NULL until DetachDelegate() is called. |
| 758 RenderWidgetHostDelegate* delegate_; | 759 RenderWidgetHostDelegate* delegate_; |
| 759 | 760 |
| 760 // Created during construction but initialized during Init*(). Therefore, it | 761 // Created during construction but initialized during Init*(). Therefore, it |
| 761 // is guaranteed never to be NULL, but its channel may be NULL if the | 762 // is guaranteed never to be NULL, but its channel may be NULL if the |
| 762 // renderer crashed, so you must always check that. | 763 // renderer crashed, so you must always check that. |
| 763 RenderProcessHost* process_; | 764 RenderProcessHost* process_; |
| 764 | 765 |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 926 int64 last_input_number_; | 927 int64 last_input_number_; |
| 927 | 928 |
| 928 BrowserRenderingStats rendering_stats_; | 929 BrowserRenderingStats rendering_stats_; |
| 929 | 930 |
| 930 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 931 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 931 }; | 932 }; |
| 932 | 933 |
| 933 } // namespace content | 934 } // namespace content |
| 934 | 935 |
| 935 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 936 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |