summaryrefslogtreecommitdiffstats
path: root/content/port
diff options
context:
space:
mode:
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-31 08:41:36 +0000
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-31 08:41:36 +0000
commitdfa53fcf91f1e9a912e9e72289b54903bb36a34b (patch)
treedc3d72a0120d69a809386b87d214c6c938d7e7f0 /content/port
parent5883a566033750dbe5cbbfe1f46236126ad0c962 (diff)
downloadchromium_src-dfa53fcf91f1e9a912e9e72289b54903bb36a34b.zip
chromium_src-dfa53fcf91f1e9a912e9e72289b54903bb36a34b.tar.gz
chromium_src-dfa53fcf91f1e9a912e9e72289b54903bb36a34b.tar.bz2
Process accessibility messages in RVHI rather than RWHV*.
BUG=none NOTRY=true Review URL: https://codereview.chromium.org/122563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242753 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-rw-r--r--content/port/browser/render_widget_host_view_port.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index 9dc1757..56f04c1 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -305,10 +305,13 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView,
virtual void SetPopupType(blink::WebPopupType popup_type) = 0;
virtual blink::WebPopupType GetPopupType() = 0;
+ // Get the BrowserAccessibilityManager if it exists, may return NULL.
virtual BrowserAccessibilityManager*
GetBrowserAccessibilityManager() const = 0;
- virtual void OnAccessibilityEvents(
- const std::vector<AccessibilityHostMsg_EventParams>& params) = 0;
+ // Create a BrowserAccessibilityManager for this view if it's possible to
+ // create one and if one doesn't exist already. Some ports may not create
+ // one depending on the current state.
+ virtual void CreateBrowserAccessibilityManagerIfNeeded() = 0;
// Return a value that is incremented each time the renderer swaps a new frame
// to the view.