| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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_BLINK_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_BLINK_H_ |
| 6 #define CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_BLINK_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_BLINK_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "content/browser/accessibility/accessibility_tree_formatter.h" | 10 #include "content/browser/accessibility/accessibility_tree_formatter.h" |
| 9 | 11 |
| 10 namespace content { | 12 namespace content { |
| 11 | 13 |
| 12 class CONTENT_EXPORT AccessibilityTreeFormatterBlink | 14 class CONTENT_EXPORT AccessibilityTreeFormatterBlink |
| 13 : public AccessibilityTreeFormatter { | 15 : public AccessibilityTreeFormatter { |
| 14 public: | 16 public: |
| 15 explicit AccessibilityTreeFormatterBlink(); | 17 explicit AccessibilityTreeFormatterBlink(); |
| 16 ~AccessibilityTreeFormatterBlink() override; | 18 ~AccessibilityTreeFormatterBlink() override; |
| 17 | 19 |
| 18 private: | 20 private: |
| 19 const base::FilePath::StringType GetExpectedFileSuffix() override; | 21 const base::FilePath::StringType GetExpectedFileSuffix() override; |
| 20 const std::string GetAllowEmptyString() override; | 22 const std::string GetAllowEmptyString() override; |
| 21 const std::string GetAllowString() override; | 23 const std::string GetAllowString() override; |
| 22 const std::string GetDenyString() override; | 24 const std::string GetDenyString() override; |
| 23 uint32 ChildCount(const BrowserAccessibility& node) const override; | 25 uint32_t ChildCount(const BrowserAccessibility& node) const override; |
| 24 BrowserAccessibility* GetChild( | 26 BrowserAccessibility* GetChild(const BrowserAccessibility& node, |
| 25 const BrowserAccessibility& node, uint32 i) const override; | 27 uint32_t i) const override; |
| 26 void AddProperties(const BrowserAccessibility& node, | 28 void AddProperties(const BrowserAccessibility& node, |
| 27 base::DictionaryValue* dict) override; | 29 base::DictionaryValue* dict) override; |
| 28 base::string16 ToString(const base::DictionaryValue& node) override; | 30 base::string16 ToString(const base::DictionaryValue& node) override; |
| 29 }; | 31 }; |
| 30 | 32 |
| 31 } // namespace content | 33 } // namespace content |
| 32 | 34 |
| 33 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_BLINK_H_ | 35 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_BLINK_H_ |
| OLD | NEW |