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

Side by Side Diff: components/viz/display_compositor/compositor_overlay_candidate_validator_android.cc

Issue 2873243002: Move components/display_compositor to components/viz/display_compositor (Closed)
Patch Set: Rebase Created 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/display_compositor/compositor_overlay_candidate_validator_a ndroid.h" 5 #include "components/viz/display_compositor/compositor_overlay_candidate_validat or_android.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "cc/output/overlay_processor.h" 10 #include "cc/output/overlay_processor.h"
11 #include "cc/output/overlay_strategy_underlay.h" 11 #include "cc/output/overlay_strategy_underlay.h"
12 #include "ui/gfx/geometry/rect_conversions.h" 12 #include "ui/gfx/geometry/rect_conversions.h"
13 13
14 namespace display_compositor { 14 namespace viz {
15 15
16 CompositorOverlayCandidateValidatorAndroid:: 16 CompositorOverlayCandidateValidatorAndroid::
17 CompositorOverlayCandidateValidatorAndroid() {} 17 CompositorOverlayCandidateValidatorAndroid() {}
18 18
19 CompositorOverlayCandidateValidatorAndroid:: 19 CompositorOverlayCandidateValidatorAndroid::
20 ~CompositorOverlayCandidateValidatorAndroid() {} 20 ~CompositorOverlayCandidateValidatorAndroid() {}
21 21
22 void CompositorOverlayCandidateValidatorAndroid::GetStrategies( 22 void CompositorOverlayCandidateValidatorAndroid::GetStrategies(
23 cc::OverlayProcessor::StrategyList* strategies) { 23 cc::OverlayProcessor::StrategyList* strategies) {
24 strategies->push_back(base::MakeUnique<cc::OverlayStrategyUnderlay>(this)); 24 strategies->push_back(base::MakeUnique<cc::OverlayStrategyUnderlay>(this));
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 bool CompositorOverlayCandidateValidatorAndroid::AllowDCLayerOverlays() { 59 bool CompositorOverlayCandidateValidatorAndroid::AllowDCLayerOverlays() {
60 return false; 60 return false;
61 } 61 }
62 62
63 // Overlays will still be allowed when software mirroring is enabled, even 63 // Overlays will still be allowed when software mirroring is enabled, even
64 // though they won't appear in the mirror. 64 // though they won't appear in the mirror.
65 void CompositorOverlayCandidateValidatorAndroid::SetSoftwareMirrorMode( 65 void CompositorOverlayCandidateValidatorAndroid::SetSoftwareMirrorMode(
66 bool enabled) {} 66 bool enabled) {}
67 67
68 } // namespace display_compositor 68 } // namespace viz
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698