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

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: 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 | « ui/views/controls/tabbed_pane/native_tabbed_pane_win.cc ('k') | ui/views/view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..93fb4bcd242aef61549708a3b071980d93bd5fe6 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_owned_by_client();
}
virtual ~SelectionHandleView() {
@@ -207,7 +207,7 @@ class TouchSelectionControllerImpl::TouchContextMenuView
widget_->SetAlwaysOnTop(true);
// We are owned by the TouchSelectionController.
- set_parent_owned(false);
+ set_owned_by_client();
SetLayoutManager(new BoxLayout(BoxLayout::kHorizontal, kContextMenuPadding,
kContextMenuPadding, kContextMenuPadding));
}
« no previous file with comments | « ui/views/controls/tabbed_pane/native_tabbed_pane_win.cc ('k') | ui/views/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698