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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 void OnRenderProcessGone(int status, int error_code); | 564 void OnRenderProcessGone(int status, int error_code); |
565 void OnClose(); | 565 void OnClose(); |
566 void OnUpdateScreenRectsAck(); | 566 void OnUpdateScreenRectsAck(); |
567 void OnRequestMove(const gfx::Rect& pos); | 567 void OnRequestMove(const gfx::Rect& pos); |
568 void OnSetTooltipText(const base::string16& tooltip_text, | 568 void OnSetTooltipText(const base::string16& tooltip_text, |
569 blink::WebTextDirection text_direction_hint); | 569 blink::WebTextDirection text_direction_hint); |
570 bool OnSwapCompositorFrame(const IPC::Message& message); | 570 bool OnSwapCompositorFrame(const IPC::Message& message); |
571 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); | 571 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
572 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); | 572 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); |
573 void OnSetCursor(const WebCursor& cursor); | 573 void OnSetCursor(const WebCursor& cursor); |
574 void OnTextInputStateChanged( | 574 void OnTextInputStateChanged(const TextInputState& params); |
575 const ViewHostMsg_TextInputState_Params& params); | |
576 | 575 |
577 void OnImeCompositionRangeChanged( | 576 void OnImeCompositionRangeChanged( |
578 const gfx::Range& range, | 577 const gfx::Range& range, |
579 const std::vector<gfx::Rect>& character_bounds); | 578 const std::vector<gfx::Rect>& character_bounds); |
580 void OnImeCancelComposition(); | 579 void OnImeCancelComposition(); |
581 void OnLockMouse(bool user_gesture, | 580 void OnLockMouse(bool user_gesture, |
582 bool last_unlocked_by_target, | 581 bool last_unlocked_by_target, |
583 bool privileged); | 582 bool privileged); |
584 void OnUnlockMouse(); | 583 void OnUnlockMouse(); |
585 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels, | 584 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels, |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
823 base::TimeDelta new_content_rendering_delay_; | 822 base::TimeDelta new_content_rendering_delay_; |
824 | 823 |
825 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 824 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
826 | 825 |
827 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 826 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
828 }; | 827 }; |
829 | 828 |
830 } // namespace content | 829 } // namespace content |
831 | 830 |
832 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 831 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |