| 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 "BackForwardController.h" | |
| 31 #include "ClientRect.h" | 30 #include "ClientRect.h" |
| 32 #include "ClientRectList.h" | 31 #include "ClientRectList.h" |
| 33 #include "ComposedShadowTreeWalker.h" | 32 #include "ComposedShadowTreeWalker.h" |
| 34 #include "ContentDistributor.h" | 33 #include "ContentDistributor.h" |
| 35 #include "DOMStringList.h" | 34 #include "DOMStringList.h" |
| 36 #include "Document.h" | 35 #include "Document.h" |
| 37 #include "DocumentMarker.h" | 36 #include "DocumentMarker.h" |
| 38 #include "DocumentMarkerController.h" | 37 #include "DocumentMarkerController.h" |
| 39 #include "Element.h" | 38 #include "Element.h" |
| 40 #include "ElementShadow.h" | 39 #include "ElementShadow.h" |
| 41 #include "ExceptionCode.h" | 40 #include "ExceptionCode.h" |
| 42 #include "FormController.h" | 41 #include "FormController.h" |
| 43 #include "HTMLContentElement.h" | 42 #include "HTMLContentElement.h" |
| 44 #include "HTMLInputElement.h" | 43 #include "HTMLInputElement.h" |
| 45 #include "HTMLMediaElement.h" | 44 #include "HTMLMediaElement.h" |
| 46 #include "HTMLNames.h" | 45 #include "HTMLNames.h" |
| 47 #include "HTMLSelectElement.h" | 46 #include "HTMLSelectElement.h" |
| 48 #include "HTMLTextAreaElement.h" | 47 #include "HTMLTextAreaElement.h" |
| 49 #include "HistoryItem.h" | |
| 50 #include "InspectorClient.h" | 48 #include "InspectorClient.h" |
| 51 #include "InspectorConsoleAgent.h" | 49 #include "InspectorConsoleAgent.h" |
| 52 #include "InspectorController.h" | 50 #include "InspectorController.h" |
| 53 #include "InspectorCounters.h" | 51 #include "InspectorCounters.h" |
| 54 #include "InspectorFrontendChannel.h" | 52 #include "InspectorFrontendChannel.h" |
| 55 #include "InspectorFrontendClientLocal.h" | 53 #include "InspectorFrontendClientLocal.h" |
| 56 #include "InspectorInstrumentation.h" | 54 #include "InspectorInstrumentation.h" |
| 57 #include "InspectorOverlay.h" | 55 #include "InspectorOverlay.h" |
| 58 #include "InstrumentingAgents.h" | 56 #include "InstrumentingAgents.h" |
| 59 #include "InternalSettings.h" | 57 #include "InternalSettings.h" |
| 60 #include "MallocStatistics.h" | 58 #include "MallocStatistics.h" |
| 61 #include "MockPagePopupDriver.h" | 59 #include "MockPagePopupDriver.h" |
| 62 #include "NodeRenderingContext.h" | 60 #include "NodeRenderingContext.h" |
| 63 #include "PseudoElement.h" | 61 #include "PseudoElement.h" |
| 64 #include "Range.h" | 62 #include "Range.h" |
| 65 #include "SelectRuleFeatureSet.h" | 63 #include "SelectRuleFeatureSet.h" |
| 66 #include "SerializedScriptValue.h" | 64 #include "SerializedScriptValue.h" |
| 67 #include "ShadowRoot.h" | 65 #include "ShadowRoot.h" |
| 68 #include "StyleSheetContents.h" | 66 #include "StyleSheetContents.h" |
| 69 #include "TreeScope.h" | 67 #include "TreeScope.h" |
| 70 #include "TypeConversions.h" | 68 #include "TypeConversions.h" |
| 71 #include "ViewportArguments.h" | 69 #include "ViewportArguments.h" |
| 72 #include "WorkerThread.h" | 70 #include "WorkerThread.h" |
| 73 #include "core/editing/Editor.h" | 71 #include "core/editing/Editor.h" |
| 74 #include "core/editing/SpellChecker.h" | 72 #include "core/editing/SpellChecker.h" |
| 75 #include "core/editing/TextIterator.h" | 73 #include "core/editing/TextIterator.h" |
| 74 #include "core/history/BackForwardController.h" |
| 75 #include "core/history/HistoryItem.h" |
| 76 #include "core/loader/FrameLoader.h" | 76 #include "core/loader/FrameLoader.h" |
| 77 #include "core/loader/cache/CachedResourceLoader.h" | 77 #include "core/loader/cache/CachedResourceLoader.h" |
| 78 #include "core/loader/cache/MemoryCache.h" | 78 #include "core/loader/cache/MemoryCache.h" |
| 79 #include "core/page/Chrome.h" | 79 #include "core/page/Chrome.h" |
| 80 #include "core/page/ChromeClient.h" | 80 #include "core/page/ChromeClient.h" |
| 81 #include "core/page/DOMPoint.h" | 81 #include "core/page/DOMPoint.h" |
| 82 #include "core/page/DOMWindow.h" | 82 #include "core/page/DOMWindow.h" |
| 83 #include "core/page/EventHandler.h" | 83 #include "core/page/EventHandler.h" |
| 84 #include "core/page/Frame.h" | 84 #include "core/page/Frame.h" |
| 85 #include "core/page/FrameView.h" | 85 #include "core/page/FrameView.h" |
| (...skipping 1876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1962 | 1962 |
| 1963 RenderObject* renderer = select->renderer(); | 1963 RenderObject* renderer = select->renderer(); |
| 1964 if (!renderer->isMenuList()) | 1964 if (!renderer->isMenuList()) |
| 1965 return false; | 1965 return false; |
| 1966 | 1966 |
| 1967 RenderMenuList* menuList = toRenderMenuList(renderer); | 1967 RenderMenuList* menuList = toRenderMenuList(renderer); |
| 1968 return menuList->popupIsVisible(); | 1968 return menuList->popupIsVisible(); |
| 1969 } | 1969 } |
| 1970 | 1970 |
| 1971 } | 1971 } |
| OLD | NEW |