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

Side by Side Diff: ui/touch_selection/touch_selection_menu_runner.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: Rebased after addition of touch_handle_orientation file Created 5 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/touch_selection/touch_selection_menu_runner.h"
6
7 namespace ui {
8 namespace {
9
10 TouchSelectionMenuRunner* g_touch_selection_menu_runner = nullptr;
11
12 } // namespace
13
14 TouchSelectionMenuRunner::~TouchSelectionMenuRunner() {
15 g_touch_selection_menu_runner = nullptr;
16 }
17
18 TouchSelectionMenuRunner* TouchSelectionMenuRunner::GetInstance() {
19 return g_touch_selection_menu_runner;
20 }
21
22 TouchSelectionMenuRunner::TouchSelectionMenuRunner() {
23 g_touch_selection_menu_runner = this;
24 }
25
26 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698