| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| 11 * 2. Redistributions in binary form must reproduce the above copyright | 11 * 2. Redistributions in binary form must reproduce the above copyright |
| 12 * notice, this list of conditions and the following disclaimer in the | 12 * notice, this list of conditions and the following disclaimer in the |
| 13 * documentation and/or other materials provided with the distribution. | 13 * documentation and/or other materials provided with the distribution. |
| 14 * | 14 * |
| 15 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY | 15 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY |
| 16 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | 16 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 17 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | 17 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 18 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY | 18 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY |
| 19 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 19 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 20 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 20 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #include "config.h" | 27 #include "config.h" |
| 28 #include "Internals.h" | 28 #include "Internals.h" |
| 29 | 29 |
| 30 #include "FormController.h" | |
| 31 #include "HTMLInputElement.h" | |
| 32 #include "HTMLMediaElement.h" | |
| 33 #include "HTMLNames.h" | 30 #include "HTMLNames.h" |
| 34 #include "HTMLSelectElement.h" | |
| 35 #include "HTMLTextAreaElement.h" | |
| 36 #include "InspectorFrontendClientLocal.h" | 31 #include "InspectorFrontendClientLocal.h" |
| 37 #include "InternalSettings.h" | 32 #include "InternalSettings.h" |
| 38 #include "MallocStatistics.h" | 33 #include "MallocStatistics.h" |
| 39 #include "MockPagePopupDriver.h" | 34 #include "MockPagePopupDriver.h" |
| 40 #include "TypeConversions.h" | 35 #include "TypeConversions.h" |
| 41 #include "bindings/v8/SerializedScriptValue.h" | 36 #include "bindings/v8/SerializedScriptValue.h" |
| 42 #include "core/css/StyleSheetContents.h" | 37 #include "core/css/StyleSheetContents.h" |
| 43 #include "core/dom/ClientRect.h" | 38 #include "core/dom/ClientRect.h" |
| 44 #include "core/dom/ClientRectList.h" | 39 #include "core/dom/ClientRectList.h" |
| 45 #include "core/dom/ComposedShadowTreeWalker.h" | 40 #include "core/dom/ComposedShadowTreeWalker.h" |
| 46 #include "core/dom/DOMStringList.h" | 41 #include "core/dom/DOMStringList.h" |
| 47 #include "core/dom/Document.h" | 42 #include "core/dom/Document.h" |
| 48 #include "core/dom/DocumentMarker.h" | 43 #include "core/dom/DocumentMarker.h" |
| 49 #include "core/dom/DocumentMarkerController.h" | 44 #include "core/dom/DocumentMarkerController.h" |
| 50 #include "core/dom/Element.h" | 45 #include "core/dom/Element.h" |
| 51 #include "core/dom/ElementShadow.h" | 46 #include "core/dom/ElementShadow.h" |
| 52 #include "core/dom/ExceptionCode.h" | 47 #include "core/dom/ExceptionCode.h" |
| 53 #include "core/dom/NodeRenderingContext.h" | 48 #include "core/dom/NodeRenderingContext.h" |
| 54 #include "core/dom/PseudoElement.h" | 49 #include "core/dom/PseudoElement.h" |
| 55 #include "core/dom/Range.h" | 50 #include "core/dom/Range.h" |
| 56 #include "core/dom/ShadowRoot.h" | 51 #include "core/dom/ShadowRoot.h" |
| 57 #include "core/dom/StaticNodeList.h" | 52 #include "core/dom/StaticNodeList.h" |
| 58 #include "core/dom/TreeScope.h" | 53 #include "core/dom/TreeScope.h" |
| 59 #include "core/dom/ViewportArguments.h" | 54 #include "core/dom/ViewportArguments.h" |
| 60 #include "core/editing/Editor.h" | 55 #include "core/editing/Editor.h" |
| 61 #include "core/editing/SpellChecker.h" | 56 #include "core/editing/SpellChecker.h" |
| 62 #include "core/editing/TextIterator.h" | 57 #include "core/editing/TextIterator.h" |
| 63 #include "core/history/BackForwardController.h" | 58 #include "core/history/BackForwardController.h" |
| 64 #include "core/history/HistoryItem.h" | 59 #include "core/history/HistoryItem.h" |
| 60 #include "core/html/FormController.h" |
| 61 #include "core/html/HTMLInputElement.h" |
| 62 #include "core/html/HTMLMediaElement.h" |
| 63 #include "core/html/HTMLSelectElement.h" |
| 64 #include "core/html/HTMLTextAreaElement.h" |
| 65 #include "core/html/shadow/ContentDistributor.h" | 65 #include "core/html/shadow/ContentDistributor.h" |
| 66 #include "core/html/shadow/HTMLContentElement.h" | 66 #include "core/html/shadow/HTMLContentElement.h" |
| 67 #include "core/html/shadow/SelectRuleFeatureSet.h" | 67 #include "core/html/shadow/SelectRuleFeatureSet.h" |
| 68 #include "core/inspector/InspectorClient.h" | 68 #include "core/inspector/InspectorClient.h" |
| 69 #include "core/inspector/InspectorConsoleAgent.h" | 69 #include "core/inspector/InspectorConsoleAgent.h" |
| 70 #include "core/inspector/InspectorController.h" | 70 #include "core/inspector/InspectorController.h" |
| 71 #include "core/inspector/InspectorCounters.h" | 71 #include "core/inspector/InspectorCounters.h" |
| 72 #include "core/inspector/InspectorFrontendChannel.h" | 72 #include "core/inspector/InspectorFrontendChannel.h" |
| 73 #include "core/inspector/InspectorInstrumentation.h" | 73 #include "core/inspector/InspectorInstrumentation.h" |
| 74 #include "core/inspector/InspectorOverlay.h" | 74 #include "core/inspector/InspectorOverlay.h" |
| (...skipping 1920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1995 | 1995 |
| 1996 RenderObject* renderer = select->renderer(); | 1996 RenderObject* renderer = select->renderer(); |
| 1997 if (!renderer->isMenuList()) | 1997 if (!renderer->isMenuList()) |
| 1998 return false; | 1998 return false; |
| 1999 | 1999 |
| 2000 RenderMenuList* menuList = toRenderMenuList(renderer); | 2000 RenderMenuList* menuList = toRenderMenuList(renderer); |
| 2001 return menuList->popupIsVisible(); | 2001 return menuList->popupIsVisible(); |
| 2002 } | 2002 } |
| 2003 | 2003 |
| 2004 } | 2004 } |
| OLD | NEW |