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

Side by Side Diff: content/renderer/accessibility/renderer_accessibility.h

Issue 116293005: Refactor content/ to use ui::AXNodeData instead of blink. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update content/DEPS instead of subdirs Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_H_ 5 #ifndef CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_H_
6 #define CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_H_ 6 #define CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_H_
7 7
8 #include "content/common/accessibility_messages.h" 8 #include "content/common/accessibility_messages.h"
9 #include "content/public/renderer/render_view_observer.h" 9 #include "content/public/renderer/render_view_observer.h"
10 #include "third_party/WebKit/public/web/WebAXObject.h" 10 #include "third_party/WebKit/public/web/WebAXObject.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Called when an accessibility notification occurs in WebKit. 56 // Called when an accessibility notification occurs in WebKit.
57 virtual void HandleWebAccessibilityEvent( 57 virtual void HandleWebAccessibilityEvent(
58 const blink::WebAXObject& obj, blink::WebAXEvent event) = 0; 58 const blink::WebAXObject& obj, blink::WebAXEvent event) = 0;
59 59
60 protected: 60 protected:
61 // Returns the main top-level document for this page, or NULL if there's 61 // Returns the main top-level document for this page, or NULL if there's
62 // no view or frame. 62 // no view or frame.
63 blink::WebDocument GetMainDocument(); 63 blink::WebDocument GetMainDocument();
64 64
65 #ifndef NDEBUG 65 #ifndef NDEBUG
66 const std::string AccessibilityEventToString(blink::WebAXEvent event); 66 const std::string AccessibilityEventToString(ui::AXEvent event);
67 #endif 67 #endif
68 68
69 // The RenderViewImpl that owns us. 69 // The RenderViewImpl that owns us.
70 RenderViewImpl* render_view_; 70 RenderViewImpl* render_view_;
71 71
72 // True if verbose logging of accessibility events is on. 72 // True if verbose logging of accessibility events is on.
73 bool logging_; 73 bool logging_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(RendererAccessibility); 75 DISALLOW_COPY_AND_ASSIGN(RendererAccessibility);
76 }; 76 };
77 77
78 } // namespace content 78 } // namespace content
79 79
80 #endif // CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_H_ 80 #endif // CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « content/renderer/accessibility/blink_ax_enum_conversion.cc ('k') | content/renderer/accessibility/renderer_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698