diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-16 00:26:30 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-16 00:26:30 +0000 |
commit | 4d0bd1045bc0df8daea2a5626e73906cb074631b (patch) | |
tree | 6794b895e236b68c2f7de1163dfb1c554646364c /chrome/views/client_view.cc | |
parent | 7609533b68dcbeaa80bf712dd84726d1da8d3f8a (diff) | |
download | chromium_src-4d0bd1045bc0df8daea2a5626e73906cb074631b.zip chromium_src-4d0bd1045bc0df8daea2a5626e73906cb074631b.tar.gz chromium_src-4d0bd1045bc0df8daea2a5626e73906cb074631b.tar.bz2 |
Rename ViewContainer to Container and HWNDViewContainer to ContainerWin.
http://crbug.com/3430
Review URL: http://codereview.chromium.org/7376
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3441 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/client_view.cc')
-rw-r--r-- | chrome/views/client_view.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/views/client_view.cc b/chrome/views/client_view.cc index 5072acd..29953cc 100644 --- a/chrome/views/client_view.cc +++ b/chrome/views/client_view.cc @@ -24,7 +24,7 @@ int ClientView::NonClientHitTest(const gfx::Point& point) { gfx::Size ClientView::GetPreferredSize() { // |contents_view_| is allowed to be NULL up until the point where this view - // is attached to a ViewContainer. + // is attached to a Container. if (contents_view_) return contents_view_->GetPreferredSize(); return gfx::Size(); @@ -32,7 +32,7 @@ gfx::Size ClientView::GetPreferredSize() { void ClientView::ViewHierarchyChanged(bool is_add, View* parent, View* child) { if (is_add && child == this) { - DCHECK(GetViewContainer()); + DCHECK(GetContainer()); DCHECK(contents_view_); // |contents_view_| must be valid now! AddChildView(contents_view_); } @@ -44,7 +44,7 @@ void ClientView::DidChangeBounds(const CRect& previous, const CRect& current) { void ClientView::Layout() { // |contents_view_| is allowed to be NULL up until the point where this view - // is attached to a ViewContainer. + // is attached to a Container. if (contents_view_) contents_view_->SetBounds(0, 0, width(), height()); } |