| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 // RenderWidget. | 128 // RenderWidget. |
| 129 void RegisterRenderFrame(RenderFrameImpl* frame); | 129 void RegisterRenderFrame(RenderFrameImpl* frame); |
| 130 void UnregisterRenderFrame(RenderFrameImpl* frame); | 130 void UnregisterRenderFrame(RenderFrameImpl* frame); |
| 131 | 131 |
| 132 #if defined(VIDEO_HOLE) | 132 #if defined(VIDEO_HOLE) |
| 133 void RegisterVideoHoleFrame(RenderFrameImpl* frame); | 133 void RegisterVideoHoleFrame(RenderFrameImpl* frame); |
| 134 void UnregisterVideoHoleFrame(RenderFrameImpl* frame); | 134 void UnregisterVideoHoleFrame(RenderFrameImpl* frame); |
| 135 #endif // defined(VIDEO_HOLE) | 135 #endif // defined(VIDEO_HOLE) |
| 136 | 136 |
| 137 // IPC::Listener | 137 // IPC::Listener |
| 138 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 138 virtual bool OnMessageReceived(const IPC::Message& msg) override; |
| 139 | 139 |
| 140 // IPC::Sender | 140 // IPC::Sender |
| 141 virtual bool Send(IPC::Message* msg) OVERRIDE; | 141 virtual bool Send(IPC::Message* msg) override; |
| 142 | 142 |
| 143 // blink::WebWidgetClient | 143 // blink::WebWidgetClient |
| 144 virtual void willBeginCompositorFrame(); | 144 virtual void willBeginCompositorFrame(); |
| 145 virtual void didAutoResize(const blink::WebSize& new_size); | 145 virtual void didAutoResize(const blink::WebSize& new_size); |
| 146 virtual void initializeLayerTreeView(); | 146 virtual void initializeLayerTreeView(); |
| 147 virtual blink::WebLayerTreeView* layerTreeView(); | 147 virtual blink::WebLayerTreeView* layerTreeView(); |
| 148 virtual void didBecomeReadyForAdditionalInput(); | 148 virtual void didBecomeReadyForAdditionalInput(); |
| 149 virtual void didCommitAndDrawCompositorFrame(); | 149 virtual void didCommitAndDrawCompositorFrame(); |
| 150 virtual void didCompleteSwapBuffers(); | 150 virtual void didCompleteSwapBuffers(); |
| 151 virtual void scheduleComposite(); | 151 virtual void scheduleComposite(); |
| (...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 749 ui::MenuSourceType context_menu_source_type_; | 749 ui::MenuSourceType context_menu_source_type_; |
| 750 bool has_host_context_menu_location_; | 750 bool has_host_context_menu_location_; |
| 751 gfx::Point host_context_menu_location_; | 751 gfx::Point host_context_menu_location_; |
| 752 | 752 |
| 753 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 753 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 754 }; | 754 }; |
| 755 | 755 |
| 756 } // namespace content | 756 } // namespace content |
| 757 | 757 |
| 758 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 758 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |