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

Unified Diff: ui/accessibility/BUILD.gn

Issue 2852763002: Added a system caret used for accessibility on Windows. (Closed)
Patch Set: Added a system caret for accessibility on Windows. 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 | « content/browser/renderer_host/legacy_render_widget_host_win.cc ('k') | ui/accessibility/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/BUILD.gn
diff --git a/ui/accessibility/BUILD.gn b/ui/accessibility/BUILD.gn
index 422dd09b1ca7b8c30d3eb42f4a71dc62ca07eebc..3587d7727ef24910e7ab6af6a9caca310389cead 100644
--- a/ui/accessibility/BUILD.gn
+++ b/ui/accessibility/BUILD.gn
@@ -59,8 +59,6 @@ component("accessibility") {
if (has_native_accessibility) {
sources += [
- "platform/ax_fake_caret_win.cc",
- "platform/ax_fake_caret_win.h",
"platform/ax_platform_node.cc",
"platform/ax_platform_node.h",
"platform/ax_platform_node_base.cc",
@@ -70,6 +68,8 @@ component("accessibility") {
"platform/ax_platform_node_mac.mm",
"platform/ax_platform_node_win.cc",
"platform/ax_platform_node_win.h",
+ "platform/ax_system_caret_win.cc",
+ "platform/ax_system_caret_win.h",
]
}
@@ -138,6 +138,7 @@ if (is_android) {
}
static_library("test_support") {
+ testonly = true
sources = [
"tree_generator.cc",
"tree_generator.h",
@@ -155,7 +156,34 @@ static_library("test_support") {
]
}
+if (is_win) {
+ test("accessibility_interactive_ui_tests") {
dmazzoni 2017/06/27 15:28:42 This would require extra work because it won't eve
+ testonly = true
+ sources = [
+ "platform/ax_system_caret_win_interactive_uitest.cc",
+ ]
+
+ deps = [
+ ":accessibility",
+ "//base",
+ "//base/test:test_support",
+ "//testing/gtest",
+ "//ui/base",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ "//ui/gl:test_support",
+ "//ui/views/:test_support",
+ ]
+
+ if (is_win) {
+ deps += [ "//third_party/iaccessible2" ]
+ libs = [ "oleacc.lib" ]
+ }
+ }
+}
+
test("accessibility_unittests") {
+ testonly = true
sources = [
"ax_generated_tree_unittest.cc",
"ax_node_position_unittest.cc",
@@ -181,6 +209,7 @@ test("accessibility_unittests") {
if (is_win) {
deps += [ "//third_party/iaccessible2" ]
+ libs = [ "oleacc.lib" ]
}
}
« no previous file with comments | « content/browser/renderer_host/legacy_render_widget_host_win.cc ('k') | ui/accessibility/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698