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

Unified Diff: Source/core/dom/Element.h

Issue 742353004: Implement computedRole and computedName (behind a flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move interfaces on to Element Created 6 years 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: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 565f3dc91caa4c253be98361665334c07f983cd4..061c08ad03a99449e20fabdc14cb6232d3415116 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -199,6 +199,9 @@ public:
PassRefPtrWillBeRawPtr<ClientRectList> getClientRects();
PassRefPtrWillBeRawPtr<ClientRect> getBoundingClientRect();
+ const AtomicString& computedRole();
+ const String computedName();
adamk 2014/12/16 01:54:48 Drop "const" here, it's not really adding anything
aboxhall 2014/12/16 04:15:26 Done.
+
// Returns the absolute bounding box translated into screen coordinates:
IntRect screenRect() const;

Powered by Google App Engine
This is Rietveld 408576698