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

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

Issue 10544099: Refactor all accessibility code out of webkit/glue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More Mac compile errors Created 8 years, 6 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_RENDERER_ACCESSIBILITY_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_ACCESSIBILITY_H_
6 #define CONTENT_RENDERER_RENDERER_ACCESSIBILITY_H_ 6 #define CONTENT_RENDERER_RENDERER_ACCESSIBILITY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/common/accessibility_messages.h" 9 #include "content/common/accessibility_messages.h"
10 #include "content/public/renderer/render_view_observer.h" 10 #include "content/public/renderer/render_view_observer.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityNotif ication.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityNotif ication.h"
12 12
13 class RenderViewImpl; 13 class RenderViewImpl;
14 14
15 namespace WebKit { 15 namespace WebKit {
16 class WebAccessibilityObject; 16 class WebAccessibilityObject;
17 class WebDocument; 17 class WebDocument;
18 }; 18 };
19 19
20 namespace webkit_glue {
21 struct WebAccessibility;
22 };
23
24 namespace content { 20 namespace content {
25 21
26 // The browser process implement native accessibility APIs, allowing 22 // The browser process implement native accessibility APIs, allowing
27 // assistive technology (e.g., screen readers, magnifiers) to access and 23 // assistive technology (e.g., screen readers, magnifiers) to access and
28 // control the web contents with high-level APIs. These APIs are also used 24 // control the web contents with high-level APIs. These APIs are also used
29 // by automation tools, and Windows 8 uses them to determine when the 25 // by automation tools, and Windows 8 uses them to determine when the
30 // on-screen keyboard should be shown. 26 // on-screen keyboard should be shown.
31 // 27 //
32 // An instance of this class (or rather, a subclass) belongs to RenderViewImpl. 28 // An instance of this class (or rather, a subclass) belongs to RenderViewImpl.
33 // Accessibility is initialized based on the AccessibilityMode of 29 // Accessibility is initialized based on the AccessibilityMode of
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 76
81 // True if verbose logging of accessibility events is on. 77 // True if verbose logging of accessibility events is on.
82 bool logging_; 78 bool logging_;
83 79
84 DISALLOW_COPY_AND_ASSIGN(RendererAccessibility); 80 DISALLOW_COPY_AND_ASSIGN(RendererAccessibility);
85 }; 81 };
86 82
87 } // namespace content 83 } // namespace content
88 84
89 #endif // CONTENT_RENDERER_RENDERER_ACCESSIBILITY_H_ 85 #endif // CONTENT_RENDERER_RENDERER_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « content/renderer/accessibility_node_serializer.cc ('k') | content/renderer/renderer_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698