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

Issue 8869006: Remove special casing for firing load completes. (Closed)

Created:
9 years ago by David Tseng
Modified:
9 years ago
Reviewers:
dmazzoni
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, dpranke-watch+content_chromium.org, ananta
Visibility:
Public.

Description

Remove special casing for firing load completes. With the new logic in SendPendingAccessibilityNotifications, it is no longer necessary to fire a load complete as the first notification to the browser. Since we walk the parent chain, looking for the first entry actually in our browser cache, we will always end up walking up to the root. This change therefore also makes sure that notifications fired on the root will include all of the subtree when composing the notification. BUG=none. TEST=manual. Merge remote-tracking branch 'origin' into build_break Merge branch 'trunk' of http://git.chromium.org/git/chromium into build_break Attempt fixes at chrome frame tests redness. TBR=dtseng Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113704

Patch Set 1 #

Patch Set 2 : Initial patch. #

Total comments: 1

Patch Set 3 : Add comment. #

Patch Set 4 : Fix tests. #

Patch Set 5 : Poll while busy a11y tree returned. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -27 lines) Patch
M content/browser/accessibility/renderer_accessibility_browsertest.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host.cc View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download
M content/renderer/renderer_accessibility.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/renderer_accessibility.cc View 1 2 4 7 chunks +7 lines, -18 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
David Tseng
dmazzoni: primary. fyi: ananta. owners: jam (move to "to" once reviewed).
9 years ago (2011-12-08 17:10:22 UTC) #1
dmazzoni
I'm testing this on Windows now... http://codereview.chromium.org/8869006/diff/12001/content/renderer/renderer_accessibility.cc File content/renderer/renderer_accessibility.cc (right): http://codereview.chromium.org/8869006/diff/12001/content/renderer/renderer_accessibility.cc#newcode222 content/renderer/renderer_accessibility.cc:222: root_id == notification.id; ...
9 years ago (2011-12-08 17:54:30 UTC) #2
David Tseng
> http://codereview.chromium.org/8869006/diff/12001/content/renderer/renderer_accessibility.cc > File content/renderer/renderer_accessibility.cc (right): > > http://codereview.chromium.org/8869006/diff/12001/content/renderer/renderer_accessibility.cc#newcode222 > content/renderer/renderer_accessibility.cc:222: root_id == > notification.id; ...
9 years ago (2011-12-08 18:34:53 UTC) #3
dmazzoni
On Thu, Dec 8, 2011 at 10:34 AM, David Tseng <dtseng@chromium.org> wrote: > 2. keep ...
9 years ago (2011-12-08 18:39:20 UTC) #4
dmazzoni
9 years ago (2011-12-08 19:09:38 UTC) #5
Update: without this patch, all of the *CFTxtField* tests fail locally.
With this patch, all of these tests pass locally.

Probably a lot more tests are fixed, but those are the most definitive.

Check this in!

Powered by Google App Engine
This is Rietveld 408576698