Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2066)

Unified Diff: content/renderer/render_widget.h

Issue 1107763002: Disable BeginFrame scheduling for OOPIF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add TODO Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698