| 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 30 matching lines...) Expand all Loading... |
| 41 #include "core/page/Frame.h" | 41 #include "core/page/Frame.h" |
| 42 #include "core/page/Page.h" | 42 #include "core/page/Page.h" |
| 43 #include "core/platform/ContextMenu.h" | 43 #include "core/platform/ContextMenu.h" |
| 44 #include "core/platform/ContextMenuItem.h" | 44 #include "core/platform/ContextMenuItem.h" |
| 45 #include "core/platform/Pasteboard.h" | 45 #include "core/platform/Pasteboard.h" |
| 46 #include "core/platform/network/ResourceError.h" | 46 #include "core/platform/network/ResourceError.h" |
| 47 #include "core/platform/network/ResourceRequest.h" | 47 #include "core/platform/network/ResourceRequest.h" |
| 48 #include "core/platform/network/ResourceResponse.h" | 48 #include "core/platform/network/ResourceResponse.h" |
| 49 #include "core/rendering/RenderTheme.h" | 49 #include "core/rendering/RenderTheme.h" |
| 50 #include "modules/filesystem/DOMFileSystem.h" | 50 #include "modules/filesystem/DOMFileSystem.h" |
| 51 #include <wtf/StdLibExtras.h> | |
| 52 | 51 |
| 53 using namespace std; | 52 using namespace std; |
| 54 | 53 |
| 55 namespace WebCore { | 54 namespace WebCore { |
| 56 | 55 |
| 57 class FrontendMenuProvider : public ContextMenuProvider { | 56 class FrontendMenuProvider : public ContextMenuProvider { |
| 58 public: | 57 public: |
| 59 static PassRefPtr<FrontendMenuProvider> create(InspectorFrontendHost* fronte
ndHost, ScriptObject frontendApiObject, const Vector<ContextMenuItem>& items) | 58 static PassRefPtr<FrontendMenuProvider> create(InspectorFrontendHost* fronte
ndHost, ScriptObject frontendApiObject, const Vector<ContextMenuItem>& items) |
| 60 { | 59 { |
| 61 return adoptRef(new FrontendMenuProvider(frontendHost, frontendApiObject
, items)); | 60 return adoptRef(new FrontendMenuProvider(frontendHost, frontendApiObject
, items)); |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 { | 328 { |
| 330 return false; | 329 return false; |
| 331 } | 330 } |
| 332 | 331 |
| 333 String InspectorFrontendHost::hiddenPanels() | 332 String InspectorFrontendHost::hiddenPanels() |
| 334 { | 333 { |
| 335 return ""; | 334 return ""; |
| 336 } | 335 } |
| 337 | 336 |
| 338 } // namespace WebCore | 337 } // namespace WebCore |
| OLD | NEW |