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 flash fullscreen RenderWidgetHostImpl if any. This will | |
|
alexmos
2016/11/08 18:27:09
nit: s/flash/Flash/
| |
| 208 // not return other forms of fullscreen widget such as HTML5. | |
|
alexmos
2016/11/08 18:27:09
Let's just say "This is not intended for use with
| |
| 209 virtual RenderWidgetHostImpl* GetFullscreenRenderWidgetHost() const; | |
| 210 | |
| 207 protected: | 211 protected: |
| 208 virtual ~RenderWidgetHostDelegate() {} | 212 virtual ~RenderWidgetHostDelegate() {} |
| 209 }; | 213 }; |
| 210 | 214 |
| 211 } // namespace content | 215 } // namespace content |
| 212 | 216 |
| 213 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 217 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
| OLD | NEW |