| 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 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 void OnClose(); | 621 void OnClose(); |
| 622 void OnUpdateScreenRectsAck(); | 622 void OnUpdateScreenRectsAck(); |
| 623 void OnRequestMove(const gfx::Rect& pos); | 623 void OnRequestMove(const gfx::Rect& pos); |
| 624 void OnSetTooltipText(const base::string16& tooltip_text, | 624 void OnSetTooltipText(const base::string16& tooltip_text, |
| 625 blink::WebTextDirection text_direction_hint); | 625 blink::WebTextDirection text_direction_hint); |
| 626 #if defined(OS_MACOSX) | 626 #if defined(OS_MACOSX) |
| 627 void OnCompositorSurfaceBuffersSwapped( | 627 void OnCompositorSurfaceBuffersSwapped( |
| 628 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params); | 628 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params); |
| 629 #endif | 629 #endif |
| 630 bool OnSwapCompositorFrame(const IPC::Message& message); | 630 bool OnSwapCompositorFrame(const IPC::Message& message); |
| 631 void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, | |
| 632 gfx::Vector2dF current_fling_velocity); | |
| 633 void OnFlingingStopped(); | 631 void OnFlingingStopped(); |
| 634 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); | 632 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
| 635 void OnUpdateIsDelayed(); | 633 void OnUpdateIsDelayed(); |
| 636 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); | 634 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); |
| 637 virtual void OnFocus(); | 635 virtual void OnFocus(); |
| 638 virtual void OnBlur(); | 636 virtual void OnBlur(); |
| 639 void OnSetCursor(const WebCursor& cursor); | 637 void OnSetCursor(const WebCursor& cursor); |
| 640 void OnSetTouchEventEmulationEnabled(bool enabled, bool allow_pinch); | 638 void OnSetTouchEventEmulationEnabled(bool enabled, bool allow_pinch); |
| 641 void OnTextInputTypeChanged(ui::TextInputType type, | 639 void OnTextInputTypeChanged(ui::TextInputType type, |
| 642 ui::TextInputMode input_mode, | 640 ui::TextInputMode input_mode, |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 879 #endif | 877 #endif |
| 880 | 878 |
| 881 int64 last_input_number_; | 879 int64 last_input_number_; |
| 882 | 880 |
| 883 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 881 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 884 }; | 882 }; |
| 885 | 883 |
| 886 } // namespace content | 884 } // namespace content |
| 887 | 885 |
| 888 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 886 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |