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

Unified Diff: ui/views/views_delegate.cc

Issue 698253004: Reland: Implement Aura side of unified touch text selection for contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test failures on Mac Created 5 years, 8 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/views_delegate.cc
diff --git a/ui/views/views_delegate.cc b/ui/views/views_delegate.cc
index 4c1ae4f6b90ae5d70eba822e96959723e7ae3a04..7646294a7734d79a64a28c3d30cf63465d1d409e 100644
--- a/ui/views/views_delegate.cc
+++ b/ui/views/views_delegate.cc
@@ -5,6 +5,7 @@
#include "ui/views/views_delegate.h"
#include "base/command_line.h"
+#include "ui/views/touchui/touch_selection_menu_runner_views.h"
#include "ui/views/views_touch_selection_controller_factory.h"
namespace views {
@@ -12,6 +13,10 @@ namespace views {
ViewsDelegate::ViewsDelegate()
: views_tsc_factory_(new ViewsTouchEditingControllerFactory) {
ui::TouchEditingControllerFactory::SetInstance(views_tsc_factory_.get());
+
+#if defined(USE_AURA)
+ touch_selection_menu_runner_.reset(new TouchSelectionMenuRunnerViews());
+#endif // defined(USE_AURA)
}
ViewsDelegate::~ViewsDelegate() {
« ui/views/touchui/touch_selection_menu_runner_views.cc ('K') | « ui/views/views_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698