|
|
mash: Migrate shelf menus to wm common types
This is a dependency of ShelfView.
* Inject WmShelf into Shelf and ShelfView to start breaking up dependencies on
Shelf.
* Change ShellDelegate::CreateContextMenu() to use WmShelf.
* Allow WmShelf to manipulate auto-hide state.
* Move shelf menu UMA stats to common.
I'll move the files into //ash/common in a separate CL so that the changes to
shelf_alignment_menu.cc don't look like a rewrite.
BUG= 615155
TEST=existing ash_unittests and chrome unit_tests
Committed: https://crrev.com/da53c1490a2ec1a040cefb23492cbc68d873162c
Cr-Commit-Position: refs/heads/master@{#398735}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+214 lines, -142 lines) |
Patch |
 |
M |
ash/aura/wm_shelf_aura.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/aura/wm_shelf_aura.cc
|
View
|
1
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/wm_shelf.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/wm/wm_user_metrics_action.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/metrics/user_metrics_recorder.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/metrics/user_metrics_recorder.cc
|
View
|
1
|
2 chunks |
+9 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ash/mus/bridge/wm_shelf_mus.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/mus/bridge/wm_shelf_mus.cc
|
View
|
1
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/root_window_controller.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf.h
|
View
|
1
2
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf.cc
|
View
|
1
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
D |
ash/shelf/shelf_alignment_menu.h
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
D |
ash/shelf/shelf_alignment_menu.cc
|
View
|
1
|
3 chunks |
+27 lines, -18 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view.h
|
View
|
1
|
3 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view.cc
|
View
|
1
|
4 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_widget.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/shell/context_menu.h
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/shell/context_menu.cc
|
View
|
1
2
3
4
|
3 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ash/shell/shell_delegate_impl.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/shell/shell_delegate_impl.cc
|
View
|
1
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/shell_delegate.h
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/sysui/context_menu_mus.h
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/sysui/context_menu_mus.cc
|
View
|
1
|
3 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ash/sysui/shell_delegate_mus.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/sysui/shell_delegate_mus.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/test/shelf_test_api.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/test/test_shell_delegate.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/test/test_shell_delegate.cc
|
View
|
1
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/chrome_shell_delegate.h
|
View
|
1
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/chrome_shell_delegate.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/arc_launcher_context_menu.h
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/arc_launcher_context_menu.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.h
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/desktop_shell_launcher_context_menu.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/extension_launcher_context_menu.h
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/extension_launcher_context_menu.cc
|
View
|
1
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/launcher_context_menu.h
|
View
|
1
|
4 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/launcher_context_menu.cc
|
View
|
1
|
4 chunks |
+19 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+15 lines, -9 lines |
0 comments
|
Download
|
Total messages: 18 (11 generated)
|