Chromium Code Reviews| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 197 | 197 |
| 198 // Returns the TextInputManager tracking text input state. | 198 // Returns the TextInputManager tracking text input state. |
| 199 virtual TextInputManager* GetTextInputManager(); | 199 virtual TextInputManager* GetTextInputManager(); |
| 200 | 200 |
| 201 // Returns true if this RenderWidgetHost should remain hidden. This is used by | 201 // Returns true if this RenderWidgetHost should remain hidden. This is used by |
| 202 // the RenderWidgetHost to ask the delegate if it can be shown in the event of | 202 // the RenderWidgetHost to ask the delegate if it can be shown in the event of |
| 203 // something other than the WebContents attempting to enable visibility of | 203 // something other than the WebContents attempting to enable visibility of |
| 204 // this RenderWidgetHost. | 204 // this RenderWidgetHost. |
| 205 virtual bool IsHidden(); | 205 virtual bool IsHidden(); |
| 206 | 206 |
| 207 // Returns the current fullscreen RenderWidgetHostImpl if any. | |
|
alexmos
2016/11/04 20:34:03
Maybe also note that this is only used for Flash f
EhsanK
2016/11/08 16:59:44
Acknowledged. Thanks! Does the new comment sound b
| |
| 208 virtual RenderWidgetHostImpl* GetFullscreenRenderWidgetHost() const; | |
| 209 | |
| 207 protected: | 210 protected: |
| 208 virtual ~RenderWidgetHostDelegate() {} | 211 virtual ~RenderWidgetHostDelegate() {} |
| 209 }; | 212 }; |
| 210 | 213 |
| 211 } // namespace content | 214 } // namespace content |
| 212 | 215 |
| 213 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 216 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
| OLD | NEW |