summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_controller_mac.h
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-27 15:37:25 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-27 15:37:25 +0000
commit1c84c82c18f7bae04a6b6f309979fc0ad979ec3f (patch)
tree51870daa38dbb42cdf4314a8bd5465f0d5228b70 /chrome/browser/app_controller_mac.h
parent81067e05989c787c6b31a19626aa3f8039dcd485 (diff)
downloadchromium_src-1c84c82c18f7bae04a6b6f309979fc0ad979ec3f.zip
chromium_src-1c84c82c18f7bae04a6b6f309979fc0ad979ec3f.tar.gz
chromium_src-1c84c82c18f7bae04a6b6f309979fc0ad979ec3f.tar.bz2
First cut at Mac history menu.
* The menu has two sections: most visited and recently closed. * Creates a HistoryMenuBridge that observes different data sources and stores results for use in the menu. * Creates a HistoryMenuController to respond to Cocoa IBActions from the menu. BUG=14933 TEST=History menu in mac should populate with most visited and recently closed sites. RELEASE_NOTES=Add initial implementation of the Mac history menu. Patch by Robert Sesek. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21639 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/app_controller_mac.h')
-rw-r--r--chrome/browser/app_controller_mac.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/app_controller_mac.h b/chrome/browser/app_controller_mac.h
index e47bc00..091891c 100644
--- a/chrome/browser/app_controller_mac.h
+++ b/chrome/browser/app_controller_mac.h
@@ -15,6 +15,7 @@
class BookmarkMenuBridge;
class CommandUpdater;
class GURL;
+class HistoryMenuBridge;
@class PreferencesWindowController;
class Profile;
@@ -27,6 +28,7 @@ class Profile;
// Management of the bookmark menu which spans across all windows
// (and Browser*s).
scoped_ptr<BookmarkMenuBridge> bookmarkMenuBridge_;
+ scoped_ptr<HistoryMenuBridge> historyMenuBridge_;
scoped_nsobject<PreferencesWindowController> prefsController_;
scoped_nsobject<AboutWindowController> aboutController_;
@@ -34,7 +36,7 @@ class Profile;
// only needed during early startup, it points to a valid vector during early
// startup and is NULL during the rest of app execution.
scoped_ptr<std::vector<GURL> > pendingURLs_;
-
+
// Outlets for the close tab/window menu items so that we can adjust the
// commmand-key equivalent depending on the kind of window and how many
// tabs it has.