|
Change menus on OSX to update the icon dynamically.
Change MenuModel::IsLabelDynamicAt() to IsItemDynamicAt() to reflect its true
purpose.
Add SimpleMenuModel::GetIconForCommandId() to enable dynamic icons.
Update OSX menu_controller code to update the icon for dynamic menu items when
the menu is opened, to match the windows behavior.
BUG= 66508
TEST=MenuControllerTest.Dynamic
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69234
Total comments: 9
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+148 lines, -63 lines) |
Patch |
 |
M |
app/menus/button_menu_item_model.h
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
app/menus/button_menu_item_model.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
app/menus/menu_model.h
|
View
|
1
2
3
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
app/menus/simple_menu_model.h
|
View
|
1
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
app/menus/simple_menu_model.cc
|
View
|
1
|
4 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/autocomplete_edit_view_win.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/autocomplete/autocomplete_edit_view_win.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/status/clock_menu_button.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/status/input_method_menu.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/status/input_method_menu.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/status/network_menu.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/status/power_menu_button.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_shelf.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/download/download_shelf.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/menu_gtk.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/notification_options_menu_model.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/notification_options_menu_model.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/menu_controller.mm
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/menu_controller_unittest.mm
|
View
|
1
2
3
4
|
3 chunks |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/back_forward_menu_model.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/back_forward_menu_model.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/wrench_menu_model.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/wrench_menu_model.cc
|
View
|
1
2
3
|
5 chunks |
+21 lines, -24 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_view.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_view.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
views/controls/menu/native_menu_win.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
views/controls/menu/native_menu_x.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|