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

Unified Diff: ui/ozone/platform/headless/headless_surface_factory.h

Issue 1410123003: Rename "test" ozone platform to "headless" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final fix Created 5 years, 1 month 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
« no previous file with comments | « ui/ozone/platform/headless/headless.gypi ('k') | ui/ozone/platform/headless/headless_surface_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/headless/headless_surface_factory.h
diff --git a/ui/ozone/platform/test/test_surface_factory.h b/ui/ozone/platform/headless/headless_surface_factory.h
similarity index 50%
rename from ui/ozone/platform/test/test_surface_factory.h
rename to ui/ozone/platform/headless/headless_surface_factory.h
index 98002ecc20661bf9559961d600ad2deaae260bf7..b715cbccf552a7b487c253c8d924fa5bdba69ecf 100644
--- a/ui/ozone/platform/test/test_surface_factory.h
+++ b/ui/ozone/platform/headless/headless_surface_factory.h
@@ -2,20 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_OZONE_PLATFORM_TEST_TEST_SURFACE_FACTORY_H_
-#define UI_OZONE_PLATFORM_TEST_TEST_SURFACE_FACTORY_H_
+#ifndef UI_OZONE_PLATFORM_HEADLESS_HEADLESS_SURFACE_FACTORY_H_
+#define UI_OZONE_PLATFORM_HEADLESS_HEADLESS_SURFACE_FACTORY_H_
+#include "base/macros.h"
#include "ui/ozone/public/surface_factory_ozone.h"
namespace ui {
-class TestWindowManager;
+class HeadlessWindowManager;
-class TestSurfaceFactory : public SurfaceFactoryOzone {
+class HeadlessSurfaceFactory : public SurfaceFactoryOzone {
public:
- TestSurfaceFactory();
- explicit TestSurfaceFactory(TestWindowManager* window_manager);
- ~TestSurfaceFactory() override;
+ HeadlessSurfaceFactory();
+ explicit HeadlessSurfaceFactory(HeadlessWindowManager* window_manager);
+ ~HeadlessSurfaceFactory() override;
// SurfaceFactoryOzone:
scoped_ptr<SurfaceOzoneCanvas> CreateCanvasForWidget(
@@ -25,11 +26,11 @@ class TestSurfaceFactory : public SurfaceFactoryOzone {
SetGLGetProcAddressProcCallback set_gl_get_proc_address) override;
private:
- TestWindowManager* window_manager_;
+ HeadlessWindowManager* window_manager_;
- DISALLOW_COPY_AND_ASSIGN(TestSurfaceFactory);
+ DISALLOW_COPY_AND_ASSIGN(HeadlessSurfaceFactory);
};
} // namespace ui
-#endif // UI_OZONE_PLATFORM_TEST_TEST_SURFACE_FACTORY_H_
+#endif // UI_OZONE_PLATFORM_HEADLESS_HEADLESS_SURFACE_FACTORY_H_
« no previous file with comments | « ui/ozone/platform/headless/headless.gypi ('k') | ui/ozone/platform/headless/headless_surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698