|
Move enum MenuAnchorPosition to reduce deps on menu_item_view.h
[Menu]AnchorPosition is used by the MenuRunner and other APIs. Having
the enum nested in MenuItemView means that a lot of files must depend on
menu_item_view.h, even if they are just using a MenuRunner created with
a MenuModel (rather than a MenuItemView).
This CL moves the MenuItemView::AnchorPosition enum to
views::MenuAnchorPosition in menu_types.h. This allows the
menu_item_view.h dependency to be removed from a lot of places
(directly, and transitively by removing menu_item_view.h includes from
any header files).
BUG= 366007, 363889
TBR=pfeldman@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267471
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+384 lines, -268 lines) |
Patch |
 |
M |
ash/root_window_controller.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/shell/window_type_launcher.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/shell_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/apps/chrome_native_app_window_views.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/autofill/autofill_dialog_views.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/bookmarks/bookmark_bar_view.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/content_setting_bubble_contents.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/download/download_shelf_context_menu_view.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_frame.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/infobars/after_translate_infobar.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/infobars/before_translate_infobar.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/infobars/extension_infobar.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/infobars/infobar_view.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/infobars/infobar_view.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/location_bar/page_action_image_view.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/menu_model_adapter_test.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/menu_test_base.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/status_icons/status_icon_win.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/task_manager_view.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/browser_action_view.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/toolbar_button.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/wrench_menu.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/website_settings/permission_selector_view.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/website_settings/permissions_bubble_view.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/shell_views.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/app_list/views/app_list_item_view.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/app_list/views/app_list_menu_views.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/app_list/views/search_result_view.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/message_view_context_menu_controller.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ui/message_center/views/notifier_settings_view.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/controls/combobox/combobox.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/combobox/combobox_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_controller.h
|
View
|
1
2
3
4
5
|
6 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_controller.cc
|
View
|
1
2
3
4
5
|
11 chunks |
+24 lines, -23 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_delegate.h
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_delegate.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_item_view.h
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -16 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_item_view.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_message_pump_dispatcher_win.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_model_adapter.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_runner.h
|
View
|
1
2
3
4
5
|
3 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_runner.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_runner_handler.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_scroll_view_container.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/menu_scroll_view_container.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
A |
ui/views/controls/menu/menu_types.h
|
View
|
1
2
3
4
5
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/menu/submenu_view.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/scrollbar/base_scroll_bar.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/textfield/textfield.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/examples/menu_example.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/views/examples/tree_view_example.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/views.gyp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/widget.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|