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

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

Issue 284203005: Get rid of enable-accessibility-logging switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 // Gets the type of this RendererAccessibility object. Primarily intended for 70 // Gets the type of this RendererAccessibility object. Primarily intended for
71 // testing. 71 // testing.
72 virtual RendererAccessibilityType GetType() = 0; 72 virtual RendererAccessibilityType GetType() = 0;
73 73
74 protected: 74 protected:
75 // Returns the main top-level document for this page, or NULL if there's 75 // Returns the main top-level document for this page, or NULL if there's
76 // no view or frame. 76 // no view or frame.
77 blink::WebDocument GetMainDocument(); 77 blink::WebDocument GetMainDocument();
78 78
79 #ifndef NDEBUG
80 const std::string AccessibilityEventToString(ui::AXEvent event);
81 #endif
82
83 // The RenderViewImpl that owns us. 79 // The RenderViewImpl that owns us.
84 RenderViewImpl* render_view_; 80 RenderViewImpl* render_view_;
85 81
86 // True if verbose logging of accessibility events is on.
87 bool logging_;
88
89 DISALLOW_COPY_AND_ASSIGN(RendererAccessibility); 82 DISALLOW_COPY_AND_ASSIGN(RendererAccessibility);
90 }; 83 };
91 84
92 } // namespace content 85 } // namespace content
93 86
94 #endif // CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_H_ 87 #endif // CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/renderer/accessibility/renderer_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698