| 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 28 matching lines...) Expand all Loading... |
| 39 struct ViewHostMsg_UpdateRect_Params; | 39 struct ViewHostMsg_UpdateRect_Params; |
| 40 class ViewHostMsg_UpdateRect; | 40 class ViewHostMsg_UpdateRect; |
| 41 | 41 |
| 42 namespace IPC { | 42 namespace IPC { |
| 43 class SyncMessage; | 43 class SyncMessage; |
| 44 } | 44 } |
| 45 | 45 |
| 46 namespace WebKit { | 46 namespace WebKit { |
| 47 class WebGestureEvent; | 47 class WebGestureEvent; |
| 48 class WebInputEvent; | 48 class WebInputEvent; |
| 49 class WebLayerTreeViewClient; | |
| 50 class WebMouseEvent; | 49 class WebMouseEvent; |
| 51 class WebTouchEvent; | 50 class WebTouchEvent; |
| 52 struct WebPoint; | 51 struct WebPoint; |
| 53 struct WebRenderingStatsImpl; | 52 struct WebRenderingStatsImpl; |
| 54 } | 53 } |
| 55 | 54 |
| 56 namespace cc { class OutputSurface; } | 55 namespace cc { class OutputSurface; } |
| 57 | 56 |
| 58 namespace ui { | 57 namespace ui { |
| 59 class Range; | 58 class Range; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 // WebKit::WebWidgetClient | 122 // WebKit::WebWidgetClient |
| 124 virtual void suppressCompositorScheduling(bool enable); | 123 virtual void suppressCompositorScheduling(bool enable); |
| 125 virtual void willBeginCompositorFrame(); | 124 virtual void willBeginCompositorFrame(); |
| 126 virtual void didInvalidateRect(const WebKit::WebRect&); | 125 virtual void didInvalidateRect(const WebKit::WebRect&); |
| 127 virtual void didScrollRect(int dx, int dy, | 126 virtual void didScrollRect(int dx, int dy, |
| 128 const WebKit::WebRect& clipRect); | 127 const WebKit::WebRect& clipRect); |
| 129 virtual void didAutoResize(const WebKit::WebSize& new_size); | 128 virtual void didAutoResize(const WebKit::WebSize& new_size); |
| 130 virtual void didActivateCompositor(int input_handler_identifier); | 129 virtual void didActivateCompositor(int input_handler_identifier); |
| 131 virtual void didDeactivateCompositor(); | 130 virtual void didDeactivateCompositor(); |
| 132 virtual void initializeLayerTreeView(); | 131 virtual void initializeLayerTreeView(); |
| 133 virtual void initializeLayerTreeView( | |
| 134 WebKit::WebLayerTreeViewClient* client, | |
| 135 const WebKit::WebLayer& root_layer, | |
| 136 const WebKit::WebLayerTreeView::Settings& settings); | |
| 137 virtual WebKit::WebLayerTreeView* layerTreeView(); | 132 virtual WebKit::WebLayerTreeView* layerTreeView(); |
| 138 virtual void didBecomeReadyForAdditionalInput(); | 133 virtual void didBecomeReadyForAdditionalInput(); |
| 139 virtual void didCommitAndDrawCompositorFrame(); | 134 virtual void didCommitAndDrawCompositorFrame(); |
| 140 virtual void didCompleteSwapBuffers(); | 135 virtual void didCompleteSwapBuffers(); |
| 141 virtual void scheduleComposite(); | 136 virtual void scheduleComposite(); |
| 142 virtual void scheduleAnimation(); | 137 virtual void scheduleAnimation(); |
| 143 virtual void didFocus(); | 138 virtual void didFocus(); |
| 144 virtual void didBlur(); | 139 virtual void didBlur(); |
| 145 virtual void didChangeCursor(const WebKit::WebCursorInfo&); | 140 virtual void didChangeCursor(const WebKit::WebCursorInfo&); |
| 146 virtual void closeWidgetSoon(); | 141 virtual void closeWidgetSoon(); |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 bool is_threaded_compositing_enabled_; | 682 bool is_threaded_compositing_enabled_; |
| 688 | 683 |
| 689 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; | 684 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; |
| 690 | 685 |
| 691 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 686 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 692 }; | 687 }; |
| 693 | 688 |
| 694 } // namespace content | 689 } // namespace content |
| 695 | 690 |
| 696 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 691 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |