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

Unified Diff: components/mus/public/cpp/lib/window.cc

Issue 2060513002: Tab dragging as implemented as a mus API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: General patch cleanup. 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/public/cpp/lib/window.cc
diff --git a/components/mus/public/cpp/lib/window.cc b/components/mus/public/cpp/lib/window.cc
index e117fe651ffadf145f975a345fbc60c41f5e779b..a02eccbfcd87837977a1ba583c8301bfb5de9b17 100644
--- a/components/mus/public/cpp/lib/window.cc
+++ b/components/mus/public/cpp/lib/window.cc
@@ -464,6 +464,14 @@ void Window::RequestClose() {
client_->RequestClose(this);
}
+bool Window::PerformWindowMove(const gfx::Point& cursor_location) {
+ return client_->PerformWindowMove(this, cursor_location);
+}
+
+void Window::CancelWindowMove() {
+ client_->CancelWindowMove(this);
+}
+
std::string Window::GetName() const {
if (HasSharedProperty(mojom::WindowManager::kName_Property))
return GetSharedProperty<std::string>(mojom::WindowManager::kName_Property);

Powered by Google App Engine
This is Rietveld 408576698