Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3483)

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_win.cc

Issue 10824295: Rid the world of the last of views::Event types: TouchEvent, GestureEvent, MouseWheelEvent, ScrollE… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/omnibox/omnibox_view_win.cc
===================================================================
--- chrome/browser/ui/views/omnibox/omnibox_view_win.cc (revision 151481)
+++ chrome/browser/ui/views/omnibox/omnibox_view_win.cc (working copy)
@@ -227,7 +227,7 @@
effect = OnDragOver(data_object, key_state, cursor_position, effect);
ui::OSExchangeData os_data(new ui::OSExchangeDataProviderWin(data_object));
- views::DropTargetEvent event(os_data, cursor_position.x, cursor_position.y,
+ ui::DropTargetEvent event(os_data, cursor_position.x, cursor_position.y,
ui::DragDropTypes::DropEffectToDragOperation(effect));
int drag_operation = edit_->OnPerformDropImpl(event, edit_->in_drag());
@@ -956,7 +956,7 @@
return native_view_host_;
}
-int OmniboxViewWin::OnPerformDrop(const views::DropTargetEvent& event) {
+int OmniboxViewWin::OnPerformDrop(const ui::DropTargetEvent& event) {
return OnPerformDropImpl(event, false);
}
@@ -972,7 +972,7 @@
return WidthNeededToDisplay(GetText().substr(start));
}
-int OmniboxViewWin::OnPerformDropImpl(const views::DropTargetEvent& event,
+int OmniboxViewWin::OnPerformDropImpl(const ui::DropTargetEvent& event,
bool in_drag) {
const ui::OSExchangeData& data = event.data();
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_win.h ('k') | chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698