OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATO
R_H_ | 5 #ifndef COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_H_ |
6 #define CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATO
R_H_ | 6 #define COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_H_ |
7 | |
8 #include "cc/output/overlay_candidate_validator.h" | |
9 | 7 |
10 #include "base/macros.h" | 8 #include "base/macros.h" |
11 #include "content/common/content_export.h" | 9 #include "cc/output/overlay_candidate_validator.h" |
| 10 #include "components/display_compositor/display_compositor_export.h" |
12 | 11 |
13 namespace content { | 12 namespace display_compositor { |
14 | 13 |
15 class CONTENT_EXPORT BrowserCompositorOverlayCandidateValidator | 14 class DISPLAY_COMPOSITOR_EXPORT CompositorOverlayCandidateValidator |
16 : public cc::OverlayCandidateValidator { | 15 : public cc::OverlayCandidateValidator { |
17 public: | 16 public: |
18 BrowserCompositorOverlayCandidateValidator() {} | 17 CompositorOverlayCandidateValidator() {} |
19 ~BrowserCompositorOverlayCandidateValidator() override {} | 18 ~CompositorOverlayCandidateValidator() override {} |
20 | 19 |
21 virtual void SetSoftwareMirrorMode(bool enabled) = 0; | 20 virtual void SetSoftwareMirrorMode(bool enabled) = 0; |
22 | 21 |
23 private: | 22 private: |
24 DISALLOW_COPY_AND_ASSIGN(BrowserCompositorOverlayCandidateValidator); | 23 DISALLOW_COPY_AND_ASSIGN(CompositorOverlayCandidateValidator); |
25 }; | 24 }; |
26 | 25 |
27 } // namespace content | 26 } // namespace display_compositor |
28 | 27 |
29 #endif // CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OVERLAY_CANDIDATE_VALID
ATOR_H_ | 28 #endif // COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_
H_ |
OLD | NEW |