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

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

Issue 2764963003: aura-mus: add a drag representation image. (Closed)
Patch Set: Patch cleanup. Created 3 years, 9 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 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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 const base::Optional<std::vector<uint8_t>>& transit_data) override; 414 const base::Optional<std::vector<uint8_t>>& transit_data) override;
415 void WmSetModalType(Id window_id, ui::ModalType type) override; 415 void WmSetModalType(Id window_id, ui::ModalType type) override;
416 void WmSetCanFocus(Id window_id, bool can_focus) override; 416 void WmSetCanFocus(Id window_id, bool can_focus) override;
417 void WmCreateTopLevelWindow( 417 void WmCreateTopLevelWindow(
418 uint32_t change_id, 418 uint32_t change_id,
419 ClientSpecificId requesting_client_id, 419 ClientSpecificId requesting_client_id,
420 const std::unordered_map<std::string, std::vector<uint8_t>>& 420 const std::unordered_map<std::string, std::vector<uint8_t>>&
421 transport_properties) override; 421 transport_properties) override;
422 void WmClientJankinessChanged(ClientSpecificId client_id, 422 void WmClientJankinessChanged(ClientSpecificId client_id,
423 bool janky) override; 423 bool janky) override;
424 void WmBuildDragImage(const gfx::Point& cursor_location,
425 const SkBitmap& drag_image,
426 const gfx::Vector2d& drag_image_offset,
427 ui::mojom::DragEventSource source) override;
428 void WmMoveDragImage(const gfx::Point& cursor_location,
429 const WmMoveDragImageCallback& callback) override;
430 void WmDestroyDragImage() override;
424 void WmPerformMoveLoop(uint32_t change_id, 431 void WmPerformMoveLoop(uint32_t change_id,
425 Id window_id, 432 Id window_id,
426 ui::mojom::MoveLoopSource source, 433 ui::mojom::MoveLoopSource source,
427 const gfx::Point& cursor_location) override; 434 const gfx::Point& cursor_location) override;
428 void WmCancelMoveLoop(uint32_t window_id) override; 435 void WmCancelMoveLoop(uint32_t window_id) override;
429 void WmDeactivateWindow(Id window_id) override; 436 void WmDeactivateWindow(Id window_id) override;
430 void WmStackAbove(uint32_t change_id, Id above_id, Id below_id) override; 437 void WmStackAbove(uint32_t change_id, Id above_id, Id below_id) override;
431 void WmStackAtTop(uint32_t change_id, uint32_t window_id) override; 438 void WmStackAtTop(uint32_t change_id, uint32_t window_id) override;
432 void OnAccelerator(uint32_t ack_id, 439 void OnAccelerator(uint32_t ack_id,
433 uint32_t accelerator_id, 440 uint32_t accelerator_id,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 // ContextFactory that was set on Env originally. 585 // ContextFactory that was set on Env originally.
579 ui::ContextFactory* initial_context_factory_ = nullptr; 586 ui::ContextFactory* initial_context_factory_ = nullptr;
580 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 587 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
581 588
582 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 589 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
583 }; 590 };
584 591
585 } // namespace aura 592 } // namespace aura
586 593
587 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 594 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698