diff options
author | grt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-25 01:14:45 +0000 |
---|---|---|
committer | grt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-25 01:14:45 +0000 |
commit | 3144b899bb8629e4eca7c2f4667f2b6fa7c62499 (patch) | |
tree | 52cb8c8da81c8393b9d18c834e388ca3beab6e8b /content/browser/renderer_host/test_render_view_host.h | |
parent | f0739527baf1af66ee8238ae7294a24ebb01a729 (diff) | |
download | chromium_src-3144b899bb8629e4eca7c2f4667f2b6fa7c62499.zip chromium_src-3144b899bb8629e4eca7c2f4667f2b6fa7c62499.tar.gz chromium_src-3144b899bb8629e4eca7c2f4667f2b6fa7c62499.tar.bz2 |
Allow the IAccessible parent to be known late in the game.
In the case of a tab loading in the background, accessibility
notifications may arrive from the renderer before the tab's WebContents
is added to a WebView. In this case, the accessible parent isn't yet
known. Handle this case by allowing the RWHVA's
BrowserAccessibilityManager to be created without an accessible parent
and then receive that parent (from a WebContentsImpl) when the
WebContents is finally attached to a WebView.
BUG=242524
R=dmazzoni@chromium.org
Review URL: https://chromiumcodereview.appspot.com/15744014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202247 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/test_render_view_host.h')
-rw-r--r-- | content/browser/renderer_host/test_render_view_host.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/browser/renderer_host/test_render_view_host.h b/content/browser/renderer_host/test_render_view_host.h index 68634d4..9fb3cfc 100644 --- a/content/browser/renderer_host/test_render_view_host.h +++ b/content/browser/renderer_host/test_render_view_host.h @@ -164,6 +164,10 @@ class TestRenderWidgetHostView : public RenderWidgetHostViewBase { #endif virtual bool LockMouse() OVERRIDE; virtual void UnlockMouse() OVERRIDE; +#if defined(OS_WIN) && defined(USE_AURA) + virtual void SetParentNativeViewAccessible( + gfx::NativeViewAccessible accessible_parent) OVERRIDE; +#endif bool is_showing() const { return is_showing_; } |