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

Side by Side Diff: third_party/WebKit/Source/core/page/CreateWindow.cpp

Issue 2746113002: platform/loader: move network/Resource* to loader/fetch (Closed)
Patch Set: git rebase master Created 3 years, 9 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) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
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 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 20 matching lines...) Expand all
31 #include "core/frame/LocalFrame.h" 31 #include "core/frame/LocalFrame.h"
32 #include "core/frame/Settings.h" 32 #include "core/frame/Settings.h"
33 #include "core/inspector/ConsoleMessage.h" 33 #include "core/inspector/ConsoleMessage.h"
34 #include "core/inspector/InspectorInstrumentation.h" 34 #include "core/inspector/InspectorInstrumentation.h"
35 #include "core/loader/FrameLoadRequest.h" 35 #include "core/loader/FrameLoadRequest.h"
36 #include "core/page/ChromeClient.h" 36 #include "core/page/ChromeClient.h"
37 #include "core/page/FocusController.h" 37 #include "core/page/FocusController.h"
38 #include "core/page/Page.h" 38 #include "core/page/Page.h"
39 #include "core/page/WindowFeatures.h" 39 #include "core/page/WindowFeatures.h"
40 #include "platform/UserGestureIndicator.h" 40 #include "platform/UserGestureIndicator.h"
41 #include "platform/network/ResourceRequest.h" 41 #include "platform/loader/fetch/ResourceRequest.h"
42 #include "platform/weborigin/KURL.h" 42 #include "platform/weborigin/KURL.h"
43 #include "platform/weborigin/SecurityOrigin.h" 43 #include "platform/weborigin/SecurityOrigin.h"
44 #include "platform/weborigin/SecurityPolicy.h" 44 #include "platform/weborigin/SecurityPolicy.h"
45 #include "public/platform/WebURLRequest.h" 45 #include "public/platform/WebURLRequest.h"
46 46
47 namespace blink { 47 namespace blink {
48 48
49 static Frame* reuseExistingWindow(LocalFrame& activeFrame, 49 static Frame* reuseExistingWindow(LocalFrame& activeFrame,
50 LocalFrame& lookupFrame, 50 LocalFrame& lookupFrame,
51 const AtomicString& frameName, 51 const AtomicString& frameName,
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 } 287 }
288 288
289 // TODO(japhet): Form submissions on RemoteFrames don't work yet. 289 // TODO(japhet): Form submissions on RemoteFrames don't work yet.
290 FrameLoadRequest newRequest(0, request.resourceRequest()); 290 FrameLoadRequest newRequest(0, request.resourceRequest());
291 newRequest.setForm(request.form()); 291 newRequest.setForm(request.form());
292 if (newFrame->isLocalFrame()) 292 if (newFrame->isLocalFrame())
293 toLocalFrame(newFrame)->loader().load(newRequest); 293 toLocalFrame(newFrame)->loader().load(newRequest);
294 } 294 }
295 295
296 } // namespace blink 296 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698