OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 } |
| 16 |
| 17 TouchSelectionMenuRunner* TouchSelectionMenuRunner::GetInstance() { |
| 18 return g_touch_selection_menu_runner; |
| 19 } |
| 20 |
| 21 TouchSelectionMenuRunner::TouchSelectionMenuRunner() { |
| 22 } |
| 23 |
| 24 void TouchSelectionMenuRunner::SetInstance(TouchSelectionMenuRunner* instance) { |
| 25 g_touch_selection_menu_runner = instance; |
| 26 } |
| 27 |
| 28 } // namespace ui |
OLD | NEW |