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

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

Issue 26622007: Move isAutofilled and setAutofilled from HTMLInputElement to HTMLFormControlElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update messaging in test. Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLOutputElement.cpp ('k') | Source/core/html/HTMLSelectElement.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) 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 int selectedIndex() const; 45 int selectedIndex() const;
46 void setSelectedIndex(int); 46 void setSelectedIndex(int);
47 47
48 void optionSelectedByUser(int index, bool dispatchChangeEvent, bool allowMul tipleSelection = false); 48 void optionSelectedByUser(int index, bool dispatchChangeEvent, bool allowMul tipleSelection = false);
49 49
50 // For ValidityState 50 // For ValidityState
51 virtual String validationMessage() const OVERRIDE; 51 virtual String validationMessage() const OVERRIDE;
52 virtual bool valueMissing() const OVERRIDE; 52 virtual bool valueMissing() const OVERRIDE;
53 53
54 virtual void reset() OVERRIDE; 54 virtual void resetImpl() OVERRIDE;
55 55
56 unsigned length() const; 56 unsigned length() const;
57 57
58 int size() const { return m_size; } 58 int size() const { return m_size; }
59 bool multiple() const { return m_multiple; } 59 bool multiple() const { return m_multiple; }
60 60
61 bool usesMenuList() const; 61 bool usesMenuList() const;
62 62
63 void add(HTMLElement*, HTMLElement* beforeElement, ExceptionState&); 63 void add(HTMLElement*, HTMLElement* beforeElement, ExceptionState&);
64 64
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 { 214 {
215 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::select Tag)); 215 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::select Tag));
216 return static_cast<HTMLSelectElement*>(node); 216 return static_cast<HTMLSelectElement*>(node);
217 } 217 }
218 218
219 void toHTMLSelectElement(const HTMLSelectElement*); // This overload will catch anyone doing an unnecessary cast. 219 void toHTMLSelectElement(const HTMLSelectElement*); // This overload will catch anyone doing an unnecessary cast.
220 220
221 } // namespace 221 } // namespace
222 222
223 #endif 223 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLOutputElement.cpp ('k') | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698