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_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 // Notification that the widget has lost capture. | 156 // Notification that the widget has lost capture. |
157 virtual void LostCapture(RenderWidgetHostImpl* render_widget_host) {} | 157 virtual void LostCapture(RenderWidgetHostImpl* render_widget_host) {} |
158 | 158 |
159 // Notification that the widget has lost the mouse lock. | 159 // Notification that the widget has lost the mouse lock. |
160 virtual void LostMouseLock(RenderWidgetHostImpl* render_widget_host) {} | 160 virtual void LostMouseLock(RenderWidgetHostImpl* render_widget_host) {} |
161 | 161 |
162 #if defined(OS_WIN) | 162 #if defined(OS_WIN) |
163 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); | 163 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); |
164 #endif | 164 #endif |
165 | 165 |
| 166 // Called when the widget has sent a compositor proto. This is used in Blimp |
| 167 // mode with the RemoteChannel compositor. |
| 168 virtual void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, |
| 169 const std::vector<uint8_t>& proto) {} |
| 170 |
166 protected: | 171 protected: |
167 virtual ~RenderWidgetHostDelegate() {} | 172 virtual ~RenderWidgetHostDelegate() {} |
168 }; | 173 }; |
169 | 174 |
170 } // namespace content | 175 } // namespace content |
171 | 176 |
172 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 177 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
OLD | NEW |