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

Unified Diff: cc/output/overlay_candidate_validator.h

Issue 1304303002: Mac Overlays: Add sandwich strategy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@overlay_debug
Patch Set: incorporate review feedback Created 5 years, 4 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
« no previous file with comments | « cc/output/overlay_candidate.cc ('k') | cc/output/overlay_processor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/overlay_candidate_validator.h
diff --git a/cc/output/overlay_candidate_validator.h b/cc/output/overlay_candidate_validator.h
index 60647316f8b56b6f2944710142d17ec86b996ac5..8586b4de1703d9f31b3bd4841fcc7ed73a2b8866 100644
--- a/cc/output/overlay_candidate_validator.h
+++ b/cc/output/overlay_candidate_validator.h
@@ -9,6 +9,7 @@
#include "cc/base/cc_export.h"
#include "cc/output/overlay_candidate.h"
+#include "cc/output/overlay_processor.h"
namespace cc {
@@ -16,6 +17,9 @@ namespace cc {
// configurations for a particular output device.
class CC_EXPORT OverlayCandidateValidator {
public:
+ // Populates a list of strategies that may work with this validator.
+ virtual void GetStrategies(OverlayProcessor::StrategyList* strategies) = 0;
+
// A list of possible overlay candidates is presented to this function.
// The expected result is that those candidates that can be in a separate
// plane are marked with |overlay_handled| set to true, otherwise they are
« no previous file with comments | « cc/output/overlay_candidate.cc ('k') | cc/output/overlay_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698