| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> | 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> |
| 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. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #include "config.h" | 30 #include "config.h" |
| 31 #include "core/inspector/InspectorFrontendHost.h" | 31 #include "core/inspector/InspectorFrontendHost.h" |
| 32 | 32 |
| 33 #include "DOMFileSystem.h" | |
| 34 #include "DOMWrapperWorld.h" | 33 #include "DOMWrapperWorld.h" |
| 35 #include "HTMLFrameOwnerElement.h" | 34 #include "HTMLFrameOwnerElement.h" |
| 36 #include "ScriptFunctionCall.h" | 35 #include "ScriptFunctionCall.h" |
| 37 #include "core/dom/Element.h" | 36 #include "core/dom/Element.h" |
| 38 #include "core/dom/UserGestureIndicator.h" | 37 #include "core/dom/UserGestureIndicator.h" |
| 39 #include "core/inspector/InspectorAgent.h" | 38 #include "core/inspector/InspectorAgent.h" |
| 40 #include "core/inspector/InspectorController.h" | 39 #include "core/inspector/InspectorController.h" |
| 41 #include "core/inspector/InspectorFrontendClient.h" | 40 #include "core/inspector/InspectorFrontendClient.h" |
| 42 #include "core/loader/FrameLoader.h" | 41 #include "core/loader/FrameLoader.h" |
| 43 #include "core/page/ContextMenuController.h" | 42 #include "core/page/ContextMenuController.h" |
| 44 #include "core/page/ContextMenuProvider.h" | 43 #include "core/page/ContextMenuProvider.h" |
| 45 #include "core/page/Frame.h" | 44 #include "core/page/Frame.h" |
| 46 #include "core/page/Page.h" | 45 #include "core/page/Page.h" |
| 47 #include "core/platform/ContextMenu.h" | 46 #include "core/platform/ContextMenu.h" |
| 48 #include "core/platform/ContextMenuItem.h" | 47 #include "core/platform/ContextMenuItem.h" |
| 49 #include "core/platform/Pasteboard.h" | 48 #include "core/platform/Pasteboard.h" |
| 50 #include "core/platform/network/ResourceError.h" | 49 #include "core/platform/network/ResourceError.h" |
| 51 #include "core/platform/network/ResourceRequest.h" | 50 #include "core/platform/network/ResourceRequest.h" |
| 52 #include "core/platform/network/ResourceResponse.h" | 51 #include "core/platform/network/ResourceResponse.h" |
| 53 #include "core/rendering/HitTestResult.h" | 52 #include "core/rendering/HitTestResult.h" |
| 54 #include "core/rendering/RenderTheme.h" | 53 #include "core/rendering/RenderTheme.h" |
| 54 #include "modules/filesystem/DOMFileSystem.h" |
| 55 #include <wtf/StdLibExtras.h> | 55 #include <wtf/StdLibExtras.h> |
| 56 | 56 |
| 57 using namespace std; | 57 using namespace std; |
| 58 | 58 |
| 59 namespace WebCore { | 59 namespace WebCore { |
| 60 | 60 |
| 61 class FrontendMenuProvider : public ContextMenuProvider { | 61 class FrontendMenuProvider : public ContextMenuProvider { |
| 62 public: | 62 public: |
| 63 static PassRefPtr<FrontendMenuProvider> create(InspectorFrontendHost* fronte
ndHost, ScriptObject frontendApiObject, const Vector<ContextMenuItem>& items) | 63 static PassRefPtr<FrontendMenuProvider> create(InspectorFrontendHost* fronte
ndHost, ScriptObject frontendApiObject, const Vector<ContextMenuItem>& items) |
| 64 { | 64 { |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 { | 323 { |
| 324 return false; | 324 return false; |
| 325 } | 325 } |
| 326 | 326 |
| 327 String InspectorFrontendHost::hiddenPanels() | 327 String InspectorFrontendHost::hiddenPanels() |
| 328 { | 328 { |
| 329 return ""; | 329 return ""; |
| 330 } | 330 } |
| 331 | 331 |
| 332 } // namespace WebCore | 332 } // namespace WebCore |
| OLD | NEW |