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

Unified Diff: Source/web/WebDocument.cpp

Issue 23726007: Remove old accessibility enums, finish renaming public interface. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 7 years, 3 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
« no previous file with comments | « Source/web/WebAccessibilityObject.cpp ('k') | Source/web/WebViewImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDocument.cpp
diff --git a/Source/web/WebDocument.cpp b/Source/web/WebDocument.cpp
index 05f9a3742c500cfd763dfbd68d18b92c8ab76224..9cd6e651dd0c3b6d2869d4257d2f22063759ad3f 100644
--- a/Source/web/WebDocument.cpp
+++ b/Source/web/WebDocument.cpp
@@ -31,9 +31,7 @@
#include "config.h"
#include "WebDocument.h"
-#include "public/platform/WebURL.h"
-#include "wtf/PassRefPtr.h"
-#include "WebAccessibilityObject.h"
+#include "WebAXObject.h"
#include "WebDOMEvent.h"
#include "WebDocumentType.h"
#include "WebElement.h"
@@ -62,7 +60,9 @@
#include "core/html/HTMLHeadElement.h"
#include "core/loader/DocumentLoader.h"
#include "core/rendering/RenderObject.h"
+#include "public/platform/WebURL.h"
#include "weborigin/SecurityOrigin.h"
+#include "wtf/PassRefPtr.h"
#include <v8.h>
using namespace WebCore;
@@ -250,18 +250,16 @@ WebElement WebDocument::createElement(const WebString& tagName)
return element;
}
-WebAccessibilityObject WebDocument::accessibilityObject() const
+WebAXObject WebDocument::accessibilityObject() const
{
const Document* document = constUnwrap<Document>();
- return WebAccessibilityObject(
- document->axObjectCache()->getOrCreate(document->renderer()));
+ return WebAXObject(document->axObjectCache()->getOrCreate(document->renderer()));
}
-WebAccessibilityObject WebDocument::accessibilityObjectFromID(int axID) const
+WebAXObject WebDocument::accessibilityObjectFromID(int axID) const
{
const Document* document = constUnwrap<Document>();
- return WebAccessibilityObject(
- document->axObjectCache()->objectFromAXID(axID));
+ return WebAXObject(document->axObjectCache()->objectFromAXID(axID));
}
WebVector<WebDraggableRegion> WebDocument::draggableRegions() const
« no previous file with comments | « Source/web/WebAccessibilityObject.cpp ('k') | Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698