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

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

Issue 2613903003: Reland of "Mustash: Ensure surfaces submitted to Mus by WM and embedders contain Surfaces with embe… (Closed)
Patch Set: fix Created 3 years, 11 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 | « no previous file | 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 void CreateWindowManagerDisplayRootFromFactory( 159 void CreateWindowManagerDisplayRootFromFactory(
160 WindowManagerWindowTreeFactory* factory); 160 WindowManagerWindowTreeFactory* factory);
161 161
162 // Creates the root ServerWindow for this display, where |size| is in physical 162 // Creates the root ServerWindow for this display, where |size| is in physical
163 // pixels. 163 // pixels.
164 void CreateRootWindow(const gfx::Size& size); 164 void CreateRootWindow(const gfx::Size& size);
165 165
166 // PlatformDisplayDelegate: 166 // PlatformDisplayDelegate:
167 display::Display GetDisplay() override; 167 display::Display GetDisplay() override;
168 ServerWindow* GetRootWindow() override; 168 ServerWindow* GetRootWindow() override;
169 ServerWindow* GetActiveRootWindow() override;
169 void OnAcceleratedWidgetAvailable() override; 170 void OnAcceleratedWidgetAvailable() override;
170 bool IsInHighContrastMode() 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 174
174 // FocusControllerDelegate: 175 // FocusControllerDelegate:
175 bool CanHaveActiveChildren(ServerWindow* window) const override; 176 bool CanHaveActiveChildren(ServerWindow* window) const override;
176 177
177 // FocusControllerObserver: 178 // FocusControllerObserver:
178 void OnActivationChanged(ServerWindow* old_active_window, 179 void OnActivationChanged(ServerWindow* old_active_window,
(...skipping 22 matching lines...) Expand all
201 202
202 WindowManagerDisplayRootMap window_manager_display_root_map_; 203 WindowManagerDisplayRootMap window_manager_display_root_map_;
203 204
204 DISALLOW_COPY_AND_ASSIGN(Display); 205 DISALLOW_COPY_AND_ASSIGN(Display);
205 }; 206 };
206 207
207 } // namespace ws 208 } // namespace ws
208 } // namespace ui 209 } // namespace ui
209 210
210 #endif // SERVICES_UI_WS_DISPLAY_H_ 211 #endif // SERVICES_UI_WS_DISPLAY_H_
OLDNEW
« no previous file with comments | « no previous file | services/ui/ws/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698