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

Unified Diff: services/ui/ws/platform_display_factory.h

Issue 2512593003: Cleanup display creation in mus tests. (Closed)
Patch Set: Make const. Created 4 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 | « services/ui/ws/platform_display_default.cc ('k') | services/ui/ws/test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/platform_display_factory.h
diff --git a/services/ui/ws/platform_display_factory.h b/services/ui/ws/platform_display_factory.h
index 80bd1c107d65c51a09e60d33d5294d9ec42fd819..e0f1be93d70fbdf80f06f2c0c7b821f086771e56 100644
--- a/services/ui/ws/platform_display_factory.h
+++ b/services/ui/ws/platform_display_factory.h
@@ -11,12 +11,14 @@ namespace ui {
namespace ws {
class PlatformDisplay;
+struct PlatformDisplayInitParams;
// Abstract factory for PlatformDisplays. Used by tests to construct test
// PlatformDisplays.
class PlatformDisplayFactory {
public:
- virtual std::unique_ptr<PlatformDisplay> CreatePlatformDisplay() = 0;
+ virtual std::unique_ptr<PlatformDisplay> CreatePlatformDisplay(
+ const PlatformDisplayInitParams& init_params) = 0;
};
} // namespace ws
« no previous file with comments | « services/ui/ws/platform_display_default.cc ('k') | services/ui/ws/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698