|
Make a ShowExtensionActionPopup function
More-or-less consolidate calls to show an ExtensionAction's
popup into ExtensionActionAPI. This has the happy effect of
reducing the amount of piping we have to do in the UI code
(cutting a few steps out of the Browser -> BrowserWindow ->
Toolbar -> BrowserActionsContainer -> BrowserActionView chain),
and, more importantly, lets page action command executions
happen in the BrowserActionsContainer when the redesign is
enabled.
Hopefully, this means that we can stop showing page actions
in the location bar with the switch enabled - but that's
another patch.
BUG= 397259
TBR=sky@chromium.org (minor changes to test_browser_window)
Committed: https://crrev.com/9a1800e4df575c7f7035cfbfddb84dcf879d217c
Cr-Commit-Position: refs/heads/master@{#292462}
Total comments: 10
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+198 lines, -218 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/extension_action/extension_action_api.h
|
View
|
1
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/extension_action/extension_action_api.cc
|
View
|
1
|
5 chunks |
+39 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_action_manager.h
|
View
|
|
1 chunk |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_action_manager.cc
|
View
|
1
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_toolbar_model.h
|
View
|
1
|
4 chunks |
+16 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_toolbar_model.cc
|
View
|
|
1 chunk |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_toolbar_model_unittest.cc
|
View
|
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_commands.cc
|
View
|
|
2 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_window.h
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/browser_window_cocoa.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/browser_window_controller.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/browser_window_controller.mm
|
View
|
1
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm
|
View
|
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
View
|
|
2 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/location_bar/page_action_decoration.h
|
View
|
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm
|
View
|
|
2 chunks |
+14 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/toolbar/toolbar_controller.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
|
View
|
1
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/location_bar/location_bar.h
|
View
|
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_view.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_view.cc
|
View
|
1
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/location_bar/location_bar_view.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/location_bar/location_bar_view.cc
|
View
|
1
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/browser_actions_container.h
|
View
|
|
2 chunks |
+3 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/browser_actions_container.cc
|
View
|
1
2
|
7 chunks |
+18 lines, -33 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/toolbar_view.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/toolbar_view.cc
|
View
|
1
|
2 chunks |
+0 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/test_browser_window.h
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/test_browser_window.cc
|
View
|
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|