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

Unified Diff: cc/trees/proxy_impl.cc

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test Created 4 years, 2 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
« no previous file with comments | « cc/trees/proxy_impl.h ('k') | cc/trees/proxy_main.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy_impl.cc
diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc
index 1f712a3e2816b4e05db00e3e175ba01484fe53b7..38adc8606f1172b06ab09a3c672f777df58182ae 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -15,7 +15,7 @@
#include "cc/animation/animation_events.h"
#include "cc/debug/benchmark_instrumentation.h"
#include "cc/debug/devtools_instrumentation.h"
-#include "cc/input/top_controls_manager.h"
+#include "cc/input/browser_controls_offset_manager.h"
#include "cc/output/compositor_frame_sink.h"
#include "cc/output/context_provider.h"
#include "cc/scheduler/compositor_timing_history.h"
@@ -111,11 +111,12 @@ void ProxyImpl::InitializeMutatorOnImpl(
layer_tree_host_impl_->SetLayerTreeMutator(std::move(mutator));
}
-void ProxyImpl::UpdateTopControlsStateOnImpl(TopControlsState constraints,
- TopControlsState current,
- bool animate) {
+void ProxyImpl::UpdateBrowserControlsStateOnImpl(
+ BrowserControlsState constraints,
+ BrowserControlsState current,
+ bool animate) {
DCHECK(IsImplThread());
- layer_tree_host_impl_->top_controls_manager()->UpdateTopControlsState(
+ layer_tree_host_impl_->browser_controls_manager()->UpdateBrowserControlsState(
constraints, current, animate);
}
« no previous file with comments | « cc/trees/proxy_impl.h ('k') | cc/trees/proxy_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698