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

Unified Diff: ash/shell_port.cc

Issue 2900423002: [mus+ash] Removes WmWindow from ash/wm/root_window_finder.h (Closed)
Patch Set: Remove WmWindow from ash/wm/root_window_finder.h (tab drag test) Created 3 years, 7 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/shelf/shelf_view.cc ('k') | ash/test/ui_controls_factory_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_port.cc
diff --git a/ash/shell_port.cc b/ash/shell_port.cc
index 244d0c9a033a08654170f305a7cc129f29312345..fac68e86f5849e7b15d5b5a3c0f993d0bf14c206 100644
--- a/ash/shell_port.cc
+++ b/ash/shell_port.cc
@@ -47,9 +47,9 @@ void ShellPort::ShowContextMenu(const gfx::Point& location_in_screen,
return;
}
- WmWindow* root = wm::GetRootWindowAt(location_in_screen);
- root->GetRootWindowController()->ShowContextMenu(location_in_screen,
- source_type);
+ aura::Window* root = wm::GetRootWindowAt(location_in_screen);
+ RootWindowController::ForWindow(root)->ShowContextMenu(location_in_screen,
+ source_type);
}
void ShellPort::OnLockStateEvent(LockStateObserver::EventType event) {
« no previous file with comments | « ash/shelf/shelf_view.cc ('k') | ash/test/ui_controls_factory_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698