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

Unified Diff: chrome/browser/ui/views/frame/browser_view_layout.cc

Issue 6452011: Rework tree APIs to reflect Google style and more const-correctness.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/frame/browser_view_layout.cc
===================================================================
--- chrome/browser/ui/views/frame/browser_view_layout.cc (revision 74231)
+++ chrome/browser/ui/views/frame/browser_view_layout.cc (working copy)
@@ -135,7 +135,7 @@
// area of the window. So we need to treat hit-tests in these regions as
// hit-tests of the titlebar.
- views::View* parent = browser_view_->GetParent();
+ views::View* parent = browser_view_->parent();
gfx::Point point_in_browser_view_coords(point);
views::View::ConvertPointToView(
@@ -299,7 +299,7 @@
gfx::Rect tabstrip_bounds(
browser_view_->frame()->GetBoundsForTabStrip(tabstrip_));
gfx::Point tabstrip_origin(tabstrip_bounds.origin());
- views::View::ConvertPointToView(browser_view_->GetParent(), browser_view_,
+ views::View::ConvertPointToView(browser_view_->parent(), browser_view_,
&tabstrip_origin);
tabstrip_bounds.set_origin(tabstrip_origin);
@@ -383,7 +383,7 @@
gfx::Point resize_corner_origin(browser_reserved_rect.origin());
// Convert |resize_corner_origin| from browser_view_ to source's parent
// coordinates.
- views::View::ConvertPointToView(browser_view_, source->GetParent(),
+ views::View::ConvertPointToView(browser_view_, source->parent(),
&resize_corner_origin);
// Create |reserved_rect| in source's parent coordinates.
gfx::Rect reserved_rect(resize_corner_origin, browser_reserved_rect.size());
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/frame/opaque_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698