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

Unified Diff: ui/views/touchui/touch_selection_controller_impl.cc

Issue 2924893002: touch ui: Do not hide text selection handles when screen is rotated. (Closed)
Patch Set: Created 3 years, 6 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/touchui/touch_selection_controller_impl.h ('k') | no next file » | 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 059709030799446c35d54c78b73330da7e71bab3..a348d0c20536f21e85f0e0166c99f316cb821614 100644
--- a/ui/views/touchui/touch_selection_controller_impl.cc
+++ b/ui/views/touchui/touch_selection_controller_impl.cc
@@ -643,12 +643,6 @@ void TouchSelectionControllerImpl::RunContextMenu() {
client_view_->OpenContextMenu(anchor);
}
-void TouchSelectionControllerImpl::OnAncestorWindowTransformed(
- aura::Window* window,
- aura::Window* ancestor) {
- client_view_->DestroyTouchSelection();
-}
-
sammiequon 2017/06/06 19:01:27 Would removing this have other undesired effects?
mohsen 2017/06/07 18:20:38 This was added for Project Athena where we had tex
sammiequon 2017/06/07 18:53:49 Acknowledged. Do you think we should revert https:
void TouchSelectionControllerImpl::OnWidgetClosing(Widget* widget) {
DCHECK_EQ(client_widget_, widget);
client_widget_->RemoveObserver(this);
« no previous file with comments | « ui/views/touchui/touch_selection_controller_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698