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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLOptionElement.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
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, 2010, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2010, 2011 Apple Inc. All rights reserved.
6 * Copyright (C) 2010 Google Inc. All rights reserved. 6 * Copyright (C) 2010 Google Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 20 matching lines...) Expand all
31 namespace blink { 31 namespace blink {
32 32
33 class ExceptionState; 33 class ExceptionState;
34 class HTMLDataListElement; 34 class HTMLDataListElement;
35 class HTMLSelectElement; 35 class HTMLSelectElement;
36 class ComputedStyle; 36 class ComputedStyle;
37 37
38 class CORE_EXPORT HTMLOptionElement final : public HTMLElement { 38 class CORE_EXPORT HTMLOptionElement final : public HTMLElement {
39 DEFINE_WRAPPERTYPEINFO(); 39 DEFINE_WRAPPERTYPEINFO();
40 public: 40 public:
41 static PassRefPtrWillBeRawPtr<HTMLOptionElement> create(Document&); 41 static RawPtr<HTMLOptionElement> create(Document&);
42 static PassRefPtrWillBeRawPtr<HTMLOptionElement> createForJSConstructor(Docu ment&, const String& data, const AtomicString& value, 42 static RawPtr<HTMLOptionElement> createForJSConstructor(Document&, const Str ing& data, const AtomicString& value,
43 bool defaultSelected, bool selected, ExceptionState&); 43 bool defaultSelected, bool selected, ExceptionState&);
44 44
45 // A text to be shown to users. The difference from |label()| is |label()| 45 // A text to be shown to users. The difference from |label()| is |label()|
46 // returns an empty string if |label| content attribute is empty. 46 // returns an empty string if |label| content attribute is empty.
47 // |displayLabel()| returns the value string in that case. 47 // |displayLabel()| returns the value string in that case.
48 String displayLabel() const; 48 String displayLabel() const;
49 49
50 // |text| IDL attribute implementations. 50 // |text| IDL attribute implementations.
51 String text() const; 51 String text() const;
52 void setText(const String&, ExceptionState&); 52 void setText(const String&, ExceptionState&);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 bool m_isSelected; 113 bool m_isSelected;
114 // Represents 'dirtiness'. 114 // Represents 'dirtiness'.
115 // https://html.spec.whatwg.org/multipage/forms.html#concept-option-dirtines s 115 // https://html.spec.whatwg.org/multipage/forms.html#concept-option-dirtines s
116 bool m_isDirty = false; 116 bool m_isDirty = false;
117 RefPtr<ComputedStyle> m_style; 117 RefPtr<ComputedStyle> m_style;
118 }; 118 };
119 119
120 } // namespace blink 120 } // namespace blink
121 121
122 #endif // HTMLOptionElement_h 122 #endif // HTMLOptionElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698