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

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

Issue 10828265: Replace views::LocatedEvent with ui::LocatedEvent (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_popup_contents_view.cc
===================================================================
--- chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc (revision 151267)
+++ chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc (working copy)
@@ -510,7 +510,7 @@
for (int i = 0; i < nb_match; ++i) {
views::View* child = child_at(i);
gfx::Point point_in_child_coords(point);
- View::ConvertPointToView(this, child, &point_in_child_coords);
+ View::ConvertPointToTarget(this, child, &point_in_child_coords);
if (child->HitTestPoint(point_in_child_coords))
return i;
}
@@ -541,7 +541,7 @@
}
void OmniboxPopupContentsView::UpdateLineEvent(
- const views::LocatedEvent& event,
+ const ui::LocatedEvent& event,
bool should_set_selected_line) {
size_t index = GetIndexForPoint(event.location());
model_->SetHoveredLine(index);
@@ -550,7 +550,7 @@
}
void OmniboxPopupContentsView::OpenSelectedLine(
- const views::LocatedEvent& event,
+ const ui::LocatedEvent& event,
WindowOpenDisposition disposition) {
size_t index = GetIndexForPoint(event.location());
OpenIndex(index, disposition);
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h ('k') | chrome/browser/ui/views/tabs/tab_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698