Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: third_party/WebKit/Source/core/inspector/DevToolsHost.cpp

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 18 matching lines...) Expand all
29 29
30 #include "core/inspector/DevToolsHost.h" 30 #include "core/inspector/DevToolsHost.h"
31 31
32 #include "bindings/core/v8/ScriptState.h" 32 #include "bindings/core/v8/ScriptState.h"
33 #include "bindings/core/v8/V8ScriptRunner.h" 33 #include "bindings/core/v8/V8ScriptRunner.h"
34 #include "core/clipboard/Pasteboard.h" 34 #include "core/clipboard/Pasteboard.h"
35 #include "core/dom/DocumentUserGestureToken.h" 35 #include "core/dom/DocumentUserGestureToken.h"
36 #include "core/dom/ExecutionContext.h" 36 #include "core/dom/ExecutionContext.h"
37 #include "core/events/Event.h" 37 #include "core/events/Event.h"
38 #include "core/events/EventTarget.h" 38 #include "core/events/EventTarget.h"
39 #include "core/fetch/ResourceFetcher.h"
40 #include "core/frame/FrameView.h" 39 #include "core/frame/FrameView.h"
41 #include "core/frame/LocalDOMWindow.h" 40 #include "core/frame/LocalDOMWindow.h"
42 #include "core/frame/LocalFrame.h" 41 #include "core/frame/LocalFrame.h"
43 #include "core/html/parser/TextResourceDecoder.h" 42 #include "core/html/parser/TextResourceDecoder.h"
44 #include "core/inspector/InspectorFrontendClient.h" 43 #include "core/inspector/InspectorFrontendClient.h"
45 #include "core/layout/LayoutTheme.h" 44 #include "core/layout/LayoutTheme.h"
46 #include "core/loader/FrameLoader.h" 45 #include "core/loader/FrameLoader.h"
47 #include "core/page/ContextMenuController.h" 46 #include "core/page/ContextMenuController.h"
48 #include "core/page/ContextMenuProvider.h" 47 #include "core/page/ContextMenuProvider.h"
49 #include "core/page/Page.h" 48 #include "core/page/Page.h"
50 #include "platform/ContextMenu.h" 49 #include "platform/ContextMenu.h"
51 #include "platform/ContextMenuItem.h" 50 #include "platform/ContextMenuItem.h"
52 #include "platform/HostWindow.h" 51 #include "platform/HostWindow.h"
53 #include "platform/ScriptForbiddenScope.h" 52 #include "platform/ScriptForbiddenScope.h"
54 #include "platform/SharedBuffer.h" 53 #include "platform/SharedBuffer.h"
55 #include "platform/UserGestureIndicator.h" 54 #include "platform/UserGestureIndicator.h"
55 #include "platform/loader/fetch/ResourceFetcher.h"
56 #include "platform/network/ResourceError.h" 56 #include "platform/network/ResourceError.h"
57 #include "platform/network/ResourceRequest.h" 57 #include "platform/network/ResourceRequest.h"
58 #include "platform/network/ResourceResponse.h" 58 #include "platform/network/ResourceResponse.h"
59 59
60 namespace blink { 60 namespace blink {
61 61
62 class FrontendMenuProvider final : public ContextMenuProvider { 62 class FrontendMenuProvider final : public ContextMenuProvider {
63 public: 63 public:
64 static FrontendMenuProvider* create(DevToolsHost* devtoolsHost, 64 static FrontendMenuProvider* create(DevToolsHost* devtoolsHost,
65 const Vector<ContextMenuItem>& items) { 65 const Vector<ContextMenuItem>& items) {
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 bool DevToolsHost::isUnderTest() { 227 bool DevToolsHost::isUnderTest() {
228 return m_client && m_client->isUnderTest(); 228 return m_client && m_client->isUnderTest();
229 } 229 }
230 230
231 bool DevToolsHost::isHostedMode() { 231 bool DevToolsHost::isHostedMode() {
232 return false; 232 return false;
233 } 233 }
234 234
235 } // namespace blink 235 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698