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

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

Issue 2784663003: mus: Rename mojom::Cursor to mojom::CursorType. (Closed)
Patch Set: Created 3 years, 8 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_server.cc ('k') | services/ui/ws/window_tree.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_TREE_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_TREE_H_
6 #define SERVICES_UI_WS_WINDOW_TREE_H_ 6 #define SERVICES_UI_WS_WINDOW_TREE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 mojom::OrderDirection direction, 240 mojom::OrderDirection direction,
241 bool originated_change); 241 bool originated_change);
242 void ProcessWindowDeleted(ServerWindow* window, bool originated_change); 242 void ProcessWindowDeleted(ServerWindow* window, bool originated_change);
243 void ProcessWillChangeWindowVisibility(const ServerWindow* window, 243 void ProcessWillChangeWindowVisibility(const ServerWindow* window,
244 bool originated_change); 244 bool originated_change);
245 void ProcessWindowOpacityChanged(const ServerWindow* window, 245 void ProcessWindowOpacityChanged(const ServerWindow* window,
246 float old_opacity, 246 float old_opacity,
247 float new_opacity, 247 float new_opacity,
248 bool originated_change); 248 bool originated_change);
249 void ProcessCursorChanged(const ServerWindow* window, 249 void ProcessCursorChanged(const ServerWindow* window,
250 mojom::Cursor cursor_id, 250 mojom::CursorType cursor_id,
251 bool originated_change); 251 bool originated_change);
252 void ProcessFocusChanged(const ServerWindow* old_focused_window, 252 void ProcessFocusChanged(const ServerWindow* old_focused_window,
253 const ServerWindow* new_focused_window); 253 const ServerWindow* new_focused_window);
254 void ProcessCaptureChanged(const ServerWindow* new_capture, 254 void ProcessCaptureChanged(const ServerWindow* new_capture,
255 const ServerWindow* old_capture, 255 const ServerWindow* old_capture,
256 bool originated_change); 256 bool originated_change);
257 void ProcessTransientWindowAdded(const ServerWindow* window, 257 void ProcessTransientWindowAdded(const ServerWindow* window,
258 const ServerWindow* transient_window, 258 const ServerWindow* transient_window,
259 bool originated_change); 259 bool originated_change);
260 void ProcessTransientWindowRemoved(const ServerWindow* window, 260 void ProcessTransientWindowRemoved(const ServerWindow* window,
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 void Embed(Id transport_window_id, 433 void Embed(Id transport_window_id,
434 mojom::WindowTreeClientPtr client, 434 mojom::WindowTreeClientPtr client,
435 uint32_t flags, 435 uint32_t flags,
436 const EmbedCallback& callback) override; 436 const EmbedCallback& callback) override;
437 void SetFocus(uint32_t change_id, Id transport_window_id) override; 437 void SetFocus(uint32_t change_id, Id transport_window_id) override;
438 void SetCanFocus(Id transport_window_id, bool can_focus) override; 438 void SetCanFocus(Id transport_window_id, bool can_focus) override;
439 void SetEventTargetingPolicy(Id transport_window_id, 439 void SetEventTargetingPolicy(Id transport_window_id,
440 mojom::EventTargetingPolicy policy) override; 440 mojom::EventTargetingPolicy policy) override;
441 void SetPredefinedCursor(uint32_t change_id, 441 void SetPredefinedCursor(uint32_t change_id,
442 Id transport_window_id, 442 Id transport_window_id,
443 ui::mojom::Cursor cursor_id) override; 443 ui::mojom::CursorType cursor_id) override;
444 void SetWindowTextInputState(Id transport_window_id, 444 void SetWindowTextInputState(Id transport_window_id,
445 mojo::TextInputStatePtr state) override; 445 mojo::TextInputStatePtr state) override;
446 void SetImeVisibility(Id transport_window_id, 446 void SetImeVisibility(Id transport_window_id,
447 bool visible, 447 bool visible,
448 mojo::TextInputStatePtr state) override; 448 mojo::TextInputStatePtr state) override;
449 void OnWindowInputEventAck(uint32_t event_id, 449 void OnWindowInputEventAck(uint32_t event_id,
450 mojom::EventResult result) override; 450 mojom::EventResult result) override;
451 void DeactivateWindow(Id window_id) override; 451 void DeactivateWindow(Id window_id) override;
452 void SetClientArea(Id transport_window_id, 452 void SetClientArea(Id transport_window_id,
453 const gfx::Insets& insets, 453 const gfx::Insets& insets,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 void RemoveAccelerator(uint32_t id) override; 485 void RemoveAccelerator(uint32_t id) override;
486 void AddActivationParent(Id transport_window_id) override; 486 void AddActivationParent(Id transport_window_id) override;
487 void RemoveActivationParent(Id transport_window_id) override; 487 void RemoveActivationParent(Id transport_window_id) override;
488 void ActivateNextWindow() override; 488 void ActivateNextWindow() override;
489 void SetExtendedHitArea(Id window_id, const gfx::Insets& hit_area) override; 489 void SetExtendedHitArea(Id window_id, const gfx::Insets& hit_area) override;
490 void WmResponse(uint32_t change_id, bool response) override; 490 void WmResponse(uint32_t change_id, bool response) override;
491 void WmRequestClose(Id transport_window_id) override; 491 void WmRequestClose(Id transport_window_id) override;
492 void WmSetFrameDecorationValues( 492 void WmSetFrameDecorationValues(
493 mojom::FrameDecorationValuesPtr values) override; 493 mojom::FrameDecorationValuesPtr values) override;
494 void WmSetNonClientCursor(uint32_t window_id, 494 void WmSetNonClientCursor(uint32_t window_id,
495 mojom::Cursor cursor_id) override; 495 mojom::CursorType cursor_id) override;
496 void OnWmCreatedTopLevelWindow(uint32_t change_id, 496 void OnWmCreatedTopLevelWindow(uint32_t change_id,
497 Id transport_window_id) override; 497 Id transport_window_id) override;
498 void OnAcceleratorAck( 498 void OnAcceleratorAck(
499 uint32_t event_id, 499 uint32_t event_id,
500 mojom::EventResult result, 500 mojom::EventResult result,
501 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) 501 const std::unordered_map<std::string, std::vector<uint8_t>>& properties)
502 override; 502 override;
503 503
504 // AccessPolicyDelegate: 504 // AccessPolicyDelegate:
505 bool HasRootForAccessPolicy(const ServerWindow* window) const override; 505 bool HasRootForAccessPolicy(const ServerWindow* window) const override;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 // a image move. All weak ptrs are invalidated when a drag is completed. 606 // a image move. All weak ptrs are invalidated when a drag is completed.
607 base::WeakPtrFactory<WindowTree> drag_weak_factory_; 607 base::WeakPtrFactory<WindowTree> drag_weak_factory_;
608 608
609 DISALLOW_COPY_AND_ASSIGN(WindowTree); 609 DISALLOW_COPY_AND_ASSIGN(WindowTree);
610 }; 610 };
611 611
612 } // namespace ws 612 } // namespace ws
613 } // namespace ui 613 } // namespace ui
614 614
615 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ 615 #endif // SERVICES_UI_WS_WINDOW_TREE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_server.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698