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

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

Issue 2830703003: [views-mus] Support custom cursors. (Closed)
Patch Set: fix cast_shell_linux Created 3 years, 7 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/ws/window_manager_state_unittest.cc ('k') | services/ui/ws/window_server.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_WINDOW_SERVER_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_SERVER_H_
6 #define SERVICES_UI_WS_WINDOW_SERVER_H_ 6 #define SERVICES_UI_WS_WINDOW_SERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 void ProcessWillChangeWindowHierarchy(const ServerWindow* window, 181 void ProcessWillChangeWindowHierarchy(const ServerWindow* window,
182 const ServerWindow* new_parent, 182 const ServerWindow* new_parent,
183 const ServerWindow* old_parent); 183 const ServerWindow* old_parent);
184 void ProcessWindowHierarchyChanged(const ServerWindow* window, 184 void ProcessWindowHierarchyChanged(const ServerWindow* window,
185 const ServerWindow* new_parent, 185 const ServerWindow* new_parent,
186 const ServerWindow* old_parent); 186 const ServerWindow* old_parent);
187 void ProcessWindowReorder(const ServerWindow* window, 187 void ProcessWindowReorder(const ServerWindow* window,
188 const ServerWindow* relative_window, 188 const ServerWindow* relative_window,
189 const mojom::OrderDirection direction); 189 const mojom::OrderDirection direction);
190 void ProcessWindowDeleted(ServerWindow* window); 190 void ProcessWindowDeleted(ServerWindow* window);
191 void ProcessWillChangeWindowPredefinedCursor(ServerWindow* window, 191 void ProcessWillChangeWindowCursor(ServerWindow* window,
192 mojom::CursorType cursor_id); 192 const ui::CursorData& cursor);
193 193
194 // Sends an |event| to all WindowTrees belonging to |user_id| that might be 194 // Sends an |event| to all WindowTrees belonging to |user_id| that might be
195 // observing events. Skips |ignore_tree| if it is non-null. |target_window| is 195 // observing events. Skips |ignore_tree| if it is non-null. |target_window| is
196 // the target of the event. 196 // the target of the event.
197 void SendToPointerWatchers(const ui::Event& event, 197 void SendToPointerWatchers(const ui::Event& event,
198 const UserId& user_id, 198 const UserId& user_id,
199 ServerWindow* target_window, 199 ServerWindow* target_window,
200 WindowTree* ignore_tree, 200 WindowTree* ignore_tree,
201 int64_t display_id); 201 int64_t display_id);
202 202
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 mojom::OrderDirection direction) override; 315 mojom::OrderDirection direction) override;
316 void OnWillChangeWindowVisibility(ServerWindow* window) override; 316 void OnWillChangeWindowVisibility(ServerWindow* window) override;
317 void OnWindowVisibilityChanged(ServerWindow* window) override; 317 void OnWindowVisibilityChanged(ServerWindow* window) override;
318 void OnWindowOpacityChanged(ServerWindow* window, 318 void OnWindowOpacityChanged(ServerWindow* window,
319 float old_opacity, 319 float old_opacity,
320 float new_opacity) override; 320 float new_opacity) override;
321 void OnWindowSharedPropertyChanged( 321 void OnWindowSharedPropertyChanged(
322 ServerWindow* window, 322 ServerWindow* window,
323 const std::string& name, 323 const std::string& name,
324 const std::vector<uint8_t>* new_data) override; 324 const std::vector<uint8_t>* new_data) override;
325 void OnWindowPredefinedCursorChanged(ServerWindow* window, 325 void OnWindowCursorChanged(ServerWindow* window,
326 mojom::CursorType cursor_id) override; 326 const ui::CursorData& cursor) override;
327 void OnWindowNonClientCursorChanged(ServerWindow* window, 327 void OnWindowNonClientCursorChanged(ServerWindow* window,
328 mojom::CursorType cursor_id) override; 328 const ui::CursorData& cursor) override;
329 void OnWindowTextInputStateChanged(ServerWindow* window, 329 void OnWindowTextInputStateChanged(ServerWindow* window,
330 const ui::TextInputState& state) override; 330 const ui::TextInputState& state) override;
331 void OnTransientWindowAdded(ServerWindow* window, 331 void OnTransientWindowAdded(ServerWindow* window,
332 ServerWindow* transient_child) override; 332 ServerWindow* transient_child) override;
333 void OnTransientWindowRemoved(ServerWindow* window, 333 void OnTransientWindowRemoved(ServerWindow* window,
334 ServerWindow* transient_child) override; 334 ServerWindow* transient_child) override;
335 335
336 // GpuHostDelegate: 336 // GpuHostDelegate:
337 void OnGpuServiceInitialized() override; 337 void OnGpuServiceInitialized() override;
338 338
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 frame_sink_manager_client_binding_; 388 frame_sink_manager_client_binding_;
389 cc::mojom::FrameSinkManagerPtr frame_sink_manager_; 389 cc::mojom::FrameSinkManagerPtr frame_sink_manager_;
390 390
391 DISALLOW_COPY_AND_ASSIGN(WindowServer); 391 DISALLOW_COPY_AND_ASSIGN(WindowServer);
392 }; 392 };
393 393
394 } // namespace ws 394 } // namespace ws
395 } // namespace ui 395 } // namespace ui
396 396
397 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_ 397 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_manager_state_unittest.cc ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698