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

Unified Diff: third_party/WebKit/Source/core/html/TextControlElement.cpp

Issue 2810593002: Set plugin focus by implementing HTMLPlugInElement::SetFocused. (Closed)
Patch Set: fix comments 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.cpp
diff --git a/third_party/WebKit/Source/core/html/TextControlElement.cpp b/third_party/WebKit/Source/core/html/TextControlElement.cpp
index 955b42685541178b2188c48d4020bd87a1e976fb..cb104a9a682abf43f51c6799d84fe3e92ab89be8 100644
--- a/third_party/WebKit/Source/core/html/TextControlElement.cpp
+++ b/third_party/WebKit/Source/core/html/TextControlElement.cpp
@@ -212,8 +212,8 @@ void TextControlElement::ClearValueBeforeFirstUserEdit() {
value_before_first_user_edit_ = String();
}
-void TextControlElement::SetFocused(bool flag) {
- HTMLFormControlElementWithState::SetFocused(flag);
+void TextControlElement::SetFocused(bool flag, WebFocusType focus_type) {
+ HTMLFormControlElementWithState::SetFocused(flag, focus_type);
if (!flag)
DispatchFormControlChangeEvent();

Powered by Google App Engine
This is Rietveld 408576698