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

Unified Diff: ash/mus/shell_delegate_mus.h

Issue 1812013003: Pass shelf instances, not root windows, for ash context menus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Call OnShelfAlignmentChanged after LayoutShelf. Created 4 years, 9 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 | « no previous file | ash/mus/shell_delegate_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/shell_delegate_mus.h
diff --git a/ash/mus/shell_delegate_mus.h b/ash/mus/shell_delegate_mus.h
index f0486abf306b6d7ea232f8846eb2ad92e65cc518..804663dc2f69c998ecdf43eed9bc3c05561db761 100644
--- a/ash/mus/shell_delegate_mus.h
+++ b/ash/mus/shell_delegate_mus.h
@@ -46,7 +46,7 @@ class ShellDelegateMus : public ash::ShellDelegate {
ash::AccessibilityDelegate* CreateAccessibilityDelegate() override;
ash::NewWindowDelegate* CreateNewWindowDelegate() override;
ash::MediaDelegate* CreateMediaDelegate() override;
- ui::MenuModel* CreateContextMenu(aura::Window* root_window,
+ ui::MenuModel* CreateContextMenu(ash::Shelf* shelf,
const ash::ShelfItem* item) override;
GPUSupport* CreateGPUSupport() override;
base::string16 GetProductName() const override;
« no previous file with comments | « no previous file | ash/mus/shell_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698