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

Unified Diff: ash/common/wm/overview/window_selector_item.cc

Issue 2799993003: Removes couple of methods from WmWindow (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « ash/common/wm/overview/window_grid.cc ('k') | ash/common/wm/window_cycle_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/overview/window_selector_item.cc
diff --git a/ash/common/wm/overview/window_selector_item.cc b/ash/common/wm/overview/window_selector_item.cc
index f6a7b947490f614b1499fee41ddd22ebea2d126c..02e5000ccf1068ba1a37554d8225cce556e1bb32 100644
--- a/ash/common/wm/overview/window_selector_item.cc
+++ b/ash/common/wm/overview/window_selector_item.cc
@@ -414,7 +414,7 @@ WindowSelectorItem::WindowSelectorItem(WmWindow* window,
close_button_(new OverviewCloseButton(this)),
window_selector_(window_selector),
background_view_(nullptr) {
- CreateWindowLabel(window->GetTitle());
+ CreateWindowLabel(window->aura_window()->GetTitle());
GetWindow()->aura_window()->AddObserver(this);
}
@@ -725,7 +725,7 @@ void WindowSelectorItem::AnimateOpacity(float opacity,
void WindowSelectorItem::UpdateAccessibilityName() {
caption_container_view_->listener_button()->SetAccessibleName(
- GetWindow()->GetTitle());
+ GetWindow()->aura_window()->GetTitle());
}
void WindowSelectorItem::FadeOut(std::unique_ptr<views::Widget> widget) {
« no previous file with comments | « ash/common/wm/overview/window_grid.cc ('k') | ash/common/wm/window_cycle_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698