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

Unified Diff: services/ui/demo/mus_demo_internal.h

Issue 2764963003: aura-mus: add a drag representation image. (Closed)
Patch Set: Also move the state in WindowTree into a struct. 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 side-by-side diff with in-line comments
Download patch
Index: services/ui/demo/mus_demo_internal.h
diff --git a/services/ui/demo/mus_demo_internal.h b/services/ui/demo/mus_demo_internal.h
index f79da0de2a9a09094d00fef5c3c2e77499e40e00..7c86b3a93eac307a5e85133e7c54ff8c97de2a01 100644
--- a/services/ui/demo/mus_demo_internal.h
+++ b/services/ui/demo/mus_demo_internal.h
@@ -43,6 +43,12 @@ class MusDemoInternal : public MusDemo, public aura::WindowManagerDelegate {
std::map<std::string, std::vector<uint8_t>>* properties) final;
void OnWmClientJankinessChanged(const std::set<aura::Window*>& client_windows,
bool janky) final;
+ void OnWmBuildDragImage(const gfx::Point& screen_location,
+ const SkBitmap& drag_image,
+ const gfx::Vector2d& drag_image_offset,
+ ui::mojom::PointerKind source) final;
+ void OnWmMoveDragImage(const gfx::Point& screen_location) final;
+ void OnWmDestroyDragImage() final;
void OnWmWillCreateDisplay(const display::Display& display) final;
void OnWmNewDisplay(std::unique_ptr<aura::WindowTreeHostMus> window_tree_host,
const display::Display& display) final;

Powered by Google App Engine
This is Rietveld 408576698