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

Side by Side Diff: services/ui/display/platform_screen_ozone.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 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 SERVICES_UI_DISPLAY_PLATFORM_SCREEN_OZONE_H_ 5 #ifndef SERVICES_UI_DISPLAY_PLATFORM_SCREEN_OZONE_H_
6 #define SERVICES_UI_DISPLAY_PLATFORM_SCREEN_OZONE_H_ 6 #define SERVICES_UI_DISPLAY_PLATFORM_SCREEN_OZONE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 23 matching lines...) Expand all
34 public service_manager::InterfaceFactory<mojom::DisplayController>, 34 public service_manager::InterfaceFactory<mojom::DisplayController>,
35 public service_manager::InterfaceFactory<mojom::TestDisplayController>, 35 public service_manager::InterfaceFactory<mojom::TestDisplayController>,
36 public mojom::DisplayController, 36 public mojom::DisplayController,
37 public mojom::TestDisplayController { 37 public mojom::TestDisplayController {
38 public: 38 public:
39 PlatformScreenOzone(); 39 PlatformScreenOzone();
40 ~PlatformScreenOzone() override; 40 ~PlatformScreenOzone() override;
41 41
42 // PlatformScreen: 42 // PlatformScreen:
43 void AddInterfaces(service_manager::InterfaceRegistry* registry) override; 43 void AddInterfaces(service_manager::InterfaceRegistry* registry) override;
44 void Init(PlatformScreenDelegate* delegate) override; 44 void Init(PlatformScreenDelegate* delegate,
45 bool external_window_mode) override;
45 void RequestCloseDisplay(int64_t display_id) override; 46 void RequestCloseDisplay(int64_t display_id) override;
46 int64_t GetPrimaryDisplayId() const override; 47 int64_t GetPrimaryDisplayId() const override;
47 48
48 // mojom::TestDisplayController: 49 // mojom::TestDisplayController:
49 void ToggleAddRemoveDisplay() override; 50 void ToggleAddRemoveDisplay() override;
50 void ToggleDisplayResolution() override; 51 void ToggleDisplayResolution() override;
51 52
52 // mojom::DisplayController: 53 // mojom::DisplayController:
53 void SwapPrimaryDisplay() override; 54 void SwapPrimaryDisplay() override;
54 void SetDisplayWorkArea(int64_t display_id, 55 void SetDisplayWorkArea(int64_t display_id,
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 157
157 mojo::BindingSet<mojom::DisplayController> controller_bindings_; 158 mojo::BindingSet<mojom::DisplayController> controller_bindings_;
158 mojo::BindingSet<mojom::TestDisplayController> test_bindings_; 159 mojo::BindingSet<mojom::TestDisplayController> test_bindings_;
159 160
160 DISALLOW_COPY_AND_ASSIGN(PlatformScreenOzone); 161 DISALLOW_COPY_AND_ASSIGN(PlatformScreenOzone);
161 }; 162 };
162 163
163 } // namespace display 164 } // namespace display
164 165
165 #endif // SERVICES_UI_DISPLAY_PLATFORM_SCREEN_OZONE_H_ 166 #endif // SERVICES_UI_DISPLAY_PLATFORM_SCREEN_OZONE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698