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

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

Issue 2821303005: [selectors4] Use common ancestor strategy for :focus-within (Closed)
Patch Set: Created 3 years, 8 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/Node.h
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
index 369b8c5263bd8626f16ba3293971f3d4813db904..b8cbfd45e86379f768fd520c5ae089a0aa7864e1 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -506,7 +506,9 @@ class CORE_EXPORT Node : public EventTarget {
SetFlag(flag, kHasEventTargetDataFlag);
}
- virtual void SetFocused(bool flag, WebFocusType);
+ virtual void SetFocused(bool flag,
+ WebFocusType,
+ Node* common_ancestor = nullptr);
virtual void SetHasFocusWithin(bool flag);
virtual void SetActive(bool flag = true);
virtual void SetDragged(bool flag);

Powered by Google App Engine
This is Rietveld 408576698