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

Side by Side Diff: ui/touch_selection/BUILD.gn

Issue 1087893003: Support longpress drag selection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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 unified diff | Download patch
« no previous file with comments | « ui/events/test/motion_event_test_utils.cc ('k') | ui/touch_selection/longpress_drag_selector.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
11 11
12 component("touch_selection") { 12 component("touch_selection") {
13 output_name = "ui_touch_selection" 13 output_name = "ui_touch_selection"
14 14
15 sources = [ 15 sources = [
16 "longpress_drag_selector.cc",
17 "longpress_drag_selector.h",
16 "selection_event_type.h", 18 "selection_event_type.h",
17 "touch_handle.cc", 19 "touch_handle.cc",
18 "touch_handle.h", 20 "touch_handle.h",
19 "touch_handle_orientation.h", 21 "touch_handle_orientation.h",
20 "touch_selection_controller.cc", 22 "touch_selection_controller.cc",
21 "touch_selection_controller.h", 23 "touch_selection_controller.h",
24 "touch_selection_draggable.h",
22 "ui_touch_selection_export.h", 25 "ui_touch_selection_export.h",
23 ] 26 ]
24 27
25 defines = [ "UI_TOUCH_SELECTION_IMPLEMENTATION" ] 28 defines = [ "UI_TOUCH_SELECTION_IMPLEMENTATION" ]
26 29
27 deps = [ 30 deps = [
28 "//base:base", 31 "//base:base",
29 "//ui/base:base", 32 "//ui/base:base",
30 "//ui/events:events", 33 "//ui/events:events",
31 "//ui/events:gesture_detection", 34 "//ui/events:gesture_detection",
(...skipping 13 matching lines...) Expand all
45 "touch_handle_drawable_aura.cc", 48 "touch_handle_drawable_aura.cc",
46 "touch_handle_drawable_aura.h", 49 "touch_handle_drawable_aura.h",
47 "touch_selection_menu_runner.cc", 50 "touch_selection_menu_runner.cc",
48 "touch_selection_menu_runner.h", 51 "touch_selection_menu_runner.h",
49 ] 52 ]
50 } 53 }
51 } 54 }
52 55
53 test("ui_touch_selection_unittests") { 56 test("ui_touch_selection_unittests") {
54 sources = [ 57 sources = [
58 "longpress_drag_selector_unittest.cc",
55 "touch_handle_unittest.cc", 59 "touch_handle_unittest.cc",
56 "touch_selection_controller_unittest.cc", 60 "touch_selection_controller_unittest.cc",
57 ] 61 ]
58 62
59 deps = [ 63 deps = [
60 ":touch_selection", 64 ":touch_selection",
61 "//base/test:run_all_unittests", 65 "//base/test:run_all_unittests",
62 "//testing/gmock:gmock", 66 "//testing/gmock:gmock",
63 "//testing/gtest:gtest", 67 "//testing/gtest:gtest",
64 "//ui/base:base", 68 "//ui/base:base",
(...skipping 14 matching lines...) Expand all
79 } 83 }
80 java_cpp_enum("ui_touch_handle_orientation_srcjar") { 84 java_cpp_enum("ui_touch_handle_orientation_srcjar") {
81 sources = [ 85 sources = [
82 "touch_handle_orientation.h", 86 "touch_handle_orientation.h",
83 ] 87 ]
84 outputs = [ 88 outputs = [
85 "org/chromium/ui/touch_selection/TouchHandleOrientation.java", 89 "org/chromium/ui/touch_selection/TouchHandleOrientation.java",
86 ] 90 ]
87 } 91 }
88 } 92 }
OLDNEW
« no previous file with comments | « ui/events/test/motion_event_test_utils.cc ('k') | ui/touch_selection/longpress_drag_selector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698