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

Unified Diff: third_party/WebKit/Source/core/html/forms/PasswordInputType.h

Issue 2378503002: Observe visibility of password inputs, for HTTP-bad phase 1 (Closed)
Patch Set: fix superclass createLayoutObject call 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/forms/PasswordInputType.h
diff --git a/third_party/WebKit/Source/core/html/forms/PasswordInputType.h b/third_party/WebKit/Source/core/html/forms/PasswordInputType.h
index 8213f022ed77cadea65f60e3975143e35c30111e..4976e49ae3ef793d4797559f4b6633770c0d532c 100644
--- a/third_party/WebKit/Source/core/html/forms/PasswordInputType.h
+++ b/third_party/WebKit/Source/core/html/forms/PasswordInputType.h
@@ -40,7 +40,8 @@ class PasswordInputType final : public BaseTextInputType {
static InputType* create(HTMLInputElement&);
private:
- PasswordInputType(HTMLInputElement& element) : BaseTextInputType(element) {}
+ explicit PasswordInputType(HTMLInputElement& element)
+ : BaseTextInputType(element) {}
void countUsage() override;
const AtomicString& formControlType() const override;
bool shouldSaveAndRestoreFormControlState() const override;
@@ -49,6 +50,7 @@ class PasswordInputType final : public BaseTextInputType {
bool shouldRespectListAttribute() override;
void enableSecureTextInput() override;
void disableSecureTextInput() override;
+ LayoutObject* createLayoutObject(const ComputedStyle&) const override;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698