| 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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 615 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); | 615 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
| 616 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); | 616 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); |
| 617 virtual void OnFocus(); | 617 virtual void OnFocus(); |
| 618 virtual void OnBlur(); | 618 virtual void OnBlur(); |
| 619 void OnSetCursor(const WebCursor& cursor); | 619 void OnSetCursor(const WebCursor& cursor); |
| 620 void OnTextInputTypeChanged(ui::TextInputType type, | 620 void OnTextInputTypeChanged(ui::TextInputType type, |
| 621 ui::TextInputMode input_mode, | 621 ui::TextInputMode input_mode, |
| 622 bool can_compose_inline, | 622 bool can_compose_inline, |
| 623 int flags); | 623 int flags); |
| 624 | 624 |
| 625 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID) | |
| 626 void OnImeCompositionRangeChanged( | 625 void OnImeCompositionRangeChanged( |
| 627 const gfx::Range& range, | 626 const gfx::Range& range, |
| 628 const std::vector<gfx::Rect>& character_bounds); | 627 const std::vector<gfx::Rect>& character_bounds); |
| 629 #endif | |
| 630 void OnImeCancelComposition(); | 628 void OnImeCancelComposition(); |
| 631 void OnLockMouse(bool user_gesture, | 629 void OnLockMouse(bool user_gesture, |
| 632 bool last_unlocked_by_target, | 630 bool last_unlocked_by_target, |
| 633 bool privileged); | 631 bool privileged); |
| 634 void OnUnlockMouse(); | 632 void OnUnlockMouse(); |
| 635 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels, | 633 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels, |
| 636 const gfx::Size& size, | 634 const gfx::Size& size, |
| 637 const cc::SharedBitmapId& id); | 635 const cc::SharedBitmapId& id); |
| 638 #if defined(OS_WIN) | 636 #if defined(OS_WIN) |
| 639 void OnWindowlessPluginDummyWindowCreated( | 637 void OnWindowlessPluginDummyWindowCreated( |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 850 PendingSnapshotMap pending_browser_snapshots_; | 848 PendingSnapshotMap pending_browser_snapshots_; |
| 851 | 849 |
| 852 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 850 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 853 | 851 |
| 854 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 852 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 855 }; | 853 }; |
| 856 | 854 |
| 857 } // namespace content | 855 } // namespace content |
| 858 | 856 |
| 859 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 857 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |