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

Issue 3117036: Update browser cache of accessibility tree on renderer sub-tree changes.... (Closed)

Created:
10 years, 4 months ago by Chris Guillory
Modified:
9 years, 7 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, darin-cc_chromium.org, ben+cc_chromium.org, dglazkov, David Tseng
Visibility:
Public.

Description

Update browser cache of accessibility tree on renderer sub-tree changes. WebKit sister patch: http://trac.webkit.org/changeset/66305 BUG=13291 TEST=interactive_ui_tests --gtest_filter=AccessibilityWinBrowserTest.TestDynamicAccessibilityTree TEST=unit_tests --gtest_filter=BrowserAccessibilityTest.TestChildrenChange TEST=unit_tests --gtest_filter=BrowserAccessibilityTest.TestChildrenChangeNoLeaks Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57983

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 8

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : Updating from comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+455 lines, -51 lines) Patch
M chrome/browser/accessibility_win_browsertest.cc View 3 9 chunks +94 lines, -21 lines 0 comments Download
M chrome/browser/browser_accessibility_manager_win.h View 1 2 4 chunks +15 lines, -2 lines 0 comments Download
M chrome/browser/browser_accessibility_manager_win.cc View 1 2 4 chunks +68 lines, -9 lines 0 comments Download
M chrome/browser/browser_accessibility_win.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/browser_accessibility_win.cc View 1 2 4 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/browser_accessibility_win_unittest.cc View 3 3 chunks +150 lines, -7 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 2 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_win.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_win.cc View 1 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/common/notification_type.h View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 4 chunks +19 lines, -9 lines 0 comments Download
M chrome/renderer/render_view.h View 1 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 5 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Chris Guillory
10 years, 4 months ago (2010-08-24 00:30:58 UTC) #1
Chris Guillory
The webkit side of this patch is attached to this webkit bug. https://bugs.webkit.org/show_bug.cgi?id=44472
10 years, 4 months ago (2010-08-24 01:08:44 UTC) #2
dmazzoni
LGTM, just a few small issues. http://codereview.chromium.org/3117036/diff/15001/16001 File chrome/browser/browser_accessibility_manager_win.cc (right): http://codereview.chromium.org/3117036/diff/15001/16001#newcode137 chrome/browser/browser_accessibility_manager_win.cc:137: for (std::vector<webkit_glue::WebAccessibility>::const_iterator acc_obj ...
10 years, 3 months ago (2010-08-30 21:41:10 UTC) #3
Chris Guillory
Thanks. I'm adding tests to unit_tests and interactive_ui_tests. http://codereview.chromium.org/3117036/diff/15001/16001 File chrome/browser/browser_accessibility_manager_win.cc (right): http://codereview.chromium.org/3117036/diff/15001/16001#newcode137 chrome/browser/browser_accessibility_manager_win.cc:137: for ...
10 years, 3 months ago (2010-08-30 21:53:56 UTC) #4
Chris Guillory
This is ready for another look - not sure if an email was sent.
10 years, 3 months ago (2010-08-31 03:02:10 UTC) #5
dmazzoni
LGTM. The tests look great, just one comment. http://codereview.chromium.org/3117036/diff/29001/30006 File chrome/browser/browser_accessibility_win_unittest.cc (right): http://codereview.chromium.org/3117036/diff/29001/30006#newcode125 chrome/browser/browser_accessibility_win_unittest.cc:125: _pAtlModule ...
10 years, 3 months ago (2010-08-31 03:07:58 UTC) #6
Chris Guillory
10 years, 3 months ago (2010-08-31 03:15:10 UTC) #7
Crossing fingers for try job.

http://codereview.chromium.org/3117036/diff/29001/30006
File chrome/browser/browser_accessibility_win_unittest.cc (right):

http://codereview.chromium.org/3117036/diff/29001/30006#newcode125
chrome/browser/browser_accessibility_win_unittest.cc:125: _pAtlModule = &module;
On 2010/08/31 03:07:58, Dominic Mazzoni wrote:
> Put this and CoInitialize in a SetUp method instead, so it doesn't need to be
> repeated for every test. Or try SetUpTestCase, a static method which is called
> just once for all of the tests in this class.
> 

Done.

Powered by Google App Engine
This is Rietveld 408576698