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. | |
no sievers
2015/11/14 00:13:43
nit: can you mention it's used in blimp mode?
David Trainor- moved to gerrit
2015/11/16 04:33:58
Done.
| |
167 virtual void HandleCompositorProto(RenderWidgetHostImpl* render_widget_host, | |
168 const std::vector<char>& proto) {} | |
169 | |
166 protected: | 170 protected: |
167 virtual ~RenderWidgetHostDelegate() {} | 171 virtual ~RenderWidgetHostDelegate() {} |
168 }; | 172 }; |
169 | 173 |
170 } // namespace content | 174 } // namespace content |
171 | 175 |
172 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 176 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
OLD | NEW |