Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 8db96130c74303927c5712016310f894d3d87349..6ce5e2c02a67d6ce4a29a05bc1cd47bc9ae20bf4 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -572,6 +572,13 @@ bool LayerTreeHost::IsVisible() const { |
return visible_; |
} |
+void LayerTreeHost::SetIsFullscreen(bool is_fullscreen) { |
+ if (is_fullscreen_ == is_fullscreen) |
+ return; |
+ is_fullscreen_ = is_fullscreen; |
+ proxy_->SetIsFullscreen(is_fullscreen); |
+} |
+ |
void LayerTreeHost::NotifyInputThrottledUntilCommit() { |
proxy_->NotifyInputThrottledUntilCommit(); |
} |