| 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 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 | 727 |
| 728 // True if the render widget host should track the render widget's size as | 728 // True if the render widget host should track the render widget's size as |
| 729 // opposed to visa versa. | 729 // opposed to visa versa. |
| 730 bool should_auto_resize_; | 730 bool should_auto_resize_; |
| 731 | 731 |
| 732 bool waiting_for_screen_rects_ack_; | 732 bool waiting_for_screen_rects_ack_; |
| 733 gfx::Rect last_view_screen_rect_; | 733 gfx::Rect last_view_screen_rect_; |
| 734 gfx::Rect last_window_screen_rect_; | 734 gfx::Rect last_window_screen_rect_; |
| 735 | 735 |
| 736 // True if a mouse move event was sent to the render view and we are waiting | 736 // True if a mouse move event was sent to the render view and we are waiting |
| 737 // for a corresponding ViewHostMsg_HandleInputEvent_ACK message. | 737 // for a corresponding InputHostMsg_HandleInputEvent_ACK message. |
| 738 bool mouse_move_pending_; | 738 bool mouse_move_pending_; |
| 739 | 739 |
| 740 // The next mouse move event to send (only non-null while mouse_move_pending_ | 740 // The next mouse move event to send (only non-null while mouse_move_pending_ |
| 741 // is true). | 741 // is true). |
| 742 scoped_ptr<WebKit::WebMouseEvent> next_mouse_move_; | 742 scoped_ptr<WebKit::WebMouseEvent> next_mouse_move_; |
| 743 | 743 |
| 744 // (Similar to |mouse_move_pending_|.) True if a mouse wheel event was sent | 744 // (Similar to |mouse_move_pending_|.) True if a mouse wheel event was sent |
| 745 // and we are waiting for a corresponding ack. | 745 // and we are waiting for a corresponding ack. |
| 746 bool mouse_wheel_pending_; | 746 bool mouse_wheel_pending_; |
| 747 WebKit::WebMouseWheelEvent current_wheel_event_; | 747 WebKit::WebMouseWheelEvent current_wheel_event_; |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 | 877 |
| 878 // List of callbacks for pending snapshot requests to the renderer. | 878 // List of callbacks for pending snapshot requests to the renderer. |
| 879 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; | 879 std::queue<base::Callback<void(bool, const SkBitmap&)> > pending_snapshots_; |
| 880 | 880 |
| 881 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 881 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 882 }; | 882 }; |
| 883 | 883 |
| 884 } // namespace content | 884 } // namespace content |
| 885 | 885 |
| 886 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 886 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |