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

Unified Diff: ui/oak/oak_window.cc

Issue 10384068: views: Have a more accurate name for View parent_owned accessors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 7 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
« no previous file with comments | « chrome/browser/ui/views/tabs/dragged_tab_view.cc ('k') | ui/views/controls/menu/submenu_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/oak/oak_window.cc
diff --git a/ui/oak/oak_window.cc b/ui/oak/oak_window.cc
index 81c4c2f0bfdca373a4a15b48153060b67274431d..6777b7efcd1247f5580114d89c7685ef9f5e28f6 100644
--- a/ui/oak/oak_window.cc
+++ b/ui/oak/oak_window.cc
@@ -120,7 +120,7 @@ void OakWindow::Init() {
tree_model_.reset(
GenerateModel(GetWidget()->GetNativeView()->GetRootWindow()));
tree_.reset(new views::TreeView);
- tree_->set_parent_owned(false);
+ tree_->set_owned_by_client();
tree_->SetController(this);
tree_->SetModel(tree_model_.get());
tree_container_ = tree_->CreateParentIfNecessary();
@@ -135,7 +135,7 @@ void OakWindow::Init() {
true,
false,
false));
- details_->set_parent_owned(false);
+ details_->set_owned_by_client();
details_container_ = details_->CreateParentIfNecessary();
details_->SetModel(details_model_.get());
AddChildView(details_container_);
« no previous file with comments | « chrome/browser/ui/views/tabs/dragged_tab_view.cc ('k') | ui/views/controls/menu/submenu_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698