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

Unified Diff: ash/mus/bridge/wm_window_mus.cc

Issue 2168733002: Splits debug_commands into aura and non-aura parts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 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 side-by-side diff with in-line comments
Download patch
Index: ash/mus/bridge/wm_window_mus.cc
diff --git a/ash/mus/bridge/wm_window_mus.cc b/ash/mus/bridge/wm_window_mus.cc
index b0a2a7f22acd07c24ee18098adbb312bf5dcf5f5..f52b9d9204a215d92a00fddd74376250fa32cd97 100644
--- a/ash/mus/bridge/wm_window_mus.cc
+++ b/ash/mus/bridge/wm_window_mus.cc
@@ -181,6 +181,13 @@ void WmWindowMus::SetName(const char* name) {
}
}
+std::string WmWindowMus::GetName() const {
+ return window_->HasSharedProperty(::ui::mojom::WindowManager::kName_Property)
+ ? window_->GetSharedProperty<std::string>(
+ ::ui::mojom::WindowManager::kName_Property)
+ : std::string();
+}
+
base::string16 WmWindowMus::GetTitle() const {
return GetWindowTitle(window_);
}

Powered by Google App Engine
This is Rietveld 408576698