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

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

Issue 2268563003: Replaced CursorLoader in PlatformDisplay with a ImageCursor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 void CreateWindowManagerDisplayRootsFromFactories(); 157 void CreateWindowManagerDisplayRootsFromFactories();
158 158
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 ServerWindow* GetRootWindow() override; 168 ServerWindow* GetRootWindow() override;
168 void OnAcceleratedWidgetAvailable() override; 169 void OnAcceleratedWidgetAvailable() override;
169 bool IsInHighContrastMode() override; 170 bool IsInHighContrastMode() override;
170 void OnEvent(const ui::Event& event) override; 171 void OnEvent(const ui::Event& event) override;
171 void OnNativeCaptureLost() override; 172 void OnNativeCaptureLost() override;
172 173
173 // FocusControllerDelegate: 174 // FocusControllerDelegate:
174 bool CanHaveActiveChildren(ServerWindow* window) const override; 175 bool CanHaveActiveChildren(ServerWindow* window) const override;
175 176
176 // FocusControllerObserver: 177 // FocusControllerObserver:
(...skipping 23 matching lines...) Expand all
200 201
201 WindowManagerDisplayRootMap window_manager_display_root_map_; 202 WindowManagerDisplayRootMap window_manager_display_root_map_;
202 203
203 DISALLOW_COPY_AND_ASSIGN(Display); 204 DISALLOW_COPY_AND_ASSIGN(Display);
204 }; 205 };
205 206
206 } // namespace ws 207 } // namespace ws
207 } // namespace ui 208 } // namespace ui
208 209
209 #endif // SERVICES_UI_WS_DISPLAY_H_ 210 #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