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

Issue 2934953004: De-templatize ui::AXPosition

Created:
3 years, 6 months ago by tapted
Modified:
3 years, 6 months ago
Reviewers:
nektarios, dmazzoni
CC:
chromium-reviews, aboxhall+watch_chromium.org, nektar+watch_chromium.org, jam, yuzo+watch_chromium.org, dougt+watch_chromium.org, darin-cc_chromium.org, aleventhal+watch_chromium.org, dtseng+watch_chromium.org, mac-reviews_chromium.org, je_julie, dmazzoni+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

De-templatize ui::AXPosition This is required to share the Objective C code in BrowserAccessibilityCocoa BUG=657884

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : Rollback some stuff #

Patch Set 4 : fix windows compile #

Patch Set 5 : Fix Android? #

Total comments: 4

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+742 lines, -624 lines) Patch
M content/browser/accessibility/ax_platform_position.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/ax_platform_position.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility.cc View 1 2 3 4 5 1 chunk +5 lines, -5 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_cocoa.mm View 1 2 3 4 18 chunks +81 lines, -69 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_com_win.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_com_win.cc View 1 2 3 4 5 6 chunks +19 lines, -18 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.h View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/web_contents_accessibility_android.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/accessibility/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ui/accessibility/ax_node_position.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/accessibility/ax_node_position.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/accessibility/ax_node_position_unittest.cc View 71 chunks +342 lines, -321 lines 0 comments Download
M ui/accessibility/ax_position.h View 1 2 3 19 chunks +136 lines, -147 lines 0 comments Download
A ui/accessibility/ax_position.cc View 1 chunk +71 lines, -0 lines 0 comments Download
M ui/accessibility/ax_range.h View 1 2 3 3 chunks +48 lines, -51 lines 0 comments Download
A ui/accessibility/ax_range.cc View 1 chunk +26 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (17 generated)
tapted
Hi Dominic, please take a look. There's lots more to do, but this is probably ...
3 years, 6 months ago (2017-06-15 11:57:44 UTC) #17
dmazzoni
+nektar Nektarios, do you have any concerns?
3 years, 6 months ago (2017-06-15 19:23:01 UTC) #19
tapted
There's another landable chunk in https://codereview.chromium.org/2940923003/ so you can get a feel for where I'm ...
3 years, 6 months ago (2017-06-19 10:41:41 UTC) #20
chromium-reviews
3 years, 6 months ago (2017-06-19 14:33:05 UTC) #21
Let's meet to discuss because I don't quite understand the need for this.
The reason I created a template in the first place is so that we'll have 
an instantiation for web view in AXPlatformPosition and one for Views in 
AXNodePosition.
Is using ui/accessibility/platform/ax_node_position.cc not possible?
Why do we need a class that will be returning Cocoa objects? Couldn't we 
use AXNode objects for positions and map to Cocoa objects only when 
needed? That's what we do in Web view. We use BrowserAccessibility 
objects for positions and map to Cocoa objects only when needed.

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698