Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: components/display_compositor/compositor_overlay_candidate_validator_android.h

Issue 2736643004: Add DCLayerOverlayProcessor and supporting DCLayer structures. (Closed)
Patch Set: split CALayerOverlay into DCLayerOverlay Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_AND ROID_H_ 5 #ifndef COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_AND ROID_H_
6 #define COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_AND ROID_H_ 6 #define COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_AND ROID_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/display_compositor/compositor_overlay_candidate_validator.h " 9 #include "components/display_compositor/compositor_overlay_candidate_validator.h "
10 #include "components/display_compositor/display_compositor_export.h" 10 #include "components/display_compositor/display_compositor_export.h"
(...skipping 10 matching lines...) Expand all
21 // gl compositing. 21 // gl compositing.
22 class DISPLAY_COMPOSITOR_EXPORT CompositorOverlayCandidateValidatorAndroid 22 class DISPLAY_COMPOSITOR_EXPORT CompositorOverlayCandidateValidatorAndroid
23 : public CompositorOverlayCandidateValidator { 23 : public CompositorOverlayCandidateValidator {
24 public: 24 public:
25 CompositorOverlayCandidateValidatorAndroid(); 25 CompositorOverlayCandidateValidatorAndroid();
26 ~CompositorOverlayCandidateValidatorAndroid() override; 26 ~CompositorOverlayCandidateValidatorAndroid() override;
27 27
28 void GetStrategies(cc::OverlayProcessor::StrategyList* strategies) override; 28 void GetStrategies(cc::OverlayProcessor::StrategyList* strategies) override;
29 void CheckOverlaySupport(cc::OverlayCandidateList* surfaces) override; 29 void CheckOverlaySupport(cc::OverlayCandidateList* surfaces) override;
30 bool AllowCALayerOverlays() override; 30 bool AllowCALayerOverlays() override;
31 bool AllowDCLayerOverlays() override;
31 32
32 void SetSoftwareMirrorMode(bool enabled) override; 33 void SetSoftwareMirrorMode(bool enabled) override;
33 34
34 private: 35 private:
35 DISALLOW_COPY_AND_ASSIGN(CompositorOverlayCandidateValidatorAndroid); 36 DISALLOW_COPY_AND_ASSIGN(CompositorOverlayCandidateValidatorAndroid);
36 }; 37 };
37 38
38 } // namespace display_compositor 39 } // namespace display_compositor
39 40
40 #endif // COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_ ANDROID_H_ 41 #endif // COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_ ANDROID_H_
OLDNEW
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | components/display_compositor/compositor_overlay_candidate_validator_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698