Chromium Code Reviews| Index: content/renderer/render_view_impl.h |
| diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
| index 805dc0742634039f9ff6b68e7eadc99603a88546..1ad1e70ad33037f479612aac247d4454b2ff1f74 100644 |
| --- a/content/renderer/render_view_impl.h |
| +++ b/content/renderer/render_view_impl.h |
| @@ -232,6 +232,8 @@ class CONTENT_EXPORT RenderViewImpl |
| // as that is only for changes that aren't initiated by the client. |
| void SetZoomLevel(double zoom_level); |
| + bool has_focus() const { return has_focus_; } |
|
Charlie Reis
2015/10/14 19:32:52
Let's document what this means. It's page-level f
alexmos
2015/10/14 20:12:33
Done.
|
| + |
| // Plugin-related functions -------------------------------------------------- |
| #if defined(ENABLE_PLUGINS) |
| @@ -873,6 +875,9 @@ class CONTENT_EXPORT RenderViewImpl |
| TopControlsState top_controls_constraints_; |
| #endif |
| + // Indicates whether we have been focused/unfocused by the browser. |
|
Charlie Reis
2015/10/14 19:32:52
s/we have/this page has/
alexmos
2015/10/14 20:12:33
Done.
|
| + bool has_focus_; |
| + |
| // View ---------------------------------------------------------------------- |
| // Cache the preferred size of the page in order to prevent sending the IPC |