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

Unified Diff: third_party/WebKit/Source/core/dom/TreeScope.h

Issue 2146013003: Rename adjustPointerLockElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename function and update comments. Created 4 years, 5 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/core/dom/TreeScope.h
diff --git a/third_party/WebKit/Source/core/dom/TreeScope.h b/third_party/WebKit/Source/core/dom/TreeScope.h
index 3cb9557a3dccb274120e69a1085f107f7baf79a8..005cd87e5c861ac1ea739e61a67d26bead7d0aeb 100644
--- a/third_party/WebKit/Source/core/dom/TreeScope.h
+++ b/third_party/WebKit/Source/core/dom/TreeScope.h
@@ -57,7 +57,10 @@ public:
bool isInclusiveOlderSiblingShadowRootOrAncestorTreeScopeOf(const TreeScope&) const;
Element* adjustedFocusedElement() const;
- Element* adjustedPointerLockElement(const Element&) const;
+ // Finds a retargeted element to the given argument, when the retargetd element is in this
+ // TreeScope. Returns null otherwise.
+ // TODO(kochi): once this algorithm is named in the spec, rename the method name.
+ Element* adjustedElement(const Element&) const;
Element* getElementById(const AtomicString&) const;
const HeapVector<Member<Element>>& getAllElementsById(const AtomicString&) const;
bool hasElementWithId(const AtomicString& id) const;

Powered by Google App Engine
This is Rietveld 408576698