| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 virtual bool IsHidden(); | 209 virtual bool IsHidden(); |
| 210 | 210 |
| 211 // Returns the associated RenderViewHostDelegateView*, if possible. | 211 // Returns the associated RenderViewHostDelegateView*, if possible. |
| 212 virtual RenderViewHostDelegateView* GetDelegateView(); | 212 virtual RenderViewHostDelegateView* GetDelegateView(); |
| 213 | 213 |
| 214 // Returns the current Flash fullscreen RenderWidgetHostImpl if any. This is | 214 // Returns the current Flash fullscreen RenderWidgetHostImpl if any. This is |
| 215 // not intended for use with other types of fullscreen, such as HTML | 215 // not intended for use with other types of fullscreen, such as HTML |
| 216 // fullscreen, and will return nullptr for those cases. | 216 // fullscreen, and will return nullptr for those cases. |
| 217 virtual RenderWidgetHostImpl* GetFullscreenRenderWidgetHost() const; | 217 virtual RenderWidgetHostImpl* GetFullscreenRenderWidgetHost() const; |
| 218 | 218 |
| 219 // Allow the delegate to handle the cursor update. Returns true if handled. |
| 220 virtual bool OnUpdateDragCursor(); |
| 221 |
| 219 protected: | 222 protected: |
| 220 virtual ~RenderWidgetHostDelegate() {} | 223 virtual ~RenderWidgetHostDelegate() {} |
| 221 }; | 224 }; |
| 222 | 225 |
| 223 } // namespace content | 226 } // namespace content |
| 224 | 227 |
| 225 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 228 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
| OLD | NEW |