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

Unified Diff: ash/aura/wm_shelf_aura.cc

Issue 2237903003: mash: Migrate Shelf aura::Window uses to WmWindow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move shelf notify functions to WmShell. Created 4 years, 4 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/app_list/app_list_presenter_delegate.cc ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/wm_shelf_aura.cc
diff --git a/ash/aura/wm_shelf_aura.cc b/ash/aura/wm_shelf_aura.cc
index 59bda6847cad01bdad03090881b33f05e3f4f777..cfeb53d1c41f2f669df5010d6532d576914d4af4 100644
--- a/ash/aura/wm_shelf_aura.cc
+++ b/ash/aura/wm_shelf_aura.cc
@@ -163,12 +163,11 @@ gfx::Rect WmShelfAura::GetUserWorkAreaBounds() const {
}
void WmShelfAura::UpdateIconPositionForWindow(WmWindow* window) {
- shelf_->UpdateIconPositionForWindow(WmWindowAura::GetAuraWindow(window));
+ shelf_->UpdateIconPositionForWindow(window);
}
gfx::Rect WmShelfAura::GetScreenBoundsOfItemIconForWindow(WmWindow* window) {
- return shelf_->GetScreenBoundsOfItemIconForWindow(
- WmWindowAura::GetAuraWindow(window));
+ return shelf_->GetScreenBoundsOfItemIconForWindow(window);
}
bool WmShelfAura::ProcessGestureEvent(const ui::GestureEvent& event) {
« no previous file with comments | « ash/app_list/app_list_presenter_delegate.cc ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698