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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... |
41 #include "ipc/ipc_listener.h" | 41 #include "ipc/ipc_listener.h" |
42 #include "third_party/WebKit/public/platform/WebDisplayMode.h" | 42 #include "third_party/WebKit/public/platform/WebDisplayMode.h" |
43 #include "ui/base/ime/text_input_mode.h" | 43 #include "ui/base/ime/text_input_mode.h" |
44 #include "ui/base/ime/text_input_type.h" | 44 #include "ui/base/ime/text_input_type.h" |
45 #include "ui/events/gesture_detection/gesture_provider_config_helper.h" | 45 #include "ui/events/gesture_detection/gesture_provider_config_helper.h" |
46 #include "ui/events/latency_info.h" | 46 #include "ui/events/latency_info.h" |
47 #include "ui/gfx/native_widget_types.h" | 47 #include "ui/gfx/native_widget_types.h" |
48 | 48 |
49 struct FrameHostMsg_HittestData_Params; | 49 struct FrameHostMsg_HittestData_Params; |
50 struct ViewHostMsg_SelectionBounds_Params; | 50 struct ViewHostMsg_SelectionBounds_Params; |
51 struct ViewHostMsg_TextInputState_Params; | 51 struct TextInputState; |
52 struct ViewHostMsg_UpdateRect_Params; | 52 struct ViewHostMsg_UpdateRect_Params; |
53 | 53 |
54 namespace base { | 54 namespace base { |
55 class RefCountedBytes; | 55 class RefCountedBytes; |
56 } | 56 } |
57 | 57 |
58 namespace blink { | 58 namespace blink { |
59 class WebInputEvent; | 59 class WebInputEvent; |
60 #if defined(OS_ANDROID) | 60 #if defined(OS_ANDROID) |
61 class WebLayer; | 61 class WebLayer; |
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 void OnRenderProcessGone(int status, int error_code); | 568 void OnRenderProcessGone(int status, int error_code); |
569 void OnClose(); | 569 void OnClose(); |
570 void OnUpdateScreenRectsAck(); | 570 void OnUpdateScreenRectsAck(); |
571 void OnRequestMove(const gfx::Rect& pos); | 571 void OnRequestMove(const gfx::Rect& pos); |
572 void OnSetTooltipText(const base::string16& tooltip_text, | 572 void OnSetTooltipText(const base::string16& tooltip_text, |
573 blink::WebTextDirection text_direction_hint); | 573 blink::WebTextDirection text_direction_hint); |
574 bool OnSwapCompositorFrame(const IPC::Message& message); | 574 bool OnSwapCompositorFrame(const IPC::Message& message); |
575 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); | 575 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
576 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); | 576 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); |
577 void OnSetCursor(const WebCursor& cursor); | 577 void OnSetCursor(const WebCursor& cursor); |
578 void OnTextInputStateChanged( | 578 void OnTextInputStateChanged(const TextInputState& params); |
579 const ViewHostMsg_TextInputState_Params& params); | |
580 | 579 |
581 void OnImeCompositionRangeChanged( | 580 void OnImeCompositionRangeChanged( |
582 const gfx::Range& range, | 581 const gfx::Range& range, |
583 const std::vector<gfx::Rect>& character_bounds); | 582 const std::vector<gfx::Rect>& character_bounds); |
584 void OnImeCancelComposition(); | 583 void OnImeCancelComposition(); |
585 void OnLockMouse(bool user_gesture, | 584 void OnLockMouse(bool user_gesture, |
586 bool last_unlocked_by_target, | 585 bool last_unlocked_by_target, |
587 bool privileged); | 586 bool privileged); |
588 void OnUnlockMouse(); | 587 void OnUnlockMouse(); |
589 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels, | 588 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels, |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_; | 841 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_; |
843 | 842 |
844 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 843 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
845 | 844 |
846 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 845 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
847 }; | 846 }; |
848 | 847 |
849 } // namespace content | 848 } // namespace content |
850 | 849 |
851 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 850 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |