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

Unified Diff: components/mus/demo/mus_demo.h

Issue 2060513002: Tab dragging as implemented as a mus API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Thread move loop source through api. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: components/mus/demo/mus_demo.h
diff --git a/components/mus/demo/mus_demo.h b/components/mus/demo/mus_demo.h
index dbb62647294e2606b0ce671fcf4c050a5fc32f22..8739b0289c95572f4aea650f0625b8ae5dbe7336 100644
--- a/components/mus/demo/mus_demo.h
+++ b/components/mus/demo/mus_demo.h
@@ -60,6 +60,11 @@ class MusDemo : public shell::ShellClient,
void OnWmNewDisplay(mus::Window* window,
const display::Display& display) override;
void OnAccelerator(uint32_t id, const ui::Event& event) override;
+ void OnWmPerformMoveLoop(::mus::Window* window,
+ ::mus::mojom::MoveLoopSource source,
+ const gfx::Point& cursor_location,
+ const base::Callback<void(bool)>& on_done) override;
+ void OnWmCancelMoveLoop(::mus::Window* window) override;
// Allocate a bitmap the same size as the window to draw into.
void AllocBitmap();

Powered by Google App Engine
This is Rietveld 408576698