| OLD | NEW |
| 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_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_ |
| 6 #define CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
| 15 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
| 16 #include "base/values.h" | 16 #include "base/values.h" |
| 17 #include "content/browser/accessibility/browser_accessibility.h" | 17 #include "content/browser/accessibility/browser_accessibility.h" |
| 18 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 | 21 |
| 22 class WebContents; | |
| 23 | |
| 24 // A utility class for formatting platform-specific accessibility information, | 22 // A utility class for formatting platform-specific accessibility information, |
| 25 // for use in testing, debugging, and developer tools. | 23 // for use in testing, debugging, and developer tools. |
| 26 // This is extended by a subclass for each platform where accessibility is | 24 // This is extended by a subclass for each platform where accessibility is |
| 27 // implemented. | 25 // implemented. |
| 28 class CONTENT_EXPORT AccessibilityTreeFormatter { | 26 class CONTENT_EXPORT AccessibilityTreeFormatter { |
| 29 public: | 27 public: |
| 30 explicit AccessibilityTreeFormatter(); | 28 explicit AccessibilityTreeFormatter(); |
| 31 virtual ~AccessibilityTreeFormatter(); | 29 virtual ~AccessibilityTreeFormatter(); |
| 32 | 30 |
| 33 // A single filter specification. See GetAllowString() and GetDenyString() | 31 // A single filter specification. See GetAllowString() and GetDenyString() |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 | 163 |
| 166 // Whether or not node ids should be included in the dump. | 164 // Whether or not node ids should be included in the dump. |
| 167 bool show_ids_; | 165 bool show_ids_; |
| 168 | 166 |
| 169 DISALLOW_COPY_AND_ASSIGN(AccessibilityTreeFormatter); | 167 DISALLOW_COPY_AND_ASSIGN(AccessibilityTreeFormatter); |
| 170 }; | 168 }; |
| 171 | 169 |
| 172 } // namespace content | 170 } // namespace content |
| 173 | 171 |
| 174 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_ | 172 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_ |
| OLD | NEW |