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

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

Issue 273423004: Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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: content/renderer/accessibility/renderer_accessibility_focus_only.h
diff --git a/content/renderer/accessibility/renderer_accessibility_focus_only.h b/content/renderer/accessibility/renderer_accessibility_focus_only.h
index 806cd4bc94ee5ee2b0fb4143ac4cb1e41bf25034..53068081fa289d2f86db5993c9fbf6404c0e9f25 100644
--- a/content/renderer/accessibility/renderer_accessibility_focus_only.h
+++ b/content/renderer/accessibility/renderer_accessibility_focus_only.h
@@ -9,7 +9,7 @@
namespace content {
-// This is an accsessibility implementation that only handles whatever
+// This is an accessibility 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,17 +49,17 @@ namespace content {
// bounds.
class RendererAccessibilityFocusOnly : public RendererAccessibility {
public:
- explicit RendererAccessibilityFocusOnly(RenderViewImpl* render_view);
+ explicit RendererAccessibilityFocusOnly(RenderFrameImpl* render_frame);
virtual ~RendererAccessibilityFocusOnly();
// RendererAccessibility implementation.
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,

Powered by Google App Engine
This is Rietveld 408576698