OLD | NEW |
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) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights |
7 * reserved. | 7 * reserved. |
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
9 * Copyright (C) 2010 Google Inc. All rights reserved. | 9 * Copyright (C) 2010 Google Inc. All rights reserved. |
10 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. | 10 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. |
(...skipping 13 matching lines...) Expand all Loading... |
24 * along with this library; see the file COPYING.LIB. If not, write to | 24 * along with this library; see the file COPYING.LIB. If not, write to |
25 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 25 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
26 * Boston, MA 02110-1301, USA. | 26 * Boston, MA 02110-1301, USA. |
27 * | 27 * |
28 */ | 28 */ |
29 | 29 |
30 #include "core/html/HTMLSelectElement.h" | 30 #include "core/html/HTMLSelectElement.h" |
31 | 31 |
32 #include "bindings/core/v8/ExceptionMessages.h" | 32 #include "bindings/core/v8/ExceptionMessages.h" |
33 #include "bindings/core/v8/ExceptionState.h" | 33 #include "bindings/core/v8/ExceptionState.h" |
34 #include "bindings/core/v8/ExceptionStatePlaceholder.h" | |
35 #include "bindings/core/v8/HTMLElementOrLong.h" | 34 #include "bindings/core/v8/HTMLElementOrLong.h" |
36 #include "bindings/core/v8/HTMLOptionElementOrHTMLOptGroupElement.h" | 35 #include "bindings/core/v8/HTMLOptionElementOrHTMLOptGroupElement.h" |
37 #include "core/HTMLNames.h" | 36 #include "core/HTMLNames.h" |
38 #include "core/dom/AXObjectCache.h" | 37 #include "core/dom/AXObjectCache.h" |
39 #include "core/dom/Attribute.h" | 38 #include "core/dom/Attribute.h" |
40 #include "core/dom/ElementTraversal.h" | 39 #include "core/dom/ElementTraversal.h" |
41 #include "core/dom/ExecutionContextTask.h" | 40 #include "core/dom/ExecutionContextTask.h" |
42 #include "core/dom/MutationCallback.h" | 41 #include "core/dom/MutationCallback.h" |
43 #include "core/dom/MutationObserver.h" | 42 #include "core/dom/MutationObserver.h" |
44 #include "core/dom/MutationObserverInit.h" | 43 #include "core/dom/MutationObserverInit.h" |
(...skipping 2001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2046 m_popupUpdater = nullptr; | 2045 m_popupUpdater = nullptr; |
2047 } | 2046 } |
2048 | 2047 |
2049 void HTMLSelectElement::didMutateSubtree() { | 2048 void HTMLSelectElement::didMutateSubtree() { |
2050 DCHECK(popupIsVisible()); | 2049 DCHECK(popupIsVisible()); |
2051 DCHECK(m_popup); | 2050 DCHECK(m_popup); |
2052 m_popup->updateFromElement(PopupMenu::ByDOMChange); | 2051 m_popup->updateFromElement(PopupMenu::ByDOMChange); |
2053 } | 2052 } |
2054 | 2053 |
2055 } // namespace blink | 2054 } // namespace blink |
OLD | NEW |