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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
187 virtual void SendScreenRects() {} | 187 virtual void SendScreenRects() {} |
188 | 188 |
189 // Notifies that the main frame in the renderer has performed the first paint | 189 // Notifies that the main frame in the renderer has performed the first paint |
190 // after a navigation. | 190 // after a navigation. |
191 virtual void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) { | 191 virtual void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) { |
192 } | 192 } |
193 | 193 |
194 // Returns the TextInputManager tracking text input state. | 194 // Returns the TextInputManager tracking text input state. |
195 virtual TextInputManager* GetTextInputManager(); | 195 virtual TextInputManager* GetTextInputManager(); |
196 | 196 |
197 // Returns true if this RenderWidgetHost should be hidden. | |
kenrb
2016/07/18 17:11:45
I don't think this comment is very clear. My inter
lfg
2016/07/18 17:44:00
Yes, that interpretation is correct. I tried to cl
| |
198 virtual bool IsHidden(); | |
199 | |
197 protected: | 200 protected: |
198 virtual ~RenderWidgetHostDelegate() {} | 201 virtual ~RenderWidgetHostDelegate() {} |
199 }; | 202 }; |
200 | 203 |
201 } // namespace content | 204 } // namespace content |
202 | 205 |
203 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 206 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
OLD | NEW |