| Index: content/shell/test_runner/web_ax_object_proxy.h
|
| diff --git a/components/test_runner/web_ax_object_proxy.h b/content/shell/test_runner/web_ax_object_proxy.h
|
| similarity index 94%
|
| rename from components/test_runner/web_ax_object_proxy.h
|
| rename to content/shell/test_runner/web_ax_object_proxy.h
|
| index bd618fe71203c0d0f2d19a5a103be9e9f52531c2..2f7f60572f93e74ce9a36a293b642f757f8c4da5 100644
|
| --- a/components/test_runner/web_ax_object_proxy.h
|
| +++ b/content/shell/test_runner/web_ax_object_proxy.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef COMPONENTS_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
|
| -#define COMPONENTS_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
|
| +#ifndef CONTENT_SHELL_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
|
| +#define CONTENT_SHELL_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
|
|
|
| #include <stdint.h>
|
|
|
| @@ -26,7 +26,7 @@ class WebAXObjectProxy : public gin::Wrappable<WebAXObjectProxy> {
|
| public:
|
| class Factory {
|
| public:
|
| - virtual ~Factory() { }
|
| + virtual ~Factory() {}
|
| virtual v8::Local<v8::Object> GetOrCreate(
|
| const blink::WebAXObject& object) = 0;
|
| };
|
| @@ -149,8 +149,10 @@ class WebAXObjectProxy : public gin::Wrappable<WebAXObjectProxy> {
|
| std::string ColumnIndexRange();
|
| v8::Local<v8::Object> CellForColumnAndRow(int column, int row);
|
| void SetSelectedTextRange(int selection_start, int length);
|
| - void SetSelection(v8::Local<v8::Value> anchor_object, int anchor_offset,
|
| - v8::Local<v8::Value> focus_object, int focus_offset);
|
| + void SetSelection(v8::Local<v8::Value> anchor_object,
|
| + int anchor_offset,
|
| + v8::Local<v8::Value> focus_object,
|
| + int focus_offset);
|
| bool IsAttributeSettable(const std::string& attribute);
|
| bool IsPressActionSupported();
|
| bool IsIncrementActionSupported();
|
| @@ -211,7 +213,6 @@ class RootWebAXObjectProxy : public WebAXObjectProxy {
|
| bool IsRoot() const override;
|
| };
|
|
|
| -
|
| // Provides simple lifetime management of the WebAXObjectProxy instances: all
|
| // WebAXObjectProxys ever created from the controller are stored in a list and
|
| // cleared explicitly.
|
| @@ -230,4 +231,4 @@ class WebAXObjectProxyList : public WebAXObjectProxy::Factory {
|
|
|
| } // namespace test_runner
|
|
|
| -#endif // COMPONENTS_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
|
| +#endif // CONTENT_SHELL_TEST_RUNNER_WEB_AX_OBJECT_PROXY_H_
|
|
|