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

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

Issue 2503923003: Demonstrate external-window-mode in mus-demo (Closed)
Patch Set: Determine external window mode in mus-ws based on if a WM is connected 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
Index: services/ui/ws/test_utils.h
diff --git a/services/ui/ws/test_utils.h b/services/ui/ws/test_utils.h
index caeba5f98d0c7f9b8abf578104c51f520995393e..5148b0c1c5b75aa2d4bf768c6fca8fb9b209c1ac 100644
--- a/services/ui/ws/test_utils.h
+++ b/services/ui/ws/test_utils.h
@@ -66,7 +66,8 @@ class TestPlatformScreen : public display::PlatformScreen {
// display::PlatformScreen:
void AddInterfaces(service_manager::InterfaceRegistry* registry) override {}
- void Init(display::PlatformScreenDelegate* delegate) override;
+ void Init(display::PlatformScreenDelegate* delegate,
+ bool external_window_mode_) override;
tonikitoo 2016/11/22 03:07:39 nit: trailing "_"
Tom (Use chromium acct) 2016/11/22 19:19:48 Done.
void RequestCloseDisplay(int64_t display_id) override {}
int64_t GetPrimaryDisplayId() const override;
@@ -563,7 +564,7 @@ class TestWindowServerDelegate : public WindowServerDelegate {
bool got_on_no_more_displays() const { return got_on_no_more_displays_; }
// WindowServerDelegate:
- void StartDisplayInit() override;
+ void StartDisplayInit(bool window_manager_connected) override;
void OnNoMoreDisplays() override;
std::unique_ptr<WindowTreeBinding> CreateWindowTreeBinding(
BindingType type,

Powered by Google App Engine
This is Rietveld 408576698