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

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

Issue 2345043003: Unify mustash display closing code paths. (Closed)
Patch Set: Rebase. Created 4 years, 3 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
« no previous file with comments | « services/ui/display/platform_screen_stub.cc ('k') | services/ui/ws/display.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 void CreateWindowManagerDisplayRootsFromFactories(); 165 void CreateWindowManagerDisplayRootsFromFactories();
166 166
167 void CreateWindowManagerDisplayRootFromFactory( 167 void CreateWindowManagerDisplayRootFromFactory(
168 WindowManagerWindowTreeFactory* factory); 168 WindowManagerWindowTreeFactory* factory);
169 169
170 // PlatformDisplayDelegate: 170 // PlatformDisplayDelegate:
171 ServerWindow* GetRootWindow() override; 171 ServerWindow* GetRootWindow() override;
172 bool IsInHighContrastMode() override; 172 bool IsInHighContrastMode() override;
173 void OnEvent(const ui::Event& event) override; 173 void OnEvent(const ui::Event& event) override;
174 void OnNativeCaptureLost() override; 174 void OnNativeCaptureLost() override;
175 void OnDisplayClosed() override;
176 void OnViewportMetricsChanged(const ViewportMetrics& old_metrics, 175 void OnViewportMetricsChanged(const ViewportMetrics& old_metrics,
177 const ViewportMetrics& new_metrics) override; 176 const ViewportMetrics& new_metrics) override;
178 void OnCompositorFrameDrawn() override; 177 void OnCompositorFrameDrawn() override;
179 178
180 // FocusControllerDelegate: 179 // FocusControllerDelegate:
181 bool CanHaveActiveChildren(ServerWindow* window) const override; 180 bool CanHaveActiveChildren(ServerWindow* window) const override;
182 181
183 // FocusControllerObserver: 182 // FocusControllerObserver:
184 void OnActivationChanged(ServerWindow* old_active_window, 183 void OnActivationChanged(ServerWindow* old_active_window,
185 ServerWindow* new_active_window) override; 184 ServerWindow* new_active_window) override;
(...skipping 30 matching lines...) Expand all
216 215
217 WindowManagerDisplayRootMap window_manager_display_root_map_; 216 WindowManagerDisplayRootMap window_manager_display_root_map_;
218 217
219 DISALLOW_COPY_AND_ASSIGN(Display); 218 DISALLOW_COPY_AND_ASSIGN(Display);
220 }; 219 };
221 220
222 } // namespace ws 221 } // namespace ws
223 } // namespace ui 222 } // namespace ui
224 223
225 #endif // SERVICES_UI_WS_DISPLAY_H_ 224 #endif // SERVICES_UI_WS_DISPLAY_H_
OLDNEW
« no previous file with comments | « services/ui/display/platform_screen_stub.cc ('k') | services/ui/ws/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698