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

Unified Diff: ui/ozone/platform/headless/headless_window.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
Index: ui/ozone/platform/headless/headless_window.h
diff --git a/ui/ozone/platform/test/test_window.h b/ui/ozone/platform/headless/headless_window.h
similarity index 70%
rename from ui/ozone/platform/test/test_window.h
rename to ui/ozone/platform/headless/headless_window.h
index 0dacf33a8e740b88045f7e506b32503636c0c74e..5587b6539735d2f19c16c6c9e2e0d48aca70f137 100644
--- a/ui/ozone/platform/test/test_window.h
+++ b/ui/ozone/platform/headless/headless_window.h
@@ -2,10 +2,11 @@
// 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_WINDOW_H_
-#define UI_OZONE_PLATFORM_TEST_TEST_WINDOW_H_
+#ifndef UI_OZONE_PLATFORM_HEADLESS_HEADLESS_WINDOW_H_
+#define UI_OZONE_PLATFORM_HEADLESS_HEADLESS_WINDOW_H_
#include "base/files/file_path.h"
+#include "base/macros.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/platform_window/platform_window.h"
@@ -13,14 +14,14 @@
namespace ui {
class PlatformWindowDelegate;
-class TestWindowManager;
+class HeadlessWindowManager;
-class TestWindow : public PlatformWindow {
+class HeadlessWindow : public PlatformWindow {
public:
- TestWindow(PlatformWindowDelegate* delegate,
- TestWindowManager* manager,
- const gfx::Rect& bounds);
- ~TestWindow() override;
+ HeadlessWindow(PlatformWindowDelegate* delegate,
+ HeadlessWindowManager* manager,
+ const gfx::Rect& bounds);
+ ~HeadlessWindow() override;
// Path for image file for this window.
base::FilePath path();
@@ -45,13 +46,13 @@ class TestWindow : public PlatformWindow {
private:
PlatformWindowDelegate* delegate_;
- TestWindowManager* manager_;
+ HeadlessWindowManager* manager_;
gfx::Rect bounds_;
gfx::AcceleratedWidget widget_;
- DISALLOW_COPY_AND_ASSIGN(TestWindow);
+ DISALLOW_COPY_AND_ASSIGN(HeadlessWindow);
};
} // namespace ui
-#endif // UI_OZONE_PLATFORM_TEST_TEST_WINDOW_H_
+#endif // UI_OZONE_PLATFORM_HEADLESS_HEADLESS_WINDOW_H_
« no previous file with comments | « ui/ozone/platform/headless/headless_surface_factory.cc ('k') | ui/ozone/platform/headless/headless_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698