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

Side by Side Diff: ui/ozone/platform/test/ozone_platform_test.h

Issue 44053005: Implement --ozone-platform flag to select OzonePlatform implementation at runtime (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 UI_OZONE_PLATFORM_TEST_OZONE_PLATFORM_TEST_H_ 5 #ifndef UI_OZONE_PLATFORM_TEST_OZONE_PLATFORM_TEST_H_
6 #define UI_OZONE_PLATFORM_TEST_OZONE_PLATFORM_TEST_H_ 6 #define UI_OZONE_PLATFORM_TEST_OZONE_PLATFORM_TEST_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "ui/events/ozone/evdev/event_factory.h" 9 #include "ui/events/ozone/evdev/event_factory.h"
10 #include "ui/gfx/ozone/impl/file_surface_factory_ozone.h" 10 #include "ui/gfx/ozone/impl/file_surface_factory_ozone.h"
(...skipping 12 matching lines...) Expand all
23 virtual gfx::SurfaceFactoryOzone* GetSurfaceFactoryOzone() OVERRIDE; 23 virtual gfx::SurfaceFactoryOzone* GetSurfaceFactoryOzone() OVERRIDE;
24 virtual ui::EventFactoryOzone* GetEventFactoryOzone() OVERRIDE; 24 virtual ui::EventFactoryOzone* GetEventFactoryOzone() OVERRIDE;
25 25
26 private: 26 private:
27 gfx::FileSurfaceFactoryOzone surface_factory_ozone_; 27 gfx::FileSurfaceFactoryOzone surface_factory_ozone_;
28 ui::EventFactoryEvdev event_factory_ozone_; 28 ui::EventFactoryEvdev event_factory_ozone_;
29 29
30 DISALLOW_COPY_AND_ASSIGN(OzonePlatformTest); 30 DISALLOW_COPY_AND_ASSIGN(OzonePlatformTest);
31 }; 31 };
32 32
33 // Constructor hook for use in ozone_platform_list.cc
34 OzonePlatform* CreateOzonePlatformTest();
35
33 } // namespace ui 36 } // namespace ui
34 37
35 #endif // UI_OZONE_PLATFORM_TEST_OZONE_PLATFORM_TEST_H_ 38 #endif // UI_OZONE_PLATFORM_TEST_OZONE_PLATFORM_TEST_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/ozone_platform_dri.cc ('k') | ui/ozone/platform/test/ozone_platform_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698