| // 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. |
| |
| #ifndef COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_H_ |
| #define COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_H_ |
| |
| #include "base/macros.h" |
| #include "cc/output/overlay_candidate_validator.h" |
| #include "components/display_compositor/display_compositor_export.h" |
| |
| namespace display_compositor { |
| |
| class DISPLAY_COMPOSITOR_EXPORT CompositorOverlayCandidateValidator |
| : public cc::OverlayCandidateValidator { |
| public: |
| CompositorOverlayCandidateValidator() {} |
| ~CompositorOverlayCandidateValidator() override {} |
| |
| virtual void SetSoftwareMirrorMode(bool enabled) = 0; |
| |
| private: |
| DISALLOW_COPY_AND_ASSIGN(CompositorOverlayCandidateValidator); |
| }; |
| |
| } // namespace display_compositor |
| |
| #endif // COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_H_ |