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

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

Issue 1838183003: Fix problems on changing 'multiple' state SELECT element to 'single' state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a typo in a comment Created 4 years, 8 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) 2010 Nokia Corporation and/or its subsidiary(-ies). 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
4 * (C) 1999 Antti Koivisto (koivisto@kde.org) 4 * (C) 1999 Antti Koivisto (koivisto@kde.org)
5 * (C) 2000 Dirk Mueller (mueller@kde.org) 5 * (C) 2000 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved.
7 * Copyright (C) 2010 Google Inc. All rights reserved. 7 * Copyright (C) 2010 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 String defaultToolTip() const override; 64 String defaultToolTip() const override;
65 void resetImpl() override; 65 void resetImpl() override;
66 66
67 unsigned length() const; 67 unsigned length() const;
68 void setLength(unsigned, ExceptionState&); 68 void setLength(unsigned, ExceptionState&);
69 69
70 unsigned size() const { return m_size; } 70 unsigned size() const { return m_size; }
71 void setSize(unsigned); 71 void setSize(unsigned);
72 bool multiple() const { return m_multiple; } 72 bool multiple() const { return m_multiple; }
73 void setMultiple(bool);
74 73
75 bool usesMenuList() const; 74 bool usesMenuList() const;
76 75
77 void add(const HTMLOptionElementOrHTMLOptGroupElement&, const HTMLElementOrL ong&, ExceptionState&); 76 void add(const HTMLOptionElementOrHTMLOptGroupElement&, const HTMLElementOrL ong&, ExceptionState&);
78 77
79 using Node::remove; 78 using Node::remove;
80 void remove(int index); 79 void remove(int index);
81 80
82 String value() const; 81 String value() const;
83 void setValue(const String&, bool sendEvents = false); 82 void setValue(const String&, bool sendEvents = false);
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 272
274 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, FirstSelectableOption); 273 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, FirstSelectableOption);
275 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, LastSelectableOption); 274 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, LastSelectableOption);
276 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, NextSelectableOption); 275 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, NextSelectableOption);
277 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, PreviousSelectableOption); 276 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, PreviousSelectableOption);
278 }; 277 };
279 278
280 } // namespace blink 279 } // namespace blink
281 280
282 #endif // HTMLSelectElement_h 281 #endif // HTMLSelectElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698