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

Unified Diff: ash/aura/wm_shell_aura.cc

Issue 2186913003: Eliminate ash::Shell access in ShelfView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/aura/wm_shell_aura.cc
diff --git a/ash/aura/wm_shell_aura.cc b/ash/aura/wm_shell_aura.cc
index 3908dad13ef87617561c0a48093cb7b995979f1a..29af4b96cb5e2fec943568fa8f1b110694aab52f 100644
--- a/ash/aura/wm_shell_aura.cc
+++ b/ash/aura/wm_shell_aura.cc
@@ -141,6 +141,11 @@ void WmShellAura::RecordTaskSwitchMetric(TaskSwitchSource source) {
source);
}
+void WmShellAura::ShowContextMenu(const gfx::Point& location_in_screen,
+ ui::MenuSourceType source_type) {
+ Shell::GetInstance()->ShowContextMenu(location_in_screen, source_type);
+}
+
std::unique_ptr<WindowResizer> WmShellAura::CreateDragWindowResizer(
std::unique_ptr<WindowResizer> next_window_resizer,
wm::WindowState* window_state) {
« no previous file with comments | « ash/aura/wm_shell_aura.h ('k') | ash/common/wm_shell.h » ('j') | ash/shelf/shelf_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698