| 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 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 void OnUpdateScreenRectsAck(); | 646 void OnUpdateScreenRectsAck(); |
| 647 void OnRequestMove(const gfx::Rect& pos); | 647 void OnRequestMove(const gfx::Rect& pos); |
| 648 void OnSetTooltipText(const string16& tooltip_text, | 648 void OnSetTooltipText(const string16& tooltip_text, |
| 649 WebKit::WebTextDirection text_direction_hint); | 649 WebKit::WebTextDirection text_direction_hint); |
| 650 void OnPaintAtSizeAck(int tag, const gfx::Size& size); | 650 void OnPaintAtSizeAck(int tag, const gfx::Size& size); |
| 651 #if defined(OS_MACOSX) | 651 #if defined(OS_MACOSX) |
| 652 void OnCompositorSurfaceBuffersSwapped( | 652 void OnCompositorSurfaceBuffersSwapped( |
| 653 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params); | 653 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params); |
| 654 #endif | 654 #endif |
| 655 bool OnSwapCompositorFrame(const IPC::Message& message); | 655 bool OnSwapCompositorFrame(const IPC::Message& message); |
| 656 void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, | 656 void OnOverscrolled(gfx::Vector2dF accumulated_overscroll); |
| 657 gfx::Vector2dF current_fling_velocity); | |
| 658 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); | 657 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
| 659 void OnUpdateIsDelayed(); | 658 void OnUpdateIsDelayed(); |
| 660 void OnBeginSmoothScroll( | 659 void OnBeginSmoothScroll( |
| 661 const ViewHostMsg_BeginSmoothScroll_Params& params); | 660 const ViewHostMsg_BeginSmoothScroll_Params& params); |
| 662 void OnBeginPinch( | 661 void OnBeginPinch( |
| 663 const ViewHostMsg_BeginPinch_Params& params); | 662 const ViewHostMsg_BeginPinch_Params& params); |
| 664 virtual void OnFocus(); | 663 virtual void OnFocus(); |
| 665 virtual void OnBlur(); | 664 virtual void OnBlur(); |
| 666 void OnSetCursor(const WebCursor& cursor); | 665 void OnSetCursor(const WebCursor& cursor); |
| 667 void OnTextInputTypeChanged(ui::TextInputType type, | 666 void OnTextInputTypeChanged(ui::TextInputType type, |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 918 int64 last_input_number_; | 917 int64 last_input_number_; |
| 919 | 918 |
| 920 BrowserRenderingStats rendering_stats_; | 919 BrowserRenderingStats rendering_stats_; |
| 921 | 920 |
| 922 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 921 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 923 }; | 922 }; |
| 924 | 923 |
| 925 } // namespace content | 924 } // namespace content |
| 926 | 925 |
| 927 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 926 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |