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

Issue 1195223006: Reports the position of the caret and current selection in content editables. (Closed)

Created:
5 years, 6 months ago by nektarios
Modified:
5 years, 4 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, jam, yuzo+watch_chromium.org, je_julie, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reports the position of the caret and current selection in content editables. Implements storing of per-frame selection offsets in the accessibility tree and adds Windows specific code for reporting these offsets across embedded objects according to the IA2 Spec. BUG=491027 R=dmazzoni@chromium.org Committed: https://crrev.com/8ff878a865f9810d9338a077680b706c2a07f265 Cr-Commit-Position: refs/heads/master@{#342368}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressed comments from reviewer. #

Patch Set 3 : Fixed compilation errors. #

Patch Set 4 : Added unit tests. #

Total comments: 8

Patch Set 5 : Rebased with master. #

Total comments: 1

Patch Set 6 : Added a CHECK for nullptr function arguments. #

Patch Set 7 : Fixed DCHECK check. #

Patch Set 8 : Fixed one affected test. #

Patch Set 9 : Disabled tests that require CL that fixes IA2 Hypertext to be submitted before they would start fun… #

Patch Set 10 : Added back DCHECKs. #

Patch Set 11 : Rebased with master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+527 lines, -45 lines) Patch
M components/test_runner/web_ax_object_proxy.h View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M components/test_runner/web_ax_object_proxy.cc View 1 2 3 4 2 chunks +68 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_win.h View 1 2 3 2 chunks +22 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.cc View 1 2 3 4 5 6 9 5 chunks +132 lines, -30 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win_unittest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +253 lines, -7 lines 0 comments Download
M content/renderer/accessibility/blink_ax_tree_source.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +13 lines, -0 lines 0 comments Download
M content/test/data/accessibility/html/input-password-expected-win.txt View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M ui/accessibility/ax_enums.idl View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -1 line 0 comments Download
M ui/accessibility/ax_node_data.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 52 (23 generated)
nektarios
5 years, 6 months ago (2015-06-22 03:55:10 UTC) #1
dmazzoni
https://codereview.chromium.org/1195223006/diff/1/components/test_runner/web_ax_object_proxy.cc File components/test_runner/web_ax_object_proxy.cc (right): https://codereview.chromium.org/1195223006/diff/1/components/test_runner/web_ax_object_proxy.cc#newcode747 components/test_runner/web_ax_object_proxy.cc:747: blink::WebAxObject* anchorObject = nullptr; Typo: WebAxObject -> WebAXObject https://codereview.chromium.org/1195223006/diff/1/components/test_runner/web_ax_object_proxy.h ...
5 years, 6 months ago (2015-06-22 19:23:22 UTC) #2
chromium-reviews
All fixed. To unsubscribe from this group and stop receiving emails from it, send an ...
5 years, 6 months ago (2015-06-24 19:26:24 UTC) #3
dmazzoni
Great, just needs a unit test, ideally something very much like BrowserAccessibilityTest::TestCaretAndTextSelection. I'd be happiest ...
5 years, 6 months ago (2015-06-26 06:22:16 UTC) #4
chromium-reviews
A) Wrote extensive unit tests for: 1. get_caretOffset, get_nSelections and get_selection on all objects inside ...
5 years, 5 months ago (2015-07-15 18:52:27 UTC) #5
dmazzoni
https://codereview.chromium.org/1195223006/diff/60001/content/browser/accessibility/browser_accessibility_win.cc File content/browser/accessibility/browser_accessibility_win.cc (right): https://codereview.chromium.org/1195223006/diff/60001/content/browser/accessibility/browser_accessibility_win.cc#newcode9 content/browser/accessibility/browser_accessibility_win.cc:9: #include <algorithm> Nit: don't group this with the Microsoft ...
5 years, 5 months ago (2015-07-16 19:50:23 UTC) #6
chromium-reviews
All recommendations finished but nothing will be checked in until my browser test is ready. ...
5 years, 5 months ago (2015-07-23 22:05:58 UTC) #7
dmazzoni
I don't see a new upload
5 years, 4 months ago (2015-07-27 19:22:36 UTC) #8
chromium-reviews
I guess I forgot to upload. Sorry. Can you see it now? To unsubscribe from ...
5 years, 4 months ago (2015-07-27 22:02:58 UTC) #9
dmazzoni
lgtm https://codereview.chromium.org/1195223006/diff/80001/content/browser/accessibility/browser_accessibility_win.cc File content/browser/accessibility/browser_accessibility_win.cc (right): https://codereview.chromium.org/1195223006/diff/80001/content/browser/accessibility/browser_accessibility_win.cc#newcode3738 content/browser/accessibility/browser_accessibility_win.cc:3738: if (!selection_start || !selection_end) This could maybe be ...
5 years, 4 months ago (2015-07-27 23:24:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1195223006/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1195223006/100001
5 years, 4 months ago (2015-08-05 19:03:37 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/24825)
5 years, 4 months ago (2015-08-05 20:05:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1195223006/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1195223006/120001
5 years, 4 months ago (2015-08-05 23:17:11 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/87084)
5 years, 4 months ago (2015-08-06 00:27:24 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1195223006/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1195223006/120001
5 years, 4 months ago (2015-08-06 15:21:04 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/87393)
5 years, 4 months ago (2015-08-06 16:19:11 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1195223006/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1195223006/120001
5 years, 4 months ago (2015-08-06 16:27:04 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/25246)
5 years, 4 months ago (2015-08-06 16:58:38 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1195223006/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1195223006/140001
5 years, 4 months ago (2015-08-06 20:59:15 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/87646)
5 years, 4 months ago (2015-08-06 22:05:34 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1195223006/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1195223006/160001
5 years, 4 months ago (2015-08-07 14:36:31 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/82578) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 4 months ago (2015-08-07 14:38:01 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1195223006/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1195223006/160001
5 years, 4 months ago (2015-08-07 14:46:12 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/82581) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 4 months ago (2015-08-07 14:47:41 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1195223006/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1195223006/180001
5 years, 4 months ago (2015-08-07 14:53:20 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/82585) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 4 months ago (2015-08-07 14:54:42 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1195223006/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1195223006/200001
5 years, 4 months ago (2015-08-07 15:46:58 UTC) #50
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 4 months ago (2015-08-07 16:57:06 UTC) #51
commit-bot: I haz the power
5 years, 4 months ago (2015-08-07 16:57:47 UTC) #52
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/8ff878a865f9810d9338a077680b706c2a07f265
Cr-Commit-Position: refs/heads/master@{#342368}

Powered by Google App Engine
This is Rietveld 408576698