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 20 matching lines...) Expand all Loading... |
31 | 31 |
32 class WebCursor; | 32 class WebCursor; |
33 struct ViewHostMsg_UpdateRect_Params; | 33 struct ViewHostMsg_UpdateRect_Params; |
34 struct ViewHostMsg_TextInputState_Params; | 34 struct ViewHostMsg_TextInputState_Params; |
35 struct ViewHostMsg_BeginSmoothScroll_Params; | 35 struct ViewHostMsg_BeginSmoothScroll_Params; |
36 | 36 |
37 namespace base { | 37 namespace base { |
38 class TimeTicks; | 38 class TimeTicks; |
39 } | 39 } |
40 | 40 |
| 41 namespace cc { |
| 42 class CompositorFrame; |
| 43 } |
| 44 |
41 namespace ui { | 45 namespace ui { |
42 class KeyEvent; | 46 class KeyEvent; |
43 class Range; | 47 class Range; |
44 } | 48 } |
45 | 49 |
46 namespace WebKit { | 50 namespace WebKit { |
47 class WebInputEvent; | 51 class WebInputEvent; |
48 class WebMouseEvent; | 52 class WebMouseEvent; |
49 struct WebCompositionUnderline; | 53 struct WebCompositionUnderline; |
50 struct WebScreenInfo; | 54 struct WebScreenInfo; |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 void OnMsgUpdateScreenRectsAck(); | 556 void OnMsgUpdateScreenRectsAck(); |
553 void OnMsgRequestMove(const gfx::Rect& pos); | 557 void OnMsgRequestMove(const gfx::Rect& pos); |
554 void OnMsgSetTooltipText(const string16& tooltip_text, | 558 void OnMsgSetTooltipText(const string16& tooltip_text, |
555 WebKit::WebTextDirection text_direction_hint); | 559 WebKit::WebTextDirection text_direction_hint); |
556 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size); | 560 void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size); |
557 void OnCompositorSurfaceBuffersSwapped(int32 surface_id, | 561 void OnCompositorSurfaceBuffersSwapped(int32 surface_id, |
558 uint64 surface_handle, | 562 uint64 surface_handle, |
559 int32 route_id, | 563 int32 route_id, |
560 const gfx::Size& size, | 564 const gfx::Size& size, |
561 int32 gpu_process_host_id); | 565 int32 gpu_process_host_id); |
| 566 void OnMsgSwapCompositorFrame(const cc::CompositorFrame& frame); |
562 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params); | 567 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
563 void OnMsgUpdateIsDelayed(); | 568 void OnMsgUpdateIsDelayed(); |
564 void OnMsgInputEventAck(WebKit::WebInputEvent::Type event_type, | 569 void OnMsgInputEventAck(WebKit::WebInputEvent::Type event_type, |
565 InputEventAckState ack_result); | 570 InputEventAckState ack_result); |
566 void OnMsgBeginSmoothScroll( | 571 void OnMsgBeginSmoothScroll( |
567 int gesture_id, | 572 int gesture_id, |
568 const ViewHostMsg_BeginSmoothScroll_Params ¶ms); | 573 const ViewHostMsg_BeginSmoothScroll_Params ¶ms); |
569 void OnMsgSelectRangeAck(); | 574 void OnMsgSelectRangeAck(); |
570 virtual void OnMsgFocus(); | 575 virtual void OnMsgFocus(); |
571 virtual void OnMsgBlur(); | 576 virtual void OnMsgBlur(); |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
870 #if defined(OS_WIN) | 875 #if defined(OS_WIN) |
871 std::list<HWND> dummy_windows_for_activation_; | 876 std::list<HWND> dummy_windows_for_activation_; |
872 #endif | 877 #endif |
873 | 878 |
874 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 879 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
875 }; | 880 }; |
876 | 881 |
877 } // namespace content | 882 } // namespace content |
878 | 883 |
879 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 884 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |