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

Unified Diff: third_party/WebKit/public/web/WebFormControlElement.h

Issue 2388103002: reflow comments in public/web (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/public/web/WebFindOptions.h ('k') | third_party/WebKit/public/web/WebFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebFormControlElement.h
diff --git a/third_party/WebKit/public/web/WebFormControlElement.h b/third_party/WebKit/public/web/WebFormControlElement.h
index 89fea4684c082e4feac0e66208197747b7d07d71..e5645722875c703aee1fd84296d3213a7fe9ebae 100644
--- a/third_party/WebKit/public/web/WebFormControlElement.h
+++ b/third_party/WebKit/public/web/WebFormControlElement.h
@@ -39,7 +39,8 @@ namespace blink {
class HTMLFormControlElement;
-// Provides readonly access to some properties of a DOM form control element node.
+// Provides readonly access to some properties of a DOM form control element
+// node.
class WebFormControlElement : public WebElement {
public:
WebFormControlElement() : WebElement() {}
@@ -62,9 +63,9 @@ class WebFormControlElement : public WebElement {
// Returns true if autocomplete attribute of the element is not set as "off".
BLINK_EXPORT bool autoComplete() const;
- // Sets value for input element, textarea element and select element. For select
- // element it finds the option with value matches the given parameter and make the
- // option as the current selection.
+ // Sets value for input element, textarea element and select element. For
+ // select element it finds the option with value matches the given parameter
+ // and make the option as the current selection.
BLINK_EXPORT void setValue(const WebString&, bool sendEvents = false);
// Sets the autofilled value for input element, textarea element and select
// element and sends a sequence of events to the element.
@@ -76,11 +77,12 @@ class WebFormControlElement : public WebElement {
BLINK_EXPORT WebString value() const;
// Sets suggested value for element. For select element it finds the option
// with value matches the given parameter and make the option as the suggested
- // selection. The goal of introducing suggested value is to not leak any information
- // to JavaScript.
+ // selection. The goal of introducing suggested value is to not leak any
+ // information to JavaScript.
BLINK_EXPORT void setSuggestedValue(const WebString&);
- // Returns suggested value of element. If element doesn't fall into input element,
- // textarea element and select element categories, a null string is returned.
+ // Returns suggested value of element. If element doesn't fall into input
+ // element, textarea element and select element categories, a null string is
+ // returned.
BLINK_EXPORT WebString suggestedValue() const;
// Returns the non-sanitized, exact value inside the text input field
@@ -99,7 +101,8 @@ class WebFormControlElement : public WebElement {
// element nor textarea element, 0 is returned.
BLINK_EXPORT int selectionEnd() const;
- // Returns text-align(only left and right are supported. see crbug.com/482339) of text of element.
+ // Returns text-align(only left and right are supported. see crbug.com/482339)
+ // of text of element.
BLINK_EXPORT WebString alignmentForFormData() const;
// Returns direction of text of element.
« no previous file with comments | « third_party/WebKit/public/web/WebFindOptions.h ('k') | third_party/WebKit/public/web/WebFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698