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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObjectTest.cpp

Issue 2858493002: Rename AXObject to AXObjectImpl in modules/ and web/ (Closed)
Patch Set: Fixed rebase Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/accessibility/AXObjectTest.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectTest.cpp b/third_party/WebKit/Source/modules/accessibility/AXObjectTest.cpp
index 86a1915155363e0dcd57026faa989f4062534753..416a8d313f9d81ade67ff59f684719b026543906 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectTest.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectTest.cpp
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "modules/accessibility/AXObject.h"
+#include "modules/accessibility/AXObjectImpl.h"
#include "core/dom/Document.h"
#include "core/dom/Element.h"
@@ -48,25 +48,25 @@ TEST_F(AXObjectTest, IsARIAWidget) {
GetDocument().documentElement()->setInnerHTML(test_content);
GetDocument().UpdateStyleAndLayout();
Element* root(GetDocument().documentElement());
- EXPECT_FALSE(AXObject::IsInsideFocusableElementOrARIAWidget(
+ EXPECT_FALSE(AXObjectImpl::IsInsideFocusableElementOrARIAWidget(
*root->getElementById("plain")));
- EXPECT_TRUE(AXObject::IsInsideFocusableElementOrARIAWidget(
+ EXPECT_TRUE(AXObjectImpl::IsInsideFocusableElementOrARIAWidget(
*root->getElementById("button")));
- EXPECT_TRUE(AXObject::IsInsideFocusableElementOrARIAWidget(
+ EXPECT_TRUE(AXObjectImpl::IsInsideFocusableElementOrARIAWidget(
*root->getElementById("button-parent")));
- EXPECT_TRUE(AXObject::IsInsideFocusableElementOrARIAWidget(
+ EXPECT_TRUE(AXObjectImpl::IsInsideFocusableElementOrARIAWidget(
*root->getElementById("button-caps")));
- EXPECT_TRUE(AXObject::IsInsideFocusableElementOrARIAWidget(
+ EXPECT_TRUE(AXObjectImpl::IsInsideFocusableElementOrARIAWidget(
*root->getElementById("button-second")));
- EXPECT_FALSE(AXObject::IsInsideFocusableElementOrARIAWidget(
+ EXPECT_FALSE(AXObjectImpl::IsInsideFocusableElementOrARIAWidget(
*root->getElementById("aria-bogus")));
- EXPECT_TRUE(AXObject::IsInsideFocusableElementOrARIAWidget(
+ EXPECT_TRUE(AXObjectImpl::IsInsideFocusableElementOrARIAWidget(
*root->getElementById("aria-selected")));
- EXPECT_TRUE(AXObject::IsInsideFocusableElementOrARIAWidget(
+ EXPECT_TRUE(AXObjectImpl::IsInsideFocusableElementOrARIAWidget(
*root->getElementById("haspopup")));
- EXPECT_TRUE(AXObject::IsInsideFocusableElementOrARIAWidget(
+ EXPECT_TRUE(AXObjectImpl::IsInsideFocusableElementOrARIAWidget(
*root->getElementById("focusable")));
- EXPECT_TRUE(AXObject::IsInsideFocusableElementOrARIAWidget(
+ EXPECT_TRUE(AXObjectImpl::IsInsideFocusableElementOrARIAWidget(
*root->getElementById("focusable-parent")));
}

Powered by Google App Engine
This is Rietveld 408576698