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 "content/shell/renderer/test_runner/web_ax_object_proxy.h" | 5 #include "components/test_runner/web_ax_object_proxy.h" |
6 | 6 |
7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
8 #include "gin/handle.h" | 8 #include "gin/handle.h" |
9 #include "third_party/WebKit/public/platform/WebPoint.h" | 9 #include "third_party/WebKit/public/platform/WebPoint.h" |
10 #include "third_party/WebKit/public/platform/WebRect.h" | 10 #include "third_party/WebKit/public/platform/WebRect.h" |
11 #include "third_party/WebKit/public/platform/WebString.h" | 11 #include "third_party/WebKit/public/platform/WebString.h" |
12 #include "third_party/WebKit/public/web/WebFrame.h" | 12 #include "third_party/WebKit/public/web/WebFrame.h" |
13 #include "third_party/WebKit/public/web/WebKit.h" | 13 #include "third_party/WebKit/public/web/WebKit.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
(...skipping 1313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1329 v8::Local<v8::Value> value_handle = gin::CreateHandle( | 1329 v8::Local<v8::Value> value_handle = gin::CreateHandle( |
1330 isolate, new WebAXObjectProxy(object, this)).ToV8(); | 1330 isolate, new WebAXObjectProxy(object, this)).ToV8(); |
1331 if (value_handle.IsEmpty()) | 1331 if (value_handle.IsEmpty()) |
1332 return v8::Local<v8::Object>(); | 1332 return v8::Local<v8::Object>(); |
1333 v8::Local<v8::Object> handle = value_handle->ToObject(isolate); | 1333 v8::Local<v8::Object> handle = value_handle->ToObject(isolate); |
1334 elements_.Append(handle); | 1334 elements_.Append(handle); |
1335 return handle; | 1335 return handle; |
1336 } | 1336 } |
1337 | 1337 |
1338 } // namespace content | 1338 } // namespace content |
OLD | NEW |