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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 void OnCompositorSurfaceBuffersSwapped( | 648 void OnCompositorSurfaceBuffersSwapped( |
649 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params); | 649 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params); |
650 #endif | 650 #endif |
651 bool OnSwapCompositorFrame(const IPC::Message& message); | 651 bool OnSwapCompositorFrame(const IPC::Message& message); |
652 void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, | 652 void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, |
653 gfx::Vector2dF current_fling_velocity); | 653 gfx::Vector2dF current_fling_velocity); |
654 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); | 654 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
655 void OnUpdateIsDelayed(); | 655 void OnUpdateIsDelayed(); |
656 void OnBeginSmoothScroll( | 656 void OnBeginSmoothScroll( |
657 const ViewHostMsg_BeginSmoothScroll_Params& params); | 657 const ViewHostMsg_BeginSmoothScroll_Params& params); |
| 658 void OnEmulateDevice(bool enabled); |
658 virtual void OnFocus(); | 659 virtual void OnFocus(); |
659 virtual void OnBlur(); | 660 virtual void OnBlur(); |
660 void OnSetCursor(const WebCursor& cursor); | 661 void OnSetCursor(const WebCursor& cursor); |
661 void OnTextInputTypeChanged(ui::TextInputType type, | 662 void OnTextInputTypeChanged(ui::TextInputType type, |
662 ui::TextInputMode input_mode, | 663 ui::TextInputMode input_mode, |
663 bool can_compose_inline); | 664 bool can_compose_inline); |
664 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) | 665 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) |
665 void OnImeCompositionRangeChanged( | 666 void OnImeCompositionRangeChanged( |
666 const ui::Range& range, | 667 const ui::Range& range, |
667 const std::vector<gfx::Rect>& character_bounds); | 668 const std::vector<gfx::Rect>& character_bounds); |
(...skipping 258 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 |