diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 22:21:23 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 22:21:23 +0000 |
commit | 6d1c4648e4a9966482d10ad1b212f78d575b5e39 (patch) | |
tree | 07f8c313d6c52ae060fdf273064ac0a56f19c0c6 /chrome/browser/bookmarks | |
parent | 431c446fbd7fe899a5792d611f5abb1a1f68ea3c (diff) | |
download | chromium_src-6d1c4648e4a9966482d10ad1b212f78d575b5e39.zip chromium_src-6d1c4648e4a9966482d10ad1b212f78d575b5e39.tar.gz chromium_src-6d1c4648e4a9966482d10ad1b212f78d575b5e39.tar.bz2 |
GTK: Fixes regression where "Add Page..." didn't work and printed a NOTIMPLEMENTED() to the console.
http://crbug.com/14935
Review URL: http://codereview.chromium.org/145011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18968 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_context_menu.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/bookmarks/bookmark_context_menu.cc b/chrome/browser/bookmarks/bookmark_context_menu.cc index 61c35ce..0f554b2 100644 --- a/chrome/browser/bookmarks/bookmark_context_menu.cc +++ b/chrome/browser/bookmarks/bookmark_context_menu.cc @@ -182,7 +182,7 @@ class EditFolderController : public InputWindowDialog::Delegate, DISALLOW_COPY_AND_ASSIGN(EditFolderController); }; -#if defined(OS_WIN) +#if defined(OS_WIN) || (defined(OS_LINUX) && !defined(TOOLKIT_VIEWS)) // SelectOnCreationHandler ---------------------------------------------------- // Used when adding a new bookmark. If a new bookmark is created it is selected @@ -201,7 +201,7 @@ class SelectOnCreationHandler : public BookmarkEditor::Handler { DISALLOW_COPY_AND_ASSIGN(SelectOnCreationHandler); }; -#endif // #if defined(OS_WIN) +#endif // #if defined(OS_WIN) || (defined(OS_LINUX) && !defined(TOOLKIT_VIEWS)) } // namespace @@ -362,7 +362,7 @@ void BookmarkContextMenu::ExecuteCommand(int id) { case IDS_BOOMARK_BAR_ADD_NEW_BOOKMARK: { UserMetrics::RecordAction(L"BookmarkBar_ContextMenu_Add", profile_); -#if defined(OS_WIN) +#if defined(OS_WIN) || (defined(OS_LINUX) && !defined(TOOLKIT_VIEWS)) BookmarkEditor::Configuration editor_config; BookmarkEditor::Handler* handler = NULL; if (configuration_ == BOOKMARK_BAR) { |