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

Unified Diff: chrome/browser/chromeos/input_method/candidate_window.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/chromeos/input_method/candidate_window.cc
===================================================================
--- chrome/browser/chromeos/input_method/candidate_window.cc (revision 151267)
+++ chrome/browser/chromeos/input_method/candidate_window.cc (working copy)
@@ -759,8 +759,8 @@
// when a popup window gets hidden. http://crosbug.com/11422
gfx::Point location_in_candidate_window = event.location();
- views::View::ConvertPointToView(this, parent_candidate_window_,
- &location_in_candidate_window);
+ views::View::ConvertPointToTarget(this, parent_candidate_window_,
+ &location_in_candidate_window);
parent_candidate_window_->OnCandidatePressed(location_in_candidate_window);
parent_candidate_window_->CommitCandidate();
return false;
@@ -1183,8 +1183,8 @@
const gfx::Point& location) {
for (size_t i = 0; i < candidate_views_.size(); ++i) {
gfx::Point converted_location = location;
- views::View::ConvertPointToView(this, candidate_views_[i],
- &converted_location);
+ views::View::ConvertPointToTarget(this, candidate_views_[i],
+ &converted_location);
if (candidate_views_[i]->HitTestPoint(converted_location)) {
SelectCandidateAt(i);
break;

Powered by Google App Engine
This is Rietveld 408576698