| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #include "core/loader/FrameLoader.h" | 46 #include "core/loader/FrameLoader.h" |
| 47 #include "core/page/ContextMenuController.h" | 47 #include "core/page/ContextMenuController.h" |
| 48 #include "core/page/ContextMenuProvider.h" | 48 #include "core/page/ContextMenuProvider.h" |
| 49 #include "core/page/Page.h" | 49 #include "core/page/Page.h" |
| 50 #include "platform/ContextMenu.h" | 50 #include "platform/ContextMenu.h" |
| 51 #include "platform/ContextMenuItem.h" | 51 #include "platform/ContextMenuItem.h" |
| 52 #include "platform/HostWindow.h" | 52 #include "platform/HostWindow.h" |
| 53 #include "platform/ScriptForbiddenScope.h" | 53 #include "platform/ScriptForbiddenScope.h" |
| 54 #include "platform/SharedBuffer.h" | 54 #include "platform/SharedBuffer.h" |
| 55 #include "platform/UserGestureIndicator.h" | 55 #include "platform/UserGestureIndicator.h" |
| 56 #include "platform/loader/fetch/ResourceError.h" |
| 56 #include "platform/loader/fetch/ResourceFetcher.h" | 57 #include "platform/loader/fetch/ResourceFetcher.h" |
| 57 #include "platform/network/ResourceError.h" | 58 #include "platform/loader/fetch/ResourceRequest.h" |
| 58 #include "platform/network/ResourceRequest.h" | 59 #include "platform/loader/fetch/ResourceResponse.h" |
| 59 #include "platform/network/ResourceResponse.h" | |
| 60 | 60 |
| 61 namespace blink { | 61 namespace blink { |
| 62 | 62 |
| 63 class FrontendMenuProvider final : public ContextMenuProvider { | 63 class FrontendMenuProvider final : public ContextMenuProvider { |
| 64 public: | 64 public: |
| 65 static FrontendMenuProvider* create(DevToolsHost* devtoolsHost, | 65 static FrontendMenuProvider* create(DevToolsHost* devtoolsHost, |
| 66 const Vector<ContextMenuItem>& items) { | 66 const Vector<ContextMenuItem>& items) { |
| 67 return new FrontendMenuProvider(devtoolsHost, items); | 67 return new FrontendMenuProvider(devtoolsHost, items); |
| 68 } | 68 } |
| 69 | 69 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 | 227 |
| 228 bool DevToolsHost::isUnderTest() { | 228 bool DevToolsHost::isUnderTest() { |
| 229 return m_client && m_client->isUnderTest(); | 229 return m_client && m_client->isUnderTest(); |
| 230 } | 230 } |
| 231 | 231 |
| 232 bool DevToolsHost::isHostedMode() { | 232 bool DevToolsHost::isHostedMode() { |
| 233 return false; | 233 return false; |
| 234 } | 234 } |
| 235 | 235 |
| 236 } // namespace blink | 236 } // namespace blink |
| OLD | NEW |