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

Unified Diff: components/display_compositor/gl_helper_readback_support.h

Issue 1902463002: Introduce components/display_compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove bot changes. Will do in a separate CL 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/gl_helper_readback_support.h
diff --git a/content/browser/compositor/gl_helper_readback_support.h b/components/display_compositor/gl_helper_readback_support.h
similarity index 84%
rename from content/browser/compositor/gl_helper_readback_support.h
rename to components/display_compositor/gl_helper_readback_support.h
index 8f83a1fbc6ba3c9a9c2df2d9ac540f497d44bdc5..039a2b6bec35b9411384f4562fe19dcdc5feb60d 100644
--- a/content/browser/compositor/gl_helper_readback_support.h
+++ b/components/display_compositor/gl_helper_readback_support.h
@@ -2,18 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_COMPOSITOR_GL_HELPER_READBACK_SUPPORT_H_
-#define CONTENT_BROWSER_COMPOSITOR_GL_HELPER_READBACK_SUPPORT_H_
+#ifndef COMPONENTS_DISPLAY_COMPOSITOR_GL_HELPER_READBACK_SUPPORT_H_
+#define COMPONENTS_DISPLAY_COMPOSITOR_GL_HELPER_READBACK_SUPPORT_H_
#include <stddef.h>
#include <vector>
-#include "content/browser/compositor/gl_helper.h"
+#include "components/display_compositor/display_compositor_export.h"
+#include "components/display_compositor/gl_helper.h"
-namespace content {
+namespace display_compositor {
-class CONTENT_EXPORT GLHelperReadbackSupport {
+class DISPLAY_COMPOSITOR_EXPORT GLHelperReadbackSupport {
public:
enum FormatSupport { SUPPORTED, SWIZZLE, NOT_SUPPORTED };
@@ -70,6 +71,6 @@ class CONTENT_EXPORT GLHelperReadbackSupport {
std::vector<struct FormatCacheEntry> format_cache_;
};
-} // namespace content
+} // namespace display_compositor
-#endif // CONTENT_BROWSER_COMPOSITOR_GL_HELPER_READBACK_SUPPORT_H_
+#endif // COMPONENTS_DISPLAY_COMPOSITOR_GL_HELPER_READBACK_SUPPORT_H_
« no previous file with comments | « components/display_compositor/gl_helper_benchmark.cc ('k') | components/display_compositor/gl_helper_readback_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698