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 2918553003: Implement a MoveCursorToScreenLocation for just the window manager. (Closed)
Patch Set: Created 3 years, 6 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
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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 void WmSetBoundsResponse(uint32_t change_id) override; 525 void WmSetBoundsResponse(uint32_t change_id) override;
526 void WmRequestClose(Id transport_window_id) override; 526 void WmRequestClose(Id transport_window_id) override;
527 void WmSetFrameDecorationValues( 527 void WmSetFrameDecorationValues(
528 mojom::FrameDecorationValuesPtr values) override; 528 mojom::FrameDecorationValuesPtr values) override;
529 void WmSetNonClientCursor(uint32_t window_id, ui::CursorData cursor) override; 529 void WmSetNonClientCursor(uint32_t window_id, ui::CursorData cursor) override;
530 void WmLockCursor() override; 530 void WmLockCursor() override;
531 void WmUnlockCursor() override; 531 void WmUnlockCursor() override;
532 void WmSetCursorVisible(bool visible) override; 532 void WmSetCursorVisible(bool visible) override;
533 void WmSetGlobalOverrideCursor( 533 void WmSetGlobalOverrideCursor(
534 base::Optional<ui::CursorData> cursor) override; 534 base::Optional<ui::CursorData> cursor) override;
535 void WmMoveCursorToScreenLocationInPixels(const gfx::Point& point) override;
535 void OnWmCreatedTopLevelWindow(uint32_t change_id, 536 void OnWmCreatedTopLevelWindow(uint32_t change_id,
536 Id transport_window_id) override; 537 Id transport_window_id) override;
537 void OnAcceleratorAck( 538 void OnAcceleratorAck(
538 uint32_t event_id, 539 uint32_t event_id,
539 mojom::EventResult result, 540 mojom::EventResult result,
540 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) 541 const std::unordered_map<std::string, std::vector<uint8_t>>& properties)
541 override; 542 override;
542 543
543 // AccessPolicyDelegate: 544 // AccessPolicyDelegate:
544 bool HasRootForAccessPolicy(const ServerWindow* window) const override; 545 bool HasRootForAccessPolicy(const ServerWindow* window) const override;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 // a image move. All weak ptrs are invalidated when a drag is completed. 656 // a image move. All weak ptrs are invalidated when a drag is completed.
656 base::WeakPtrFactory<WindowTree> drag_weak_factory_; 657 base::WeakPtrFactory<WindowTree> drag_weak_factory_;
657 658
658 DISALLOW_COPY_AND_ASSIGN(WindowTree); 659 DISALLOW_COPY_AND_ASSIGN(WindowTree);
659 }; 660 };
660 661
661 } // namespace ws 662 } // namespace ws
662 } // namespace ui 663 } // namespace ui
663 664
664 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ 665 #endif // SERVICES_UI_WS_WINDOW_TREE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698