OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include <string> | 5 #include <string> |
6 #include <vector> | 6 #include <vector> |
7 | 7 |
8 #include "base/debug/leak_annotations.h" | 8 #include "base/debug/leak_annotations.h" |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 | 96 |
97 // The default filters plus the filters loaded from the test file. | 97 // The default filters plus the filters loaded from the test file. |
98 std::vector<AccessibilityTreeFormatter::Filter> filters_; | 98 std::vector<AccessibilityTreeFormatter::Filter> filters_; |
99 | 99 |
100 #if defined(LEAK_SANITIZER) && !defined(OS_NACL) | 100 #if defined(LEAK_SANITIZER) && !defined(OS_NACL) |
101 // http://crbug.com/568674 | 101 // http://crbug.com/568674 |
102 ScopedLeakSanitizerDisabler lsan_disabler; | 102 ScopedLeakSanitizerDisabler lsan_disabler; |
103 #endif | 103 #endif |
104 | 104 |
105 // The current AccessibilityTreeFormatter. | 105 // The current AccessibilityTreeFormatter. |
106 scoped_ptr<AccessibilityTreeFormatter> formatter_; | 106 std::unique_ptr<AccessibilityTreeFormatter> formatter_; |
107 | 107 |
108 // Whether we're doing a native pass or internal/blink tree pass. | 108 // Whether we're doing a native pass or internal/blink tree pass. |
109 bool is_blink_pass_; | 109 bool is_blink_pass_; |
110 }; | 110 }; |
111 | 111 |
112 } // namespace content | 112 } // namespace content |
OLD | NEW |