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

Unified Diff: Source/core/html/HTMLTextAreaElement.h

Issue 392573002: HTMLTextAreaElement.setSelectionRange should not change focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix tests Created 6 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: Source/core/html/HTMLTextAreaElement.h
diff --git a/Source/core/html/HTMLTextAreaElement.h b/Source/core/html/HTMLTextAreaElement.h
index 290e109ca74f37aec8f97cd9162be43fe69ba0e8..b5f9ffb4b5f7320263d27d014696545f513cf86c 100644
--- a/Source/core/html/HTMLTextAreaElement.h
+++ b/Source/core/html/HTMLTextAreaElement.h
@@ -76,7 +76,7 @@ private:
void updateValue() const;
virtual void setInnerEditorValue(const String&) OVERRIDE;
void setNonDirtyValue(const String&);
- void setValueCommon(const String&, TextFieldEventBehavior);
+ void setValueCommon(const String&, TextFieldEventBehavior, SelectionOption = NotChangeSelection);
virtual bool supportsPlaceholder() const OVERRIDE { return true; }
virtual void updatePlaceholderText() OVERRIDE;
« no previous file with comments | « LayoutTests/fast/text/international/mixed-directionality-selection.html ('k') | Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698