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

Unified 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, 8 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 side-by-side diff with in-line comments
Download patch
Index: components/display_compositor/compositor_overlay_candidate_validator.h
diff --git a/content/browser/compositor/browser_compositor_overlay_candidate_validator.h b/components/display_compositor/compositor_overlay_candidate_validator.h
similarity index 38%
rename from content/browser/compositor/browser_compositor_overlay_candidate_validator.h
rename to components/display_compositor/compositor_overlay_candidate_validator.h
index 933e7bf34d2801d2197f61a44777e0d508c156cd..faec8a04440add4abdb494b104ba6365ead24216 100644
--- a/content/browser/compositor/browser_compositor_overlay_candidate_validator.h
+++ b/components/display_compositor/compositor_overlay_candidate_validator.h
@@ -2,28 +2,27 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_H_
-#define CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_H_
-
-#include "cc/output/overlay_candidate_validator.h"
+#ifndef COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_H_
+#define COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_H_
#include "base/macros.h"
-#include "content/common/content_export.h"
+#include "cc/output/overlay_candidate_validator.h"
+#include "components/display_compositor/display_compositor_export.h"
-namespace content {
+namespace display_compositor {
-class CONTENT_EXPORT BrowserCompositorOverlayCandidateValidator
+class DISPLAY_COMPOSITOR_EXPORT CompositorOverlayCandidateValidator
: public cc::OverlayCandidateValidator {
public:
- BrowserCompositorOverlayCandidateValidator() {}
- ~BrowserCompositorOverlayCandidateValidator() override {}
+ CompositorOverlayCandidateValidator() {}
+ ~CompositorOverlayCandidateValidator() override {}
virtual void SetSoftwareMirrorMode(bool enabled) = 0;
private:
- DISALLOW_COPY_AND_ASSIGN(BrowserCompositorOverlayCandidateValidator);
+ DISALLOW_COPY_AND_ASSIGN(CompositorOverlayCandidateValidator);
};
-} // namespace content
+} // namespace display_compositor
-#endif // CONTENT_BROWSER_COMPOSITOR_BROWSER_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_H_
+#endif // COMPONENTS_DISPLAY_COMPOSITOR_COMPOSITOR_OVERLAY_CANDIDATE_VALIDATOR_H_
« 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