diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-02 18:35:06 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-02 18:35:06 +0000 |
commit | 92926d9fd44a3aa9473afd15ce8b5c6f7f7d192c (patch) | |
tree | 419b2a4640e48dfbe0880abcd50d8230849c561e /chrome/browser/cocoa/history_menu_bridge.mm | |
parent | 23b0a94cb3cdf3154e05efb68ad21225859f451a (diff) | |
download | chromium_src-92926d9fd44a3aa9473afd15ce8b5c6f7f7d192c.zip chromium_src-92926d9fd44a3aa9473afd15ce8b5c6f7f7d192c.tar.gz chromium_src-92926d9fd44a3aa9473afd15ce8b5c6f7f7d192c.tar.bz2 |
FBTF: Reaplly the TabRestoreService::Observer into its own file commit.
This means browser.h no longer includes a large chunk of the tab restore
system. Now with fixes to chromeos.
BUG=none
TEST=compiles
First Review URL: http://codereview.chromium.org/3296003
Review URL: http://codereview.chromium.org/3358005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58382 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/history_menu_bridge.mm')
-rw-r--r-- | chrome/browser/cocoa/history_menu_bridge.mm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/history_menu_bridge.mm b/chrome/browser/cocoa/history_menu_bridge.mm index d75043e..10e1bc2 100644 --- a/chrome/browser/cocoa/history_menu_bridge.mm +++ b/chrome/browser/cocoa/history_menu_bridge.mm @@ -46,6 +46,23 @@ const unsigned int kRecentlyClosedCount = 10; } // namespace +HistoryMenuBridge::HistoryItem::HistoryItem() + : icon_requested(false), + menu_item(nil), + session_id(0) { +} + +HistoryMenuBridge::HistoryItem::HistoryItem(const HistoryItem& copy) + : title(copy.title), + url(copy.url), + icon_requested(false), + menu_item(nil), + session_id(copy.session_id) { +} + +HistoryMenuBridge::HistoryItem::~HistoryItem() { +} + HistoryMenuBridge::HistoryMenuBridge(Profile* profile) : controller_([[HistoryMenuCocoaController alloc] initWithBridge:this]), profile_(profile), |