| 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_STRATEGY_SINGLE_ON_TOP_H_ | 5 #ifndef CC_OUTPUT_OVERLAY_STRATEGY_SINGLE_ON_TOP_H_ |
| 6 #define CC_OUTPUT_OVERLAY_STRATEGY_SINGLE_ON_TOP_H_ | 6 #define CC_OUTPUT_OVERLAY_STRATEGY_SINGLE_ON_TOP_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "cc/output/overlay_processor.h" | 9 #include "cc/output/overlay_processor.h" |
| 9 | 10 |
| 10 namespace cc { | 11 namespace cc { |
| 11 | 12 |
| 12 class OverlayCandidateValidator; | 13 class OverlayCandidateValidator; |
| 13 | 14 |
| 14 class CC_EXPORT OverlayStrategySingleOnTop : public OverlayProcessor::Strategy { | 15 class CC_EXPORT OverlayStrategySingleOnTop : public OverlayProcessor::Strategy { |
| 15 public: | 16 public: |
| 16 explicit OverlayStrategySingleOnTop( | 17 explicit OverlayStrategySingleOnTop( |
| 17 OverlayCandidateValidator* capability_checker); | 18 OverlayCandidateValidator* capability_checker); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 28 QuadList::Iterator candidate_iterator); | 29 QuadList::Iterator candidate_iterator); |
| 29 | 30 |
| 30 OverlayCandidateValidator* capability_checker_; // Weak. | 31 OverlayCandidateValidator* capability_checker_; // Weak. |
| 31 | 32 |
| 32 DISALLOW_COPY_AND_ASSIGN(OverlayStrategySingleOnTop); | 33 DISALLOW_COPY_AND_ASSIGN(OverlayStrategySingleOnTop); |
| 33 }; | 34 }; |
| 34 | 35 |
| 35 } // namespace cc | 36 } // namespace cc |
| 36 | 37 |
| 37 #endif // CC_OUTPUT_OVERLAY_STRATEGY_SINGLE_ON_TOP_H_ | 38 #endif // CC_OUTPUT_OVERLAY_STRATEGY_SINGLE_ON_TOP_H_ |
| OLD | NEW |