summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/toolbar_controller_unittest.mm
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-05 15:13:13 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-05 15:13:13 +0000
commit60114cc6a2ce3e8a5f910262aeac5d02dcdd5c30 (patch)
tree40fd04edbd5f8596bcc67b00faf6dddc295b6179 /chrome/browser/cocoa/toolbar_controller_unittest.mm
parent32bd6419b3b6c6c11a3dbfb709f80772d954c752 (diff)
downloadchromium_src-60114cc6a2ce3e8a5f910262aeac5d02dcdd5c30.zip
chromium_src-60114cc6a2ce3e8a5f910262aeac5d02dcdd5c30.tar.gz
chromium_src-60114cc6a2ce3e8a5f910262aeac5d02dcdd5c30.tar.bz2
Implement back/forward toolbar menus on Mac (bug 13203).
Note: The drop-down menu is actually a drag-down (activating on click-hold or on drag), working much like Safari's (and other Apple apps, such as Dictionary). This can be changed to a pop-down if that's what's desired. [The previously included fix to bug 17990 has been split off to CL 159864.] TODO: Show keyboard shortcut for "Show Full History". Patch by viettrungluu. BUG=http://crbug.com/13203 TEST=Navigate around, check out and use the menus; do so in multiple tabs and windows. Review URL: http://codereview.chromium.org/160496 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22478 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/toolbar_controller_unittest.mm')
-rw-r--r--chrome/browser/cocoa/toolbar_controller_unittest.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/toolbar_controller_unittest.mm b/chrome/browser/cocoa/toolbar_controller_unittest.mm
index a3a7649..691d753 100644
--- a/chrome/browser/cocoa/toolbar_controller_unittest.mm
+++ b/chrome/browser/cocoa/toolbar_controller_unittest.mm
@@ -36,6 +36,7 @@ class ToolbarControllerTest : public testing::Test {
[[ToolbarController alloc] initWithModel:browser->toolbar_model()
commands:browser->command_updater()
profile:helper_.profile()
+ browser:browser
webContentView:nil
infoBarsView:nil
bookmarkDelegate:nil]);