| 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 13 matching lines...) Expand all Loading... |
| 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 "InspectorFrontendHost.h" | 31 #include "InspectorFrontendHost.h" |
| 32 | 32 |
| 33 #include "ContextMenu.h" | 33 #include "ContextMenu.h" |
| 34 #include "ContextMenuController.h" |
| 34 #include "ContextMenuItem.h" | 35 #include "ContextMenuItem.h" |
| 35 #include "ContextMenuController.h" | |
| 36 #include "ContextMenuProvider.h" | 36 #include "ContextMenuProvider.h" |
| 37 #include "DOMFileSystem.h" | 37 #include "DOMFileSystem.h" |
| 38 #include "DOMWrapperWorld.h" | 38 #include "DOMWrapperWorld.h" |
| 39 #include "Element.h" | 39 #include "Element.h" |
| 40 #include "Frame.h" | 40 #include "Frame.h" |
| 41 #include "FrameLoader.h" | 41 #include "FrameLoader.h" |
| 42 #include "HTMLFrameOwnerElement.h" |
| 42 #include "HitTestResult.h" | 43 #include "HitTestResult.h" |
| 43 #include "HTMLFrameOwnerElement.h" | |
| 44 #include "InspectorAgent.h" | 44 #include "InspectorAgent.h" |
| 45 #include "InspectorController.h" | 45 #include "InspectorController.h" |
| 46 #include "InspectorFrontendClient.h" | 46 #include "InspectorFrontendClient.h" |
| 47 #include "Page.h" | 47 #include "Page.h" |
| 48 #include "Pasteboard.h" | 48 #include "Pasteboard.h" |
| 49 #include "RenderTheme.h" | 49 #include "RenderTheme.h" |
| 50 #include "ResourceError.h" | |
| 51 #include "ResourceRequest.h" | |
| 52 #include "ResourceResponse.h" | |
| 53 #include "ScriptFunctionCall.h" | 50 #include "ScriptFunctionCall.h" |
| 54 #include "UserGestureIndicator.h" | 51 #include "UserGestureIndicator.h" |
| 52 #include "core/platform/network/ResourceError.h" |
| 53 #include "core/platform/network/ResourceRequest.h" |
| 54 #include "core/platform/network/ResourceResponse.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 |