summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_controller_mac.h
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 20:21:55 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 20:21:55 +0000
commitc1d0d81f1fbb7de859d0d6aba90b0a1768c9d7a6 (patch)
tree86416861be90223349f7f279ea2c6bb71d19a9d6 /chrome/browser/app_controller_mac.h
parent81c3bae9efb780e884938e0c8ce4b81b59f8c9fa (diff)
downloadchromium_src-c1d0d81f1fbb7de859d0d6aba90b0a1768c9d7a6.zip
chromium_src-c1d0d81f1fbb7de859d0d6aba90b0a1768c9d7a6.tar.gz
chromium_src-c1d0d81f1fbb7de859d0d6aba90b0a1768c9d7a6.tar.bz2
Mac: Add "Show Tab Overview" menu item.
xib changes: Add menu item with shortcut cmd-f10 for now, connect it to -commandDispatch:. Connect app controller's new outlet to the new menu item. BUG=50307 TEST=No changes by default. If --enable-expose-for-tabs is passed, a new menu item should be visible below "prev tab" in the window menu. It should be active for normal browser windows and fullscreen windows, but not if there are no browser windows around or if the current window is a popup window or a non-browser window (e.g. prefs). Clicking the menu item doesn't do anything yet. cmd-f10 should trigger the menu item, but it shouldn't if the cmdline flag isn't passed. TEST2=Go to a page that is busy spinning some javascript (e.g. "javascript:while(1);"), give it focus, hit cmd-f10. Menu should blink immediately. Review URL: http://codereview.chromium.org/3020035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53833 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/app_controller_mac.h')
-rw-r--r--chrome/browser/app_controller_mac.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/app_controller_mac.h b/chrome/browser/app_controller_mac.h
index e34e2b4..ea08903 100644
--- a/chrome/browser/app_controller_mac.h
+++ b/chrome/browser/app_controller_mac.h
@@ -50,6 +50,9 @@ class Profile;
// Outlet for the help menu so we can bless it so Cocoa adds the search item
// to it.
IBOutlet NSMenu* helpMenu_;
+
+ // Outlet for the tabpose menu item so we can hide it.
+ IBOutlet NSMenuItem* tabposeMenuItem_;
}
@property(readonly, nonatomic) BOOL startupComplete;