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

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

Issue 2924893002: touch ui: Do not hide text selection handles when screen is rotated. (Closed)
Patch Set: Compiles. 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 | « no previous file | ui/views/touchui/touch_selection_controller_impl.cc » ('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.h
diff --git a/ui/views/touchui/touch_selection_controller_impl.h b/ui/views/touchui/touch_selection_controller_impl.h
index aa32e5f8f4841ddd9da2ec05f7230c46674c47a8..cf222421548f70fc76589aa7948556044e2bd32e 100644
--- a/ui/views/touchui/touch_selection_controller_impl.h
+++ b/ui/views/touchui/touch_selection_controller_impl.h
@@ -7,7 +7,6 @@
#include "base/macros.h"
#include "base/timer/timer.h"
-#include "ui/aura/window_observer.h"
#include "ui/base/touch/touch_editing_controller.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/selection_bound.h"
@@ -29,7 +28,6 @@ class WidgetTestInteractive;
class VIEWS_EXPORT TouchSelectionControllerImpl
: public ui::TouchEditingControllerDeprecated,
public ui::TouchSelectionMenuClient,
- public aura::WindowObserver,
public WidgetObserver,
public ui::EventHandler {
public:
@@ -77,10 +75,6 @@ class VIEWS_EXPORT TouchSelectionControllerImpl
void ExecuteCommand(int command_id, int event_flags) override;
void RunContextMenu() override;
- // Overriden from aura::WindowObserver.
- void OnAncestorWindowTransformed(aura::Window* source,
- aura::Window* window) override;
-
// Overridden from WidgetObserver. We will observe the widget backing the
// |client_view_| so that when its moved/resized, we can update the selection
// handles appropriately.
« no previous file with comments | « no previous file | ui/views/touchui/touch_selection_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698