Index: components/display_compositor/compositor_overlay_candidate_validator_android.h |
diff --git a/components/display_compositor/compositor_overlay_candidate_validator_android.h b/components/display_compositor/compositor_overlay_candidate_validator_android.h |
index 0dd3becf66b4339ab72b14e7badd4d5e9b8d7944..7106c6b45b34ec1cdc6b0f1f1297dba144a08749 100644 |
--- a/components/display_compositor/compositor_overlay_candidate_validator_android.h |
+++ b/components/display_compositor/compositor_overlay_candidate_validator_android.h |
@@ -5,7 +5,10 @@ |
#ifndef COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_ANDROID_H_ |
#define COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_ANDROID_H_ |
+#include <set> |
+ |
#include "base/macros.h" |
+#include "cc/base/resource_id.h" |
#include "components/display_compositor/compositor_overlay_candidate_validator.h" |
#include "components/display_compositor/display_compositor_export.h" |
@@ -31,7 +34,13 @@ class DISPLAY_COMPOSITOR_EXPORT CompositorOverlayCandidateValidatorAndroid |
void SetSoftwareMirrorMode(bool enabled) override; |
+ void ClearPromotableResources() override; |
+ |
+ bool IsResourcePromotable(cc::ResourceId resource_id) override; |
+ |
private: |
+ std::set<cc::ResourceId> promotable_resources_; |
+ |
DISALLOW_COPY_AND_ASSIGN(CompositorOverlayCandidateValidatorAndroid); |
}; |