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

Side by Side Diff: ui/aura/mus/window_tree_client.h

Issue 2857963003: Add {Lock,Unlock,Show,Hide}Cursor() to the window manager mojom. (Closed)
Patch Set: sky comments 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 | « ui/aura/mus/window_manager_delegate.h ('k') | ui/aura/mus/window_tree_client.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 UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 5 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 ui::mojom::FrameDecorationValuesPtr values) override; 468 ui::mojom::FrameDecorationValuesPtr values) override;
469 void SetNonClientCursor(Window* window, 469 void SetNonClientCursor(Window* window,
470 const ui::CursorData& cursor) override; 470 const ui::CursorData& cursor) override;
471 void AddAccelerators(std::vector<ui::mojom::WmAcceleratorPtr> accelerators, 471 void AddAccelerators(std::vector<ui::mojom::WmAcceleratorPtr> accelerators,
472 const base::Callback<void(bool)>& callback) override; 472 const base::Callback<void(bool)>& callback) override;
473 void RemoveAccelerator(uint32_t id) override; 473 void RemoveAccelerator(uint32_t id) override;
474 void AddActivationParent(Window* window) override; 474 void AddActivationParent(Window* window) override;
475 void RemoveActivationParent(Window* window) override; 475 void RemoveActivationParent(Window* window) override;
476 void ActivateNextWindow() override; 476 void ActivateNextWindow() override;
477 void SetExtendedHitArea(Window* window, const gfx::Insets& hit_area) override; 477 void SetExtendedHitArea(Window* window, const gfx::Insets& hit_area) override;
478 void LockCursor() override;
479 void UnlockCursor() override;
480 void SetCursorVisible(bool visible) override;
481 void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override;
478 void RequestClose(Window* window) override; 482 void RequestClose(Window* window) override;
479 bool WaitForInitialDisplays() override; 483 bool WaitForInitialDisplays() override;
480 WindowTreeHostMusInitParams CreateInitParamsForNewDisplay() override; 484 WindowTreeHostMusInitParams CreateInitParamsForNewDisplay() override;
481 485
482 // Overriden from WindowTreeHostMusDelegate: 486 // Overriden from WindowTreeHostMusDelegate:
483 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host, 487 void OnWindowTreeHostBoundsWillChange(WindowTreeHostMus* window_tree_host,
484 const gfx::Rect& bounds) override; 488 const gfx::Rect& bounds) override;
485 void OnWindowTreeHostClientAreaWillChange( 489 void OnWindowTreeHostClientAreaWillChange(
486 WindowTreeHostMus* window_tree_host, 490 WindowTreeHostMus* window_tree_host,
487 const gfx::Insets& client_area, 491 const gfx::Insets& client_area,
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 gfx::Insets normal_client_area_insets_; 642 gfx::Insets normal_client_area_insets_;
639 643
640 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 644 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
641 645
642 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 646 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
643 }; 647 };
644 648
645 } // namespace aura 649 } // namespace aura
646 650
647 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 651 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/window_manager_delegate.h ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698