| 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 215 |
| 216 // Returns the TextInputManager tracking text input state. | 216 // Returns the TextInputManager tracking text input state. |
| 217 virtual TextInputManager* GetTextInputManager(); | 217 virtual TextInputManager* GetTextInputManager(); |
| 218 | 218 |
| 219 // Returns true if this RenderWidgetHost should remain hidden. This is used by | 219 // Returns true if this RenderWidgetHost should remain hidden. This is used by |
| 220 // the RenderWidgetHost to ask the delegate if it can be shown in the event of | 220 // the RenderWidgetHost to ask the delegate if it can be shown in the event of |
| 221 // something other than the WebContents attempting to enable visibility of | 221 // something other than the WebContents attempting to enable visibility of |
| 222 // this RenderWidgetHost. | 222 // this RenderWidgetHost. |
| 223 virtual bool IsHidden(); | 223 virtual bool IsHidden(); |
| 224 | 224 |
| 225 // Returns the current Flash fullscreen RenderWidgetHostImpl if any. This is |
| 226 // not intended for use with other types of fullscreen, such as HTML |
| 227 // fullscreen, and will return nullptr for those cases. |
| 228 virtual RenderWidgetHostImpl* GetFullscreenRenderWidgetHost() const; |
| 229 |
| 225 protected: | 230 protected: |
| 226 virtual ~RenderWidgetHostDelegate() {} | 231 virtual ~RenderWidgetHostDelegate() {} |
| 227 }; | 232 }; |
| 228 | 233 |
| 229 } // namespace content | 234 } // namespace content |
| 230 | 235 |
| 231 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 236 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
| OLD | NEW |