OLD | NEW |
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 862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
873 void SingleThreadProxy::ScheduledActionInvalidateOutputSurface() { | 873 void SingleThreadProxy::ScheduledActionInvalidateOutputSurface() { |
874 NOTREACHED(); | 874 NOTREACHED(); |
875 } | 875 } |
876 | 876 |
877 void SingleThreadProxy::UpdateTopControlsState(TopControlsState constraints, | 877 void SingleThreadProxy::UpdateTopControlsState(TopControlsState constraints, |
878 TopControlsState current, | 878 TopControlsState current, |
879 bool animate) { | 879 bool animate) { |
880 NOTREACHED() << "Top Controls are used only in threaded mode"; | 880 NOTREACHED() << "Top Controls are used only in threaded mode"; |
881 } | 881 } |
882 | 882 |
883 void SingleThreadProxy::SetOutputIsSecure(bool output_is_secure) { | |
884 layer_tree_host_impl_->set_output_is_secure(output_is_secure); | |
885 } | |
886 | |
887 void SingleThreadProxy::DidFinishImplFrame() { | 883 void SingleThreadProxy::DidFinishImplFrame() { |
888 layer_tree_host_impl_->DidFinishImplFrame(); | 884 layer_tree_host_impl_->DidFinishImplFrame(); |
889 #if DCHECK_IS_ON() | 885 #if DCHECK_IS_ON() |
890 DCHECK(inside_impl_frame_) | 886 DCHECK(inside_impl_frame_) |
891 << "DidFinishImplFrame called while not inside an impl frame!"; | 887 << "DidFinishImplFrame called while not inside an impl frame!"; |
892 inside_impl_frame_ = false; | 888 inside_impl_frame_ = false; |
893 #endif | 889 #endif |
894 } | 890 } |
895 | 891 |
896 } // namespace cc | 892 } // namespace cc |
OLD | NEW |