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

Unified Diff: chrome/browser/ui/views/toolbar_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/toolbar_view.cc
===================================================================
--- chrome/browser/ui/views/toolbar_view.cc (revision 151267)
+++ chrome/browser/ui/views/toolbar_view.cc (working copy)
@@ -731,7 +731,7 @@
if (si_mode.animate && si_mode.is_search() &&
!location_bar_container_->IsAnimating()) {
gfx::Point location_bar_origin(location_bar_bounds.origin());
- views::View::ConvertPointToView(this, location_bar_container_->parent(),
+ views::View::ConvertPointToTarget(this, location_bar_container_->parent(),
&location_bar_origin);
location_bar_container_->AnimateTo(
gfx::Rect(location_bar_origin, location_bar_bounds.size()));
@@ -1011,7 +1011,7 @@
// LocationBarContainer is not a child of the ToolbarView.
gfx::Point origin(bounds.origin());
- views::View::ConvertPointToView(this, location_bar_container_->parent(),
+ views::View::ConvertPointToTarget(this, location_bar_container_->parent(),
&origin);
gfx::Rect target_bounds(origin, bounds.size());
if (location_bar_container_->GetTargetBounds() != target_bounds) {
« no previous file with comments | « chrome/browser/ui/views/theme_background.cc ('k') | ui/views/accessibility/native_view_accessibility_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698