OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CC_OUTPUT_OVERLAY_CANDIDATE_VALIDATOR_H_ | 5 #ifndef CC_OUTPUT_OVERLAY_CANDIDATE_VALIDATOR_H_ |
6 #define CC_OUTPUT_OVERLAY_CANDIDATE_VALIDATOR_H_ | 6 #define CC_OUTPUT_OVERLAY_CANDIDATE_VALIDATOR_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "cc/base/cc_export.h" | 10 #include "cc/cc_export.h" |
11 #include "cc/output/overlay_candidate.h" | 11 #include "cc/output/overlay_candidate.h" |
12 #include "cc/output/overlay_processor.h" | 12 #include "cc/output/overlay_processor.h" |
13 | 13 |
14 namespace cc { | 14 namespace cc { |
15 | 15 |
16 // This class that can be used to answer questions about possible overlay | 16 // This class that can be used to answer questions about possible overlay |
17 // configurations for a particular output device. | 17 // configurations for a particular output device. |
18 class CC_EXPORT OverlayCandidateValidator { | 18 class CC_EXPORT OverlayCandidateValidator { |
19 public: | 19 public: |
20 // Populates a list of strategies that may work with this validator. | 20 // Populates a list of strategies that may work with this validator. |
(...skipping 13 matching lines...) Expand all Loading... |
34 // true must also have their |display_rect| converted to integer | 34 // true must also have their |display_rect| converted to integer |
35 // coordinates if necessary. | 35 // coordinates if necessary. |
36 virtual void CheckOverlaySupport(OverlayCandidateList* surfaces) = 0; | 36 virtual void CheckOverlaySupport(OverlayCandidateList* surfaces) = 0; |
37 | 37 |
38 virtual ~OverlayCandidateValidator() {} | 38 virtual ~OverlayCandidateValidator() {} |
39 }; | 39 }; |
40 | 40 |
41 } // namespace cc | 41 } // namespace cc |
42 | 42 |
43 #endif // CC_OUTPUT_OVERLAY_CANDIDATE_VALIDATOR_H_ | 43 #endif // CC_OUTPUT_OVERLAY_CANDIDATE_VALIDATOR_H_ |
OLD | NEW |