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

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

Issue 1968363002: SurfaceAggregator should check whether output is secure when drawin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
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 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 void SingleThreadProxy::ScheduledActionInvalidateOutputSurface() { 868 void SingleThreadProxy::ScheduledActionInvalidateOutputSurface() {
869 NOTREACHED(); 869 NOTREACHED();
870 } 870 }
871 871
872 void SingleThreadProxy::UpdateTopControlsState(TopControlsState constraints, 872 void SingleThreadProxy::UpdateTopControlsState(TopControlsState constraints,
873 TopControlsState current, 873 TopControlsState current,
874 bool animate) { 874 bool animate) {
875 NOTREACHED() << "Top Controls are used only in threaded mode"; 875 NOTREACHED() << "Top Controls are used only in threaded mode";
876 } 876 }
877 877
878 void SingleThreadProxy::SetOutputIsSecure(bool output_is_secure) {
879 layer_tree_host_impl_->set_output_is_secure(output_is_secure);
880 }
881
882 void SingleThreadProxy::DidFinishImplFrame() { 878 void SingleThreadProxy::DidFinishImplFrame() {
883 layer_tree_host_impl_->DidFinishImplFrame(); 879 layer_tree_host_impl_->DidFinishImplFrame();
884 #if DCHECK_IS_ON() 880 #if DCHECK_IS_ON()
885 DCHECK(inside_impl_frame_) 881 DCHECK(inside_impl_frame_)
886 << "DidFinishImplFrame called while not inside an impl frame!"; 882 << "DidFinishImplFrame called while not inside an impl frame!";
887 inside_impl_frame_ = false; 883 inside_impl_frame_ = false;
888 #endif 884 #endif
889 } 885 }
890 886
891 } // namespace cc 887 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698