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

Side by Side Diff: Source/core/html/HTMLTextAreaElement.h

Issue 852083002: Propagate focus type to plugins (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moved Created 5 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLSelectElement.cpp ('k') | Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 virtual bool supportsPlaceholder() const override { return true; } 88 virtual bool supportsPlaceholder() const override { return true; }
89 virtual void updatePlaceholderText() override; 89 virtual void updatePlaceholderText() override;
90 virtual bool isEmptyValue() const override { return value().isEmpty(); } 90 virtual bool isEmptyValue() const override { return value().isEmpty(); }
91 virtual bool isEmptySuggestedValue() const override final { return suggested Value().isEmpty(); } 91 virtual bool isEmptySuggestedValue() const override final { return suggested Value().isEmpty(); }
92 92
93 virtual bool isOptionalFormControl() const override { return !isRequiredForm Control(); } 93 virtual bool isOptionalFormControl() const override { return !isRequiredForm Control(); }
94 virtual bool isRequiredFormControl() const override { return isRequired(); } 94 virtual bool isRequiredFormControl() const override { return isRequired(); }
95 95
96 virtual void defaultEventHandler(Event*) override; 96 virtual void defaultEventHandler(Event*) override;
97 virtual void handleFocusEvent(Element* oldFocusedNode, FocusType) override; 97 virtual void handleFocusEvent(Element* oldFocusedNode, WebFocusType) overrid e;
98 98
99 virtual void subtreeHasChanged() override; 99 virtual void subtreeHasChanged() override;
100 100
101 virtual bool isEnumeratable() const override { return true; } 101 virtual bool isEnumeratable() const override { return true; }
102 virtual bool isInteractiveContent() const override; 102 virtual bool isInteractiveContent() const override;
103 virtual bool supportsAutofocus() const override; 103 virtual bool supportsAutofocus() const override;
104 virtual bool supportLabels() const override { return true; } 104 virtual bool supportLabels() const override { return true; }
105 105
106 virtual const AtomicString& formControlType() const override; 106 virtual const AtomicString& formControlType() const override;
107 107
(...skipping 29 matching lines...) Expand all
137 WrapMethod m_wrap; 137 WrapMethod m_wrap;
138 mutable String m_value; 138 mutable String m_value;
139 mutable bool m_isDirty; 139 mutable bool m_isDirty;
140 bool m_valueIsUpToDate; 140 bool m_valueIsUpToDate;
141 String m_suggestedValue; 141 String m_suggestedValue;
142 }; 142 };
143 143
144 } // namespace blink 144 } // namespace blink
145 145
146 #endif // HTMLTextAreaElement_h 146 #endif // HTMLTextAreaElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLSelectElement.cpp ('k') | Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698