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

Side by Side Diff: cc/trees/single_thread_proxy.cc

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « cc/trees/single_thread_proxy.h ('k') | cc/trees/threaded_channel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/trees/single_thread_proxy.h" 5 #include "cc/trees/single_thread_proxy.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "base/profiler/scoped_tracker.h" 9 #include "base/profiler/scoped_tracker.h"
10 #include "base/trace_event/trace_event.h" 10 #include "base/trace_event/trace_event.h"
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 void SingleThreadProxy::ScheduledActionPrepareTiles() { 727 void SingleThreadProxy::ScheduledActionPrepareTiles() {
728 TRACE_EVENT0("cc", "SingleThreadProxy::ScheduledActionPrepareTiles"); 728 TRACE_EVENT0("cc", "SingleThreadProxy::ScheduledActionPrepareTiles");
729 DebugScopedSetImplThread impl(task_runner_provider_); 729 DebugScopedSetImplThread impl(task_runner_provider_);
730 layer_tree_host_impl_->PrepareTiles(); 730 layer_tree_host_impl_->PrepareTiles();
731 } 731 }
732 732
733 void SingleThreadProxy::ScheduledActionInvalidateCompositorFrameSink() { 733 void SingleThreadProxy::ScheduledActionInvalidateCompositorFrameSink() {
734 NOTREACHED(); 734 NOTREACHED();
735 } 735 }
736 736
737 void SingleThreadProxy::UpdateTopControlsState(TopControlsState constraints, 737 void SingleThreadProxy::UpdateBrowserControlsState(
738 TopControlsState current, 738 BrowserControlsState constraints,
739 bool animate) { 739 BrowserControlsState current,
740 NOTREACHED() << "Top Controls are used only in threaded mode"; 740 bool animate) {
741 NOTREACHED() << "Browser Controls are used only in threaded mode";
741 } 742 }
742 743
743 void SingleThreadProxy::DidFinishImplFrame() { 744 void SingleThreadProxy::DidFinishImplFrame() {
744 layer_tree_host_impl_->DidFinishImplFrame(); 745 layer_tree_host_impl_->DidFinishImplFrame();
745 #if DCHECK_IS_ON() 746 #if DCHECK_IS_ON()
746 DCHECK(inside_impl_frame_) 747 DCHECK(inside_impl_frame_)
747 << "DidFinishImplFrame called while not inside an impl frame!"; 748 << "DidFinishImplFrame called while not inside an impl frame!";
748 inside_impl_frame_ = false; 749 inside_impl_frame_ = false;
749 #endif 750 #endif
750 } 751 }
751 752
752 } // namespace cc 753 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.h ('k') | cc/trees/threaded_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698