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

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

Issue 2918553003: Implement a MoveCursorToScreenLocation for just the window manager. (Closed)
Patch Set: Thread to the PlatformWindow. 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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 void WmSetBoundsResponse(uint32_t change_id) override; 532 void WmSetBoundsResponse(uint32_t change_id) override;
533 void WmRequestClose(Id transport_window_id) override; 533 void WmRequestClose(Id transport_window_id) override;
534 void WmSetFrameDecorationValues( 534 void WmSetFrameDecorationValues(
535 mojom::FrameDecorationValuesPtr values) override; 535 mojom::FrameDecorationValuesPtr values) override;
536 void WmSetNonClientCursor(uint32_t window_id, ui::CursorData cursor) override; 536 void WmSetNonClientCursor(uint32_t window_id, ui::CursorData cursor) override;
537 void WmLockCursor() override; 537 void WmLockCursor() override;
538 void WmUnlockCursor() override; 538 void WmUnlockCursor() override;
539 void WmSetCursorVisible(bool visible) override; 539 void WmSetCursorVisible(bool visible) override;
540 void WmSetGlobalOverrideCursor( 540 void WmSetGlobalOverrideCursor(
541 base::Optional<ui::CursorData> cursor) override; 541 base::Optional<ui::CursorData> cursor) override;
542 void WmMoveCursorToDisplayLocation(const gfx::Point& display_pixels,
543 int64_t display_id) override;
542 void OnWmCreatedTopLevelWindow(uint32_t change_id, 544 void OnWmCreatedTopLevelWindow(uint32_t change_id,
543 Id transport_window_id) override; 545 Id transport_window_id) override;
544 void OnAcceleratorAck( 546 void OnAcceleratorAck(
545 uint32_t event_id, 547 uint32_t event_id,
546 mojom::EventResult result, 548 mojom::EventResult result,
547 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) 549 const std::unordered_map<std::string, std::vector<uint8_t>>& properties)
548 override; 550 override;
549 551
550 // AccessPolicyDelegate: 552 // AccessPolicyDelegate:
551 bool HasRootForAccessPolicy(const ServerWindow* window) const override; 553 bool HasRootForAccessPolicy(const ServerWindow* window) const override;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 // a image move. All weak ptrs are invalidated when a drag is completed. 664 // a image move. All weak ptrs are invalidated when a drag is completed.
663 base::WeakPtrFactory<WindowTree> drag_weak_factory_; 665 base::WeakPtrFactory<WindowTree> drag_weak_factory_;
664 666
665 DISALLOW_COPY_AND_ASSIGN(WindowTree); 667 DISALLOW_COPY_AND_ASSIGN(WindowTree);
666 }; 668 };
667 669
668 } // namespace ws 670 } // namespace ws
669 } // namespace ui 671 } // namespace ui
670 672
671 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ 673 #endif // SERVICES_UI_WS_WINDOW_TREE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698