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

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

Issue 2384273007: reflow comments in core/html/*.{cpp,h},core/html/imports (Closed)
Patch Set: comments 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
Index: third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
index a1df53621884b3e5a6cebf35bffac53d2db1e28e..65ba2ba68c0d26613030dc88f042e48c1c9d5840 100644
--- a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
@@ -2,7 +2,8 @@
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Dirk Mueller (mueller@kde.org)
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
+ * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
+ * reserved.
* Copyright (C) 2009, 2010, 2011 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
@@ -49,7 +50,8 @@ enum TextFieldEventBehavior {
class CORE_EXPORT HTMLTextFormControlElement
: public HTMLFormControlElementWithState {
public:
- // Common flag for HTMLInputElement::tooLong(), HTMLTextAreaElement::tooLong(),
+ // Common flag for HTMLInputElement::tooLong(),
+ // HTMLTextAreaElement::tooLong(),
// HTMLInputElement::tooShort() and HTMLTextAreaElement::tooShort().
enum NeedsToCheckDirtyFlag { CheckDirtyFlag, IgnoreDirtyFlag };
@@ -172,13 +174,17 @@ class CORE_EXPORT HTMLTextFormControlElement
InputDeviceCapabilities* sourceCapabilities) final;
void scheduleSelectEvent();
- // Returns true if user-editable value is empty. Used to check placeholder visibility.
+ // Returns true if user-editable value is empty. Used to check placeholder
+ // visibility.
virtual bool isEmptyValue() const = 0;
- // Returns true if suggested value is empty. Used to check placeholder visibility.
+ // Returns true if suggested value is empty. Used to check placeholder
+ // visibility.
virtual bool isEmptySuggestedValue() const { return true; }
- // Called in dispatchFocusEvent(), after placeholder process, before calling parent's dispatchFocusEvent().
+ // Called in dispatchFocusEvent(), after placeholder process, before calling
+ // parent's dispatchFocusEvent().
virtual void handleFocusEvent(Element* /* oldFocusedNode */, WebFocusType) {}
- // Called in dispatchBlurEvent(), after placeholder process, before calling parent's dispatchBlurEvent().
+ // Called in dispatchBlurEvent(), after placeholder process, before calling
+ // parent's dispatchBlurEvent().
virtual void handleBlurEvent() {}
bool placeholderShouldBeVisible() const;

Powered by Google App Engine
This is Rietveld 408576698