| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 struct FrameHostMsg_HittestData_Params; | 52 struct FrameHostMsg_HittestData_Params; |
| 53 struct ViewHostMsg_SelectionBounds_Params; | 53 struct ViewHostMsg_SelectionBounds_Params; |
| 54 struct ViewHostMsg_UpdateRect_Params; | 54 struct ViewHostMsg_UpdateRect_Params; |
| 55 | 55 |
| 56 namespace blink { | 56 namespace blink { |
| 57 class WebInputEvent; | 57 class WebInputEvent; |
| 58 class WebMouseEvent; | 58 class WebMouseEvent; |
| 59 struct WebCompositionUnderline; | 59 struct WebCompositionUnderline; |
| 60 } | 60 } |
| 61 | 61 |
| 62 namespace cc { |
| 63 struct BeginFrameAck; |
| 64 } // namespace cc |
| 65 |
| 62 #if defined(OS_MACOSX) | 66 #if defined(OS_MACOSX) |
| 63 namespace device { | 67 namespace device { |
| 64 class PowerSaveBlocker; | 68 class PowerSaveBlocker; |
| 65 } // namespace device | 69 } // namespace device |
| 66 #endif | 70 #endif |
| 67 | 71 |
| 68 namespace gfx { | 72 namespace gfx { |
| 69 class Image; | 73 class Image; |
| 70 class Range; | 74 class Range; |
| 71 } | 75 } |
| (...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 void RendererIsResponsive(); | 617 void RendererIsResponsive(); |
| 614 | 618 |
| 615 // IPC message handlers | 619 // IPC message handlers |
| 616 void OnRenderProcessGone(int status, int error_code); | 620 void OnRenderProcessGone(int status, int error_code); |
| 617 void OnClose(); | 621 void OnClose(); |
| 618 void OnUpdateScreenRectsAck(); | 622 void OnUpdateScreenRectsAck(); |
| 619 void OnRequestMove(const gfx::Rect& pos); | 623 void OnRequestMove(const gfx::Rect& pos); |
| 620 void OnSetTooltipText(const base::string16& tooltip_text, | 624 void OnSetTooltipText(const base::string16& tooltip_text, |
| 621 blink::WebTextDirection text_direction_hint); | 625 blink::WebTextDirection text_direction_hint); |
| 622 bool OnSwapCompositorFrame(const IPC::Message& message); | 626 bool OnSwapCompositorFrame(const IPC::Message& message); |
| 627 void OnBeginFrameDidNotDraw(const cc::BeginFrameAck& ack); |
| 623 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); | 628 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
| 624 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); | 629 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); |
| 625 void OnSetCursor(const WebCursor& cursor); | 630 void OnSetCursor(const WebCursor& cursor); |
| 626 void OnTextInputStateChanged(const TextInputState& params); | 631 void OnTextInputStateChanged(const TextInputState& params); |
| 627 | 632 |
| 628 void OnImeCompositionRangeChanged( | 633 void OnImeCompositionRangeChanged( |
| 629 const gfx::Range& range, | 634 const gfx::Range& range, |
| 630 const std::vector<gfx::Rect>& character_bounds); | 635 const std::vector<gfx::Rect>& character_bounds); |
| 631 void OnImeCancelComposition(); | 636 void OnImeCancelComposition(); |
| 632 void OnLockMouse(bool user_gesture, | 637 void OnLockMouse(bool user_gesture, |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 904 #endif | 909 #endif |
| 905 | 910 |
| 906 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 911 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 907 | 912 |
| 908 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 913 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 909 }; | 914 }; |
| 910 | 915 |
| 911 } // namespace content | 916 } // namespace content |
| 912 | 917 |
| 913 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 918 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |