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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); | 594 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
595 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); | 595 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); |
596 virtual void OnFocus(); | 596 virtual void OnFocus(); |
597 virtual void OnBlur(); | 597 virtual void OnBlur(); |
598 void OnSetCursor(const WebCursor& cursor); | 598 void OnSetCursor(const WebCursor& cursor); |
599 void OnTextInputTypeChanged(ui::TextInputType type, | 599 void OnTextInputTypeChanged(ui::TextInputType type, |
600 ui::TextInputMode input_mode, | 600 ui::TextInputMode input_mode, |
601 bool can_compose_inline, | 601 bool can_compose_inline, |
602 int flags); | 602 int flags); |
603 | 603 |
604 #if defined(OS_MACOSX) || defined(USE_AURA) | 604 #if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID) |
605 void OnImeCompositionRangeChanged( | 605 void OnImeCompositionRangeChanged( |
606 const gfx::Range& range, | 606 const gfx::Range& range, |
607 const std::vector<gfx::Rect>& character_bounds); | 607 const std::vector<gfx::Rect>& character_bounds); |
608 #endif | 608 #endif |
609 void OnImeCancelComposition(); | 609 void OnImeCancelComposition(); |
610 void OnLockMouse(bool user_gesture, | 610 void OnLockMouse(bool user_gesture, |
611 bool last_unlocked_by_target, | 611 bool last_unlocked_by_target, |
612 bool privileged); | 612 bool privileged); |
613 void OnUnlockMouse(); | 613 void OnUnlockMouse(); |
614 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels, | 614 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels, |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 cc::RollingTimeDeltaHistory browser_composite_latency_history_; | 842 cc::RollingTimeDeltaHistory browser_composite_latency_history_; |
843 | 843 |
844 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 844 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
845 | 845 |
846 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 846 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
847 }; | 847 }; |
848 | 848 |
849 } // namespace content | 849 } // namespace content |
850 | 850 |
851 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 851 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |