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

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

Issue 2537643008: Add IPCs for ash display shortcuts. (Closed)
Patch Set: Rebase. 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_SCREEN_MANAGER_OZONE_H_ 5 #ifndef SERVICES_UI_DISPLAY_SCREEN_MANAGER_OZONE_H_
6 #define SERVICES_UI_DISPLAY_SCREEN_MANAGER_OZONE_H_ 6 #define SERVICES_UI_DISPLAY_SCREEN_MANAGER_OZONE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 void AddInterfaces(service_manager::InterfaceRegistry* registry) override; 44 void AddInterfaces(service_manager::InterfaceRegistry* registry) override;
45 void Init(ScreenManagerDelegate* delegate) override; 45 void Init(ScreenManagerDelegate* delegate) 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 IncreaseInternalDisplayZoom() override;
55 void DecreaseInternalDisplayZoom() override;
56 void ResetInternalDisplayZoom() override;
57 void RotateCurrentDisplayCW() override;
54 void SwapPrimaryDisplay() override; 58 void SwapPrimaryDisplay() override;
59 void ToggleMirrorMode() override;
55 void SetDisplayWorkArea(int64_t display_id, 60 void SetDisplayWorkArea(int64_t display_id,
56 const gfx::Size& size, 61 const gfx::Size& size,
57 const gfx::Insets& insets) override; 62 const gfx::Insets& insets) override;
58 63
59 private: 64 private:
60 friend class ScreenManagerOzoneTest; 65 friend class ScreenManagerOzoneTest;
61 66
62 // TODO(kylechar): This struct is just temporary until we migrate 67 // TODO(kylechar): This struct is just temporary until we migrate
63 // DisplayManager code out of ash so it can be used here. 68 // DisplayManager code out of ash so it can be used here.
64 struct DisplayInfo { 69 struct DisplayInfo {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 162
158 mojo::BindingSet<mojom::DisplayController> controller_bindings_; 163 mojo::BindingSet<mojom::DisplayController> controller_bindings_;
159 mojo::BindingSet<mojom::TestDisplayController> test_bindings_; 164 mojo::BindingSet<mojom::TestDisplayController> test_bindings_;
160 165
161 DISALLOW_COPY_AND_ASSIGN(ScreenManagerOzone); 166 DISALLOW_COPY_AND_ASSIGN(ScreenManagerOzone);
162 }; 167 };
163 168
164 } // namespace display 169 } // namespace display
165 170
166 #endif // SERVICES_UI_DISPLAY_SCREEN_MANAGER_OZONE_H_ 171 #endif // SERVICES_UI_DISPLAY_SCREEN_MANAGER_OZONE_H_
OLDNEW
« no previous file with comments | « ash/mus/accelerators/accelerator_controller_delegate_mus.cc ('k') | services/ui/display/screen_manager_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698