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

Side by Side Diff: Source/core/loader/FrameLoadRequest.h

Issue 339593005: Set the target type when creating the request for main resource (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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) 2003, 2006, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 14 matching lines...) Expand all
25 25
26 #ifndef FrameLoadRequest_h 26 #ifndef FrameLoadRequest_h
27 #define FrameLoadRequest_h 27 #define FrameLoadRequest_h
28 28
29 #include "core/dom/Document.h" 29 #include "core/dom/Document.h"
30 #include "core/events/Event.h" 30 #include "core/events/Event.h"
31 #include "core/html/HTMLFormElement.h" 31 #include "core/html/HTMLFormElement.h"
32 #include "core/loader/FrameLoaderTypes.h" 32 #include "core/loader/FrameLoaderTypes.h"
33 #include "core/loader/SubstituteData.h" 33 #include "core/loader/SubstituteData.h"
34 #include "platform/network/ResourceRequest.h" 34 #include "platform/network/ResourceRequest.h"
35
ppi 2014/06/19 18:25:42 Is this intentional?
clamy 2014/06/23 15:32:50 No, sorry my mistake.
36 namespace WebCore { 35 namespace WebCore {
37 class LocalFrame; 36 class LocalFrame;
38 37
39 struct FrameLoadRequest { 38 struct FrameLoadRequest {
40 STACK_ALLOCATED(); 39 STACK_ALLOCATED();
41 public: 40 public:
42 explicit FrameLoadRequest(Document* originDocument) 41 explicit FrameLoadRequest(Document* originDocument)
43 : m_originDocument(originDocument) 42 : m_originDocument(originDocument)
44 , m_lockBackForwardList(false) 43 , m_lockBackForwardList(false)
45 , m_clientRedirect(NotClientRedirect) 44 , m_clientRedirect(NotClientRedirect)
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 bool m_lockBackForwardList; 108 bool m_lockBackForwardList;
110 ClientRedirectPolicy m_clientRedirect; 109 ClientRedirectPolicy m_clientRedirect;
111 RefPtrWillBeMember<Event> m_triggeringEvent; 110 RefPtrWillBeMember<Event> m_triggeringEvent;
112 RefPtrWillBeMember<FormState> m_formState; 111 RefPtrWillBeMember<FormState> m_formState;
113 ShouldSendReferrer m_shouldSendReferrer; 112 ShouldSendReferrer m_shouldSendReferrer;
114 }; 113 };
115 114
116 } 115 }
117 116
118 #endif // FrameLoadRequest_h 117 #endif // FrameLoadRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698