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

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElement.h

Issue 2706033004: Don't throw when getting selection(Direction|Start|End) on input (Closed)
Patch Set: Refine test Created 3 years, 10 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/HTMLInputElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.h b/third_party/WebKit/Source/core/html/HTMLInputElement.h
index 03d37aa63b9ffd05eb4fd05580d20e69739066a7..5ca9a35360618f8be718de98a015d6dda64d9481 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.h
@@ -156,8 +156,8 @@ class CORE_EXPORT HTMLInputElement : public TextControlElement {
// delay the 'input' event with EventQueueScope.
void setValueFromRenderer(const String&);
- unsigned selectionStartForBinding(ExceptionState&) const;
- unsigned selectionEndForBinding(ExceptionState&) const;
+ unsigned selectionStartForBinding(bool&, ExceptionState&) const;
+ unsigned selectionEndForBinding(bool&, ExceptionState&) const;
String selectionDirectionForBinding(ExceptionState&) const;
void setSelectionStartForBinding(unsigned, ExceptionState&);
void setSelectionEndForBinding(unsigned, ExceptionState&);
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698