Chromium Code Reviews| Index: content/renderer/render_widget.h |
| diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h |
| index b708ea1f9cdd577a76ecc94d18a903e9e33979e3..6e0ca84b7c89a633501dacf0bfc82a8386a8b661 100644 |
| --- a/content/renderer/render_widget.h |
| +++ b/content/renderer/render_widget.h |
| @@ -131,6 +131,7 @@ class CONTENT_EXPORT RenderWidget |
| // Temporary for debugging purposes... |
| bool closing() const { return closing_; } |
| bool is_swapped_out() { return is_swapped_out_; } |
| + bool for_subframe() { return for_subframe_; } |
| ui::MenuSourceType context_menu_source_type() { |
| return context_menu_source_type_; |
| } |
| @@ -691,6 +692,11 @@ class CONTENT_EXPORT RenderWidget |
| // swapped out, the process can exit. |
| bool is_swapped_out_; |
| + // TODO(simonhong): Remove this when we enable BeginFrame scheduling for |
| + // sub-frame. |
| + // Whether this RenderWidget is for sub-frame or not. |
|
Charlie Reis
2015/04/27 16:47:18
nit: is for an out-of-process iframe or not.
(We
simonhong
2015/04/27 20:49:33
Done.
|
| + bool for_subframe_; |
|
simonhong
2015/04/27 20:49:33
Changed to for_oopif_, too.
|
| + |
| // Indicates if an input method is active in the browser process. |
| bool input_method_is_active_; |