| 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 "components/test_runner/accessibility_controller.h" | 5 #include "components/test_runner/accessibility_controller.h" |
| 6 | 6 |
| 7 #include "base/macros.h" |
| 7 #include "gin/handle.h" | 8 #include "gin/handle.h" |
| 8 #include "gin/object_template_builder.h" | 9 #include "gin/object_template_builder.h" |
| 9 #include "gin/wrappable.h" | 10 #include "gin/wrappable.h" |
| 10 #include "third_party/WebKit/public/web/WebElement.h" | 11 #include "third_party/WebKit/public/web/WebElement.h" |
| 11 #include "third_party/WebKit/public/web/WebFrame.h" | 12 #include "third_party/WebKit/public/web/WebFrame.h" |
| 12 #include "third_party/WebKit/public/web/WebKit.h" | 13 #include "third_party/WebKit/public/web/WebKit.h" |
| 13 #include "third_party/WebKit/public/web/WebSettings.h" | 14 #include "third_party/WebKit/public/web/WebSettings.h" |
| 14 #include "third_party/WebKit/public/web/WebView.h" | 15 #include "third_party/WebKit/public/web/WebView.h" |
| 15 | 16 |
| 16 namespace test_runner { | 17 namespace test_runner { |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 v8::Local<v8::Object> result = | 270 v8::Local<v8::Object> result = |
| 270 FindAccessibleElementByIdRecursive(obj.childAt(i), id); | 271 FindAccessibleElementByIdRecursive(obj.childAt(i), id); |
| 271 if (*result) | 272 if (*result) |
| 272 return result; | 273 return result; |
| 273 } | 274 } |
| 274 | 275 |
| 275 return v8::Local<v8::Object>(); | 276 return v8::Local<v8::Object>(); |
| 276 } | 277 } |
| 277 | 278 |
| 278 } // namespace test_runner | 279 } // namespace test_runner |
| OLD | NEW |