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

Side by Side Diff: services/ui/display/platform_screen_ozone.h

Issue 2503923003: Demonstrate external-window-mode in mus-demo (Closed)
Patch Set: Wrap comment 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 24 matching lines...) Expand all
35 public service_manager::InterfaceFactory<mojom::DisplayController>, 35 public service_manager::InterfaceFactory<mojom::DisplayController>,
36 public service_manager::InterfaceFactory<mojom::TestDisplayController>, 36 public service_manager::InterfaceFactory<mojom::TestDisplayController>,
37 public mojom::DisplayController, 37 public mojom::DisplayController,
38 public mojom::TestDisplayController { 38 public mojom::TestDisplayController {
39 public: 39 public:
40 PlatformScreenOzone(); 40 PlatformScreenOzone();
41 ~PlatformScreenOzone() override; 41 ~PlatformScreenOzone() override;
42 42
43 // PlatformScreen: 43 // PlatformScreen:
44 void AddInterfaces(service_manager::InterfaceRegistry* registry) override; 44 void AddInterfaces(service_manager::InterfaceRegistry* registry) override;
45 void Init(PlatformScreenDelegate* delegate) override; 45 void Init(PlatformScreenDelegate* delegate, WindowMode window_mode) override;
46 void RequestCloseDisplay(int64_t display_id) override; 46 void RequestCloseDisplay(int64_t display_id) override;
47 int64_t GetPrimaryDisplayId() const override; 47 int64_t GetPrimaryDisplayId() const override;
48 48
49 // mojom::TestDisplayController: 49 // mojom::TestDisplayController:
50 void ToggleAddRemoveDisplay() override; 50 void ToggleAddRemoveDisplay() override;
51 void ToggleDisplayResolution() override; 51 void ToggleDisplayResolution() override;
52 52
53 // mojom::DisplayController: 53 // mojom::DisplayController:
54 void SwapPrimaryDisplay() override; 54 void SwapPrimaryDisplay() override;
55 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
157 157
158 mojo::BindingSet<mojom::DisplayController> controller_bindings_; 158 mojo::BindingSet<mojom::DisplayController> controller_bindings_;
159 mojo::BindingSet<mojom::TestDisplayController> test_bindings_; 159 mojo::BindingSet<mojom::TestDisplayController> test_bindings_;
160 160
161 DISALLOW_COPY_AND_ASSIGN(PlatformScreenOzone); 161 DISALLOW_COPY_AND_ASSIGN(PlatformScreenOzone);
162 }; 162 };
163 163
164 } // namespace display 164 } // namespace display
165 165
166 #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