Index: chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc |
=================================================================== |
--- chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc (revision 178083) |
+++ chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc (working copy) |
@@ -9,7 +9,6 @@ |
#include "chrome/browser/bookmarks/bookmark_model_factory.h" |
#include "chrome/browser/bookmarks/bookmark_node_data.h" |
#include "chrome/browser/bookmarks/bookmark_utils.h" |
-#include "chrome/browser/event_disposition.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/ui/bookmarks/bookmark_utils.h" |
@@ -25,6 +24,7 @@ |
#include "ui/base/dragdrop/os_exchange_data.h" |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/resource/resource_bundle.h" |
+#include "ui/base/window_open_disposition.h" |
#include "ui/views/controls/button/menu_button.h" |
#include "ui/views/controls/menu/menu_item_view.h" |
#include "ui/views/controls/menu/submenu_view.h" |
@@ -131,7 +131,7 @@ |
selection.push_back(node); |
chrome::OpenAll(parent_->GetNativeWindow(), page_navigator_, selection, |
- chrome::DispositionFromEventFlags(mouse_event_flags), |
+ ui::DispositionFromEventFlags(mouse_event_flags), |
profile_); |
bookmark_utils::RecordBookmarkLaunch(location_); |
} |
@@ -139,7 +139,7 @@ |
bool BookmarkMenuDelegate::ShouldExecuteCommandWithoutClosingMenu( |
int id, const ui::Event& event) { |
return (event.flags() & ui::EF_LEFT_MOUSE_BUTTON) && |
- chrome::DispositionFromEventFlags(event.flags()) == NEW_BACKGROUND_TAB; |
+ ui::DispositionFromEventFlags(event.flags()) == NEW_BACKGROUND_TAB; |
} |
bool BookmarkMenuDelegate::GetDropFormats( |