Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Side by Side Diff: components/test_runner/web_ax_object_proxy.cc

Issue 1167703002: Move test runner to a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/test_runner/web_ax_object_proxy.h ('k') | components/test_runner/web_content_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698