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_RENDERER_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 struct ViewHostMsg_UpdateRect_Params; | 37 struct ViewHostMsg_UpdateRect_Params; |
38 class ViewHostMsg_UpdateRect; | 38 class ViewHostMsg_UpdateRect; |
39 | 39 |
40 namespace IPC { | 40 namespace IPC { |
41 class SyncMessage; | 41 class SyncMessage; |
42 } | 42 } |
43 | 43 |
44 namespace WebKit { | 44 namespace WebKit { |
45 class WebGestureEvent; | 45 class WebGestureEvent; |
46 class WebInputEvent; | 46 class WebInputEvent; |
| 47 class WebLayerTreeViewClient; |
47 class WebMouseEvent; | 48 class WebMouseEvent; |
| 49 class WebTouchEvent; |
| 50 struct WebPoint; |
48 struct WebRenderingStatsImpl; | 51 struct WebRenderingStatsImpl; |
49 struct WebPoint; | |
50 class WebTouchEvent; | |
51 } | 52 } |
52 | 53 |
53 namespace cc { class OutputSurface; } | 54 namespace cc { class OutputSurface; } |
54 | 55 |
55 namespace ui { | 56 namespace ui { |
56 class Range; | 57 class Range; |
57 } | 58 } |
58 | 59 |
59 namespace webkit { | 60 namespace webkit { |
60 namespace npapi { | 61 namespace npapi { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 119 |
119 // WebKit::WebWidgetClient | 120 // WebKit::WebWidgetClient |
120 virtual void suppressCompositorScheduling(bool enable); | 121 virtual void suppressCompositorScheduling(bool enable); |
121 virtual void willBeginCompositorFrame(); | 122 virtual void willBeginCompositorFrame(); |
122 virtual void didInvalidateRect(const WebKit::WebRect&); | 123 virtual void didInvalidateRect(const WebKit::WebRect&); |
123 virtual void didScrollRect(int dx, int dy, | 124 virtual void didScrollRect(int dx, int dy, |
124 const WebKit::WebRect& clipRect); | 125 const WebKit::WebRect& clipRect); |
125 virtual void didAutoResize(const WebKit::WebSize& new_size); | 126 virtual void didAutoResize(const WebKit::WebSize& new_size); |
126 virtual void didActivateCompositor(int input_handler_identifier); | 127 virtual void didActivateCompositor(int input_handler_identifier); |
127 virtual void didDeactivateCompositor(); | 128 virtual void didDeactivateCompositor(); |
| 129 virtual void initializeLayerTreeView(); |
128 virtual void initializeLayerTreeView( | 130 virtual void initializeLayerTreeView( |
129 WebKit::WebLayerTreeViewClient* client, | 131 WebKit::WebLayerTreeViewClient* client, |
130 const WebKit::WebLayer& root_layer, | 132 const WebKit::WebLayer& root_layer, |
131 const WebKit::WebLayerTreeView::Settings& settings); | 133 const WebKit::WebLayerTreeView::Settings& settings); |
132 virtual WebKit::WebLayerTreeView* layerTreeView(); | 134 virtual WebKit::WebLayerTreeView* layerTreeView(); |
133 virtual void didBecomeReadyForAdditionalInput(); | 135 virtual void didBecomeReadyForAdditionalInput(); |
134 virtual void didCommitAndDrawCompositorFrame(); | 136 virtual void didCommitAndDrawCompositorFrame(); |
135 virtual void didCompleteSwapBuffers(); | 137 virtual void didCompleteSwapBuffers(); |
136 virtual void scheduleComposite(); | 138 virtual void scheduleComposite(); |
137 virtual void scheduleAnimation(); | 139 virtual void scheduleAnimation(); |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 | 666 |
665 // Specified whether the compositor will run in its own thread. | 667 // Specified whether the compositor will run in its own thread. |
666 bool is_threaded_compositing_enabled_; | 668 bool is_threaded_compositing_enabled_; |
667 | 669 |
668 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 670 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
669 }; | 671 }; |
670 | 672 |
671 } // namespace content | 673 } // namespace content |
672 | 674 |
673 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 675 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |