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

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

Issue 2949353003: Implement large cursors in Mushrome. (Closed)
Patch Set: rename everything to CursorSize Created 3 years, 5 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/test_utils.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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 const SetDisplayConfigurationCallback& callback) override; 530 const SetDisplayConfigurationCallback& callback) override;
531 void WmResponse(uint32_t change_id, bool response) override; 531 void WmResponse(uint32_t change_id, bool response) override;
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 WmSetCursorSize(ui::CursorSize cursor_size) override;
540 void WmSetGlobalOverrideCursor( 541 void WmSetGlobalOverrideCursor(
541 base::Optional<ui::CursorData> cursor) override; 542 base::Optional<ui::CursorData> cursor) override;
542 void WmMoveCursorToDisplayLocation(const gfx::Point& display_pixels, 543 void WmMoveCursorToDisplayLocation(const gfx::Point& display_pixels,
543 int64_t display_id) override; 544 int64_t display_id) override;
544 void OnWmCreatedTopLevelWindow(uint32_t change_id, 545 void OnWmCreatedTopLevelWindow(uint32_t change_id,
545 Id transport_window_id) override; 546 Id transport_window_id) override;
546 void OnAcceleratorAck( 547 void OnAcceleratorAck(
547 uint32_t event_id, 548 uint32_t event_id,
548 mojom::EventResult result, 549 mojom::EventResult result,
549 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) 550 const std::unordered_map<std::string, std::vector<uint8_t>>& properties)
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 // a image move. All weak ptrs are invalidated when a drag is completed. 665 // a image move. All weak ptrs are invalidated when a drag is completed.
665 base::WeakPtrFactory<WindowTree> drag_weak_factory_; 666 base::WeakPtrFactory<WindowTree> drag_weak_factory_;
666 667
667 DISALLOW_COPY_AND_ASSIGN(WindowTree); 668 DISALLOW_COPY_AND_ASSIGN(WindowTree);
668 }; 669 };
669 670
670 } // namespace ws 671 } // namespace ws
671 } // namespace ui 672 } // namespace ui
672 673
673 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ 674 #endif // SERVICES_UI_WS_WINDOW_TREE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/test_utils.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698