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

Unified Diff: trunk/src/content/renderer/accessibility/renderer_accessibility_focus_only.h

Issue 408663006: Revert 284065 "Revert of Revert of Migrate accessibility from Re..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/content/renderer/accessibility/renderer_accessibility_focus_only.h
===================================================================
--- trunk/src/content/renderer/accessibility/renderer_accessibility_focus_only.h (revision 284469)
+++ trunk/src/content/renderer/accessibility/renderer_accessibility_focus_only.h (working copy)
@@ -9,7 +9,7 @@
namespace content {
-// This is an accessibility implementation that only handles whatever
+// This is an accsessibility implementation that only handles whatever
// node has focus, ignoring everything else. It's here because on Windows 8,
// we need to use accessibility APIs to tell the operating system when a
// touch should pop up the on-screen keyboard, but it's not worth the
@@ -49,7 +49,7 @@
// bounds.
class RendererAccessibilityFocusOnly : public RendererAccessibility {
public:
- explicit RendererAccessibilityFocusOnly(RenderFrameImpl* render_frame);
+ explicit RendererAccessibilityFocusOnly(RenderViewImpl* render_view);
virtual ~RendererAccessibilityFocusOnly();
// RendererAccessibility implementation.
@@ -56,11 +56,11 @@
virtual void HandleWebAccessibilityEvent(
const blink::WebAXObject& obj, blink::WebAXEvent event) OVERRIDE;
virtual RendererAccessibilityType GetType() OVERRIDE;
+
+ // RenderView::Observer implementation.
virtual void FocusedNodeChanged(const blink::WebNode& node) OVERRIDE;
+ virtual void DidFinishLoad(blink::WebLocalFrame* frame) OVERRIDE;
- // RenderFrameObserver implementation.
- virtual void DidFinishLoad() OVERRIDE;
-
private:
void HandleFocusedNodeChanged(const blink::WebNode& node,
bool send_focus_event);

Powered by Google App Engine
This is Rietveld 408576698