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 |