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

Unified Diff: components/display_compositor/compositor_overlay_candidate_validator_mac.mm

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 side-by-side diff with in-line comments
Download patch
Index: components/display_compositor/compositor_overlay_candidate_validator_mac.mm
diff --git a/components/display_compositor/compositor_overlay_candidate_validator_mac.mm b/components/display_compositor/compositor_overlay_candidate_validator_mac.mm
deleted file mode 100644
index 336cc8fbdfd66c86185b846922eced86ebceec4a..0000000000000000000000000000000000000000
--- a/components/display_compositor/compositor_overlay_candidate_validator_mac.mm
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/display_compositor/compositor_overlay_candidate_validator_mac.h"
-
-#include <stddef.h>
-
-namespace display_compositor {
-
-CompositorOverlayCandidateValidatorMac::CompositorOverlayCandidateValidatorMac(
- bool ca_layer_disabled)
- : software_mirror_active_(false), ca_layer_disabled_(ca_layer_disabled) {}
-
-CompositorOverlayCandidateValidatorMac::
- ~CompositorOverlayCandidateValidatorMac() {}
-
-void CompositorOverlayCandidateValidatorMac::GetStrategies(
- cc::OverlayProcessor::StrategyList* strategies) {}
-
-bool CompositorOverlayCandidateValidatorMac::AllowCALayerOverlays() {
- return !ca_layer_disabled_ && !software_mirror_active_;
-}
-
-bool CompositorOverlayCandidateValidatorMac::AllowDCLayerOverlays() {
- return false;
-}
-
-void CompositorOverlayCandidateValidatorMac::CheckOverlaySupport(
- cc::OverlayCandidateList* surfaces) {}
-
-void CompositorOverlayCandidateValidatorMac::SetSoftwareMirrorMode(
- bool enabled) {
- software_mirror_active_ = enabled;
-}
-
-} // namespace display_compositor

Powered by Google App Engine
This is Rietveld 408576698