summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_controller_mac.mm
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.mm
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.mm')
-rw-r--r--chrome/browser/app_controller_mac.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm
index 5cdaa1c..08882bc 100644
--- a/chrome/browser/app_controller_mac.mm
+++ b/chrome/browser/app_controller_mac.mm
@@ -16,6 +16,7 @@
#include "chrome/browser/browser_window.h"
#import "chrome/browser/cocoa/about_window_controller.h"
#import "chrome/browser/cocoa/bookmark_menu_bridge.h"
+#import "chrome/browser/cocoa/history_menu_bridge.h"
#import "chrome/browser/cocoa/clear_browsing_data_controller.h"
#import "chrome/browser/cocoa/encoding_menu_controller_delegate_mac.h"
#import "chrome/browser/cocoa/preferences_window_controller.h"
@@ -227,6 +228,7 @@
recursively:YES];
bookmarkMenuBridge_.reset(new BookmarkMenuBridge());
+ historyMenuBridge_.reset(new HistoryMenuBridge([self defaultProfile]));
[self setUpdateCheckInterval];