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

Issue 1010083006: Implement AtkComponent interface for chrome UI. (Closed)

Created:
5 years, 9 months ago by shreeramk
Modified:
5 years, 7 months ago
Reviewers:
dmazzoni, aboxhall
CC:
chromium-reviews, je_julie(Not used), plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement AtkComponent interface for chrome UI. Following functions has been implemented in this CL: get_extents, get_size, get_position. BUG=463671 Committed: https://crrev.com/90027a2ffbdf01ead6730f2e23d0bc9dcc814108 Cr-Commit-Position: refs/heads/master@{#327656}

Patch Set 1 #

Total comments: 2

Patch Set 2 : window coords #

Total comments: 15

Patch Set 3 : incorporating comments #

Total comments: 2

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Total comments: 4

Patch Set 6 : fixing nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -0 lines) Patch
M ui/accessibility/platform/ax_platform_node_auralinux.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ui/accessibility/platform/ax_platform_node_auralinux.cc View 1 2 3 4 5 3 chunks +106 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (3 generated)
shreeramk
PTAL. Need feedback. Not ready for commit. https://codereview.chromium.org/1010083006/diff/1/ui/accessibility/platform/ax_platform_node_auralinux.cc File ui/accessibility/platform/ax_platform_node_auralinux.cc (right): https://codereview.chromium.org/1010083006/diff/1/ui/accessibility/platform/ax_platform_node_auralinux.cc#newcode468 ui/accessibility/platform/ax_platform_node_auralinux.cc:468: // Not ...
5 years, 9 months ago (2015-03-26 05:25:15 UTC) #1
dmazzoni
https://codereview.chromium.org/1010083006/diff/1/ui/accessibility/platform/ax_platform_node_auralinux.cc File ui/accessibility/platform/ax_platform_node_auralinux.cc (right): https://codereview.chromium.org/1010083006/diff/1/ui/accessibility/platform/ax_platform_node_auralinux.cc#newcode468 ui/accessibility/platform/ax_platform_node_auralinux.cc:468: // Not able to find any api to get ...
5 years, 9 months ago (2015-03-26 15:44:48 UTC) #3
shreeramk
Implemented calculation wrt window coords. PTAL. Thanks! https://codereview.chromium.org/1010083006/diff/20001/ui/accessibility/platform/ax_platform_node_auralinux.cc File ui/accessibility/platform/ax_platform_node_auralinux.cc (right): https://codereview.chromium.org/1010083006/diff/20001/ui/accessibility/platform/ax_platform_node_auralinux.cc#newcode478 ui/accessibility/platform/ax_platform_node_auralinux.cc:478: *height -= ...
5 years, 8 months ago (2015-03-27 16:09:14 UTC) #4
dmazzoni
Have you tested this? I don't see how the AtkComponent interface can be accessed. https://codereview.chromium.org/1010083006/diff/20001/ui/accessibility/platform/ax_platform_node_auralinux.cc ...
5 years, 8 months ago (2015-03-27 19:09:15 UTC) #5
shreeramk
I haven't tested this yet. Rest other comments I would address in the next patchset. ...
5 years, 8 months ago (2015-03-28 16:59:48 UTC) #6
dmazzoni
Type this command to see an earlier version of ATK support in Chrome. You can ...
5 years, 8 months ago (2015-03-30 16:21:22 UTC) #7
shreeramk
https://codereview.chromium.org/1010083006/diff/40001/ui/accessibility/platform/ax_platform_node_auralinux.cc File ui/accessibility/platform/ax_platform_node_auralinux.cc (right): https://codereview.chromium.org/1010083006/diff/40001/ui/accessibility/platform/ax_platform_node_auralinux.cc#newcode481 ui/accessibility/platform/ax_platform_node_auralinux.cc:481: gfx::Rect rect_size = GetData().location; I think better would be ...
5 years, 8 months ago (2015-03-31 14:47:10 UTC) #8
dmazzoni
https://codereview.chromium.org/1010083006/diff/40001/ui/accessibility/platform/ax_platform_node_auralinux.cc File ui/accessibility/platform/ax_platform_node_auralinux.cc (right): https://codereview.chromium.org/1010083006/diff/40001/ui/accessibility/platform/ax_platform_node_auralinux.cc#newcode481 ui/accessibility/platform/ax_platform_node_auralinux.cc:481: gfx::Rect rect_size = GetData().location; On 2015/03/31 14:47:10, shreeramk wrote: ...
5 years, 8 months ago (2015-03-31 15:13:48 UTC) #9
shreeramk
(Comment on PatchSet 2). https://codereview.chromium.org/1010083006/diff/20001/ui/accessibility/platform/ax_platform_node_auralinux.cc File ui/accessibility/platform/ax_platform_node_auralinux.cc (right): https://codereview.chromium.org/1010083006/diff/20001/ui/accessibility/platform/ax_platform_node_auralinux.cc#newcode506 ui/accessibility/platform/ax_platform_node_auralinux.cc:506: AtkObjectToAXPlatformNodeAuraLinux(parent); On 2015/03/27 19:09:14, dmazzoni ...
5 years, 8 months ago (2015-04-01 11:50:14 UTC) #10
dmazzoni
https://codereview.chromium.org/1010083006/diff/20001/ui/accessibility/platform/ax_platform_node_auralinux.cc File ui/accessibility/platform/ax_platform_node_auralinux.cc (right): https://codereview.chromium.org/1010083006/diff/20001/ui/accessibility/platform/ax_platform_node_auralinux.cc#newcode506 ui/accessibility/platform/ax_platform_node_auralinux.cc:506: AtkObjectToAXPlatformNodeAuraLinux(parent); On 2015/04/01 11:50:14, shreeramk wrote: > On 2015/03/27 ...
5 years, 8 months ago (2015-04-01 15:31:16 UTC) #11
shreeramk
https://codereview.chromium.org/1010083006/diff/60001/ui/accessibility/platform/ax_platform_node_auralinux.cc File ui/accessibility/platform/ax_platform_node_auralinux.cc (right): https://codereview.chromium.org/1010083006/diff/60001/ui/accessibility/platform/ax_platform_node_auralinux.cc#newcode486 ui/accessibility/platform/ax_platform_node_auralinux.cc:486: gfx::Rect AXPlatformNodeAuraLinux::GetWindowCoords() { Sorry :( . I am not ...
5 years, 8 months ago (2015-04-07 13:12:15 UTC) #12
shreeramk
PTAL. I haven't been able to verify since python script to dump tree for chrome ...
5 years, 8 months ago (2015-04-22 11:17:11 UTC) #13
shreeramk
PTAL. Thanks.
5 years, 7 months ago (2015-04-29 18:11:24 UTC) #14
dmazzoni
lgtm I tested it and it worked for me! https://codereview.chromium.org/1010083006/diff/80001/ui/accessibility/platform/ax_platform_node_auralinux.cc File ui/accessibility/platform/ax_platform_node_auralinux.cc (right): https://codereview.chromium.org/1010083006/diff/80001/ui/accessibility/platform/ax_platform_node_auralinux.cc#newcode189 ui/accessibility/platform/ax_platform_node_auralinux.cc:189: ...
5 years, 7 months ago (2015-04-29 21:26:48 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1010083006/100001
5 years, 7 months ago (2015-04-30 05:50:01 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 7 months ago (2015-04-30 06:25:17 UTC) #19
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/90027a2ffbdf01ead6730f2e23d0bc9dcc814108 Cr-Commit-Position: refs/heads/master@{#327656}
5 years, 7 months ago (2015-04-30 06:26:58 UTC) #20
mstensho (USE GERRIT)
5 years, 7 months ago (2015-05-04 08:17:22 UTC) #21
Message was sent while issue was closed.
Causes this (I'm on Debian jessie):

../../ui/accessibility/platform/ax_platform_node_auralinux.cc:193:5: error:
'atk_component_get_position' is deprecated [-Werror,-Wdeprecated-declarations]
    atk_component_get_position(ATK_COMPONENT(atk_object),
    ^
/usr/include/atk-1.0/atk/atkcomponent.h:187:23: note:
'atk_component_get_position' has been explicitly marked deprecated here
void                  atk_component_get_position           (AtkComponent   
*component,
                      ^
1 error generated.

Powered by Google App Engine
This is Rietveld 408576698