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

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

Issue 1931213002: display_compositor: Move CompositorOverlayCandidateValidator from content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DONE_2016.04.28_dc-overlay-candidate-validator
Patch Set: . Created 4 years, 7 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 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_
OLDNEW
« no previous file with comments | « components/display_compositor/DEPS ('k') | components/display_compositor/compositor_overlay_candidate_validator_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698