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

Unified Diff: third_party/WebKit/Source/core/html/TextControlElement.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/html/TextControlElement.h
diff --git a/third_party/WebKit/Source/core/html/TextControlElement.h b/third_party/WebKit/Source/core/html/TextControlElement.h
index 536967fcbd9d5fb5f58c4e03e5c035e07d40516f..b3a24e2d487f00441478e199f932ed84ddc1d515 100644
--- a/third_party/WebKit/Source/core/html/TextControlElement.h
+++ b/third_party/WebKit/Source/core/html/TextControlElement.h
@@ -64,7 +64,7 @@ class CORE_EXPORT TextControlElement : public HTMLFormControlElementWithState {
void ForwardEvent(Event*);
- void SetFocused(bool, WebFocusType) override;
+ void SetFocused(bool, WebFocusType, Node* common_ancestor = nullptr) override;
// The derived class should return true if placeholder processing is needed.
virtual bool IsPlaceholderVisible() const = 0;

Powered by Google App Engine
This is Rietveld 408576698