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

Unified Diff: ui/views/touchui/touch_selection_controller_impl.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: 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
Index: ui/views/touchui/touch_selection_controller_impl.cc
diff --git a/ui/views/touchui/touch_selection_controller_impl.cc b/ui/views/touchui/touch_selection_controller_impl.cc
index b4f0508e5c622eb01622f86ec8db87f8b61010e0..18b5c9f18b95df066bd35eaafd09b524203cee81 100644
--- a/ui/views/touchui/touch_selection_controller_impl.cc
+++ b/ui/views/touchui/touch_selection_controller_impl.cc
@@ -96,7 +96,7 @@ class TouchSelectionControllerImpl::SelectionHandleView : public View {
widget_->SetAlwaysOnTop(true);
// We are owned by the TouchSelectionController.
- set_parent_owned(false);
+ set_not_owned_by_parent();
}
virtual ~SelectionHandleView() {
@@ -207,7 +207,7 @@ class TouchSelectionControllerImpl::TouchContextMenuView
widget_->SetAlwaysOnTop(true);
// We are owned by the TouchSelectionController.
- set_parent_owned(false);
+ set_not_owned_by_parent();
SetLayoutManager(new BoxLayout(BoxLayout::kHorizontal, kContextMenuPadding,
kContextMenuPadding, kContextMenuPadding));
}

Powered by Google App Engine
This is Rietveld 408576698