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

Unified Diff: content/browser/compositor/browser_compositor_overlay_candidate_validator_mac.mm

Issue 1931213002: display_compositor: Move CompositorOverlayCandidateValidator from content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DONE_2016.04.28_dc-overlay-candidate-validator
Patch Set: . Created 4 years, 8 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: content/browser/compositor/browser_compositor_overlay_candidate_validator_mac.mm
diff --git a/content/browser/compositor/browser_compositor_overlay_candidate_validator_mac.mm b/content/browser/compositor/browser_compositor_overlay_candidate_validator_mac.mm
deleted file mode 100644
index c6822d9bcb63e47f25ff730a20c9b51ce873e3ea..0000000000000000000000000000000000000000
--- a/content/browser/compositor/browser_compositor_overlay_candidate_validator_mac.mm
+++ /dev/null
@@ -1,36 +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 "content/browser/compositor/browser_compositor_overlay_candidate_validator_mac.h"
-
-#include <stddef.h>
-
-namespace content {
-
-BrowserCompositorOverlayCandidateValidatorMac::
- BrowserCompositorOverlayCandidateValidatorMac(bool ca_layer_disabled)
- : software_mirror_active_(false), ca_layer_disabled_(ca_layer_disabled) {}
-
-BrowserCompositorOverlayCandidateValidatorMac::
- ~BrowserCompositorOverlayCandidateValidatorMac() {
-}
-
-void BrowserCompositorOverlayCandidateValidatorMac::GetStrategies(
- cc::OverlayProcessor::StrategyList* strategies) {
-}
-
-bool BrowserCompositorOverlayCandidateValidatorMac::AllowCALayerOverlays() {
- return !ca_layer_disabled_ && !software_mirror_active_;
-}
-
-void BrowserCompositorOverlayCandidateValidatorMac::CheckOverlaySupport(
- cc::OverlayCandidateList* surfaces) {
-}
-
-void BrowserCompositorOverlayCandidateValidatorMac::SetSoftwareMirrorMode(
- bool enabled) {
- software_mirror_active_ = enabled;
-}
-
-} // namespace content

Powered by Google App Engine
This is Rietveld 408576698