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

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

Issue 2127383003: mus: Introduce high-contrast mode in mus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_WS_DISPLAY_H_ 5 #ifndef SERVICES_UI_WS_DISPLAY_H_
6 #define SERVICES_UI_WS_DISPLAY_H_ 6 #define SERVICES_UI_WS_DISPLAY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 161
162 // Creates the set of WindowManagerDisplayRoots from the 162 // Creates the set of WindowManagerDisplayRoots from the
163 // WindowManagerWindowTreeFactorySet. 163 // WindowManagerWindowTreeFactorySet.
164 void CreateWindowManagerDisplayRootsFromFactories(); 164 void CreateWindowManagerDisplayRootsFromFactories();
165 165
166 void CreateWindowManagerDisplayRootFromFactory( 166 void CreateWindowManagerDisplayRootFromFactory(
167 WindowManagerWindowTreeFactory* factory); 167 WindowManagerWindowTreeFactory* factory);
168 168
169 // PlatformDisplayDelegate: 169 // PlatformDisplayDelegate:
170 ServerWindow* GetRootWindow() override; 170 ServerWindow* GetRootWindow() override;
171 bool IsInHighContrastMode() override;
171 void OnEvent(const ui::Event& event) override; 172 void OnEvent(const ui::Event& event) override;
172 void OnNativeCaptureLost() override; 173 void OnNativeCaptureLost() override;
173 void OnDisplayClosed() override; 174 void OnDisplayClosed() override;
174 void OnViewportMetricsChanged(const ViewportMetrics& old_metrics, 175 void OnViewportMetricsChanged(const ViewportMetrics& old_metrics,
175 const ViewportMetrics& new_metrics) override; 176 const ViewportMetrics& new_metrics) override;
176 void OnCompositorFrameDrawn() override; 177 void OnCompositorFrameDrawn() override;
177 178
178 // FocusControllerDelegate: 179 // FocusControllerDelegate:
179 bool CanHaveActiveChildren(ServerWindow* window) const override; 180 bool CanHaveActiveChildren(ServerWindow* window) const override;
180 181
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 216
216 WindowManagerDisplayRootMap window_manager_display_root_map_; 217 WindowManagerDisplayRootMap window_manager_display_root_map_;
217 218
218 DISALLOW_COPY_AND_ASSIGN(Display); 219 DISALLOW_COPY_AND_ASSIGN(Display);
219 }; 220 };
220 221
221 } // namespace ws 222 } // namespace ws
222 } // namespace ui 223 } // namespace ui
223 224
224 #endif // SERVICES_UI_WS_DISPLAY_H_ 225 #endif // SERVICES_UI_WS_DISPLAY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698