| Index: content/browser/accessibility/accessibility_tree_formatter_impl_win.cc
|
| diff --git a/content/browser/accessibility/dump_accessibility_tree_helper_win.cc b/content/browser/accessibility/accessibility_tree_formatter_impl_win.cc
|
| similarity index 91%
|
| rename from content/browser/accessibility/dump_accessibility_tree_helper_win.cc
|
| rename to content/browser/accessibility/accessibility_tree_formatter_impl_win.cc
|
| index 6dcbcc920b87ac5dbc9dfb4805e2943397f70151..0f134df38a432537a34a5c8ff502914c7b0ba90e 100644
|
| --- a/content/browser/accessibility/dump_accessibility_tree_helper_win.cc
|
| +++ b/content/browser/accessibility/accessibility_tree_formatter_impl_win.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "content/browser/accessibility/dump_accessibility_tree_helper.h"
|
| +#include "content/browser/accessibility/accessibility_tree_formatter_impl.h"
|
|
|
| #include <oleacc.h>
|
|
|
| @@ -22,11 +22,11 @@
|
|
|
| namespace content {
|
|
|
| -void DumpAccessibilityTreeHelper::Initialize() {
|
| +void AccessibilityTreeFormatterImpl::Initialize() {
|
| ui::win::CreateATLModuleIfNeeded();
|
| }
|
|
|
| -string16 DumpAccessibilityTreeHelper::ToString(
|
| +string16 AccessibilityTreeFormatterImpl::ToString(
|
| BrowserAccessibility* node, char* prefix) {
|
| BrowserAccessibilityWin* acc_obj = node->ToBrowserAccessibilityWin();
|
|
|
| @@ -160,25 +160,30 @@ string16 DumpAccessibilityTreeHelper::ToString(
|
| return UTF8ToUTF16(prefix) + FinishLine() + ASCIIToUTF16("\n");
|
| }
|
|
|
| +// static
|
| const base::FilePath::StringType
|
| -DumpAccessibilityTreeHelper::GetActualFileSuffix() const {
|
| +AccessibilityTreeFormatterImpl::GetActualFileSuffix() {
|
| return FILE_PATH_LITERAL("-actual-win.txt");
|
| }
|
|
|
| +// static
|
| const base::FilePath::StringType
|
| -DumpAccessibilityTreeHelper::GetExpectedFileSuffix() const {
|
| +AccessibilityTreeFormatterImpl::GetExpectedFileSuffix() {
|
| return FILE_PATH_LITERAL("-expected-win.txt");
|
| }
|
|
|
| -const std::string DumpAccessibilityTreeHelper::GetAllowEmptyString() const {
|
| +// static
|
| +const std::string AccessibilityTreeFormatterImpl::GetAllowEmptyString() {
|
| return "@WIN-ALLOW-EMPTY:";
|
| }
|
|
|
| -const std::string DumpAccessibilityTreeHelper::GetAllowString() const {
|
| +// static
|
| +const std::string AccessibilityTreeFormatterImpl::GetAllowString() {
|
| return "@WIN-ALLOW:";
|
| }
|
|
|
| -const std::string DumpAccessibilityTreeHelper::GetDenyString() const {
|
| +// static
|
| +const std::string AccessibilityTreeFormatterImpl::GetDenyString() {
|
| return "@WIN-DENY:";
|
| }
|
|
|
|
|