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

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

Issue 1853743005: Oilpan: Remove WillBe types (part 13) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 const SubstituteData& substituteData() const { return m_substituteData; } 75 const SubstituteData& substituteData() const { return m_substituteData; }
76 76
77 bool replacesCurrentItem() const { return m_replacesCurrentItem; } 77 bool replacesCurrentItem() const { return m_replacesCurrentItem; }
78 void setReplacesCurrentItem(bool replacesCurrentItem) { m_replacesCurrentIte m = replacesCurrentItem; } 78 void setReplacesCurrentItem(bool replacesCurrentItem) { m_replacesCurrentIte m = replacesCurrentItem; }
79 79
80 ClientRedirectPolicy clientRedirect() const { return m_clientRedirect; } 80 ClientRedirectPolicy clientRedirect() const { return m_clientRedirect; }
81 void setClientRedirect(ClientRedirectPolicy clientRedirect) { m_clientRedire ct = clientRedirect; } 81 void setClientRedirect(ClientRedirectPolicy clientRedirect) { m_clientRedire ct = clientRedirect; }
82 82
83 Event* triggeringEvent() const { return m_triggeringEvent.get(); } 83 Event* triggeringEvent() const { return m_triggeringEvent.get(); }
84 void setTriggeringEvent(PassRefPtrWillBeRawPtr<Event> triggeringEvent) { m_t riggeringEvent = triggeringEvent; } 84 void setTriggeringEvent(RawPtr<Event> triggeringEvent) { m_triggeringEvent = triggeringEvent; }
85 85
86 HTMLFormElement* form() const { return m_form.get(); } 86 HTMLFormElement* form() const { return m_form.get(); }
87 void setForm(PassRefPtrWillBeRawPtr<HTMLFormElement> form) { m_form = form; } 87 void setForm(RawPtr<HTMLFormElement> form) { m_form = form; }
88 88
89 ShouldSendReferrer getShouldSendReferrer() const { return m_shouldSendReferr er; } 89 ShouldSendReferrer getShouldSendReferrer() const { return m_shouldSendReferr er; }
90 void setShouldSendReferrer(ShouldSendReferrer shouldSendReferrer) { m_should SendReferrer = shouldSendReferrer; } 90 void setShouldSendReferrer(ShouldSendReferrer shouldSendReferrer) { m_should SendReferrer = shouldSendReferrer; }
91 91
92 ShouldSetOpener getShouldSetOpener() const { return m_shouldSetOpener; } 92 ShouldSetOpener getShouldSetOpener() const { return m_shouldSetOpener; }
93 void setShouldSetOpener(ShouldSetOpener shouldSetOpener) { m_shouldSetOpener = shouldSetOpener; } 93 void setShouldSetOpener(ShouldSetOpener shouldSetOpener) { m_shouldSetOpener = shouldSetOpener; }
94 94
95 ContentSecurityPolicyDisposition shouldCheckMainWorldContentSecurityPolicy() const { return m_shouldCheckMainWorldContentSecurityPolicy; } 95 ContentSecurityPolicyDisposition shouldCheckMainWorldContentSecurityPolicy() const { return m_shouldCheckMainWorldContentSecurityPolicy; }
96 96
97 private: 97 private:
(...skipping 12 matching lines...) Expand all
110 if (originDocument) 110 if (originDocument)
111 m_resourceRequest.setRequestorOrigin(SecurityOrigin::create(originDo cument->url())); 111 m_resourceRequest.setRequestorOrigin(SecurityOrigin::create(originDo cument->url()));
112 } 112 }
113 void initializeFetchFlags() 113 void initializeFetchFlags()
114 { 114 {
115 // These flags are passed to a service worker which controls the page. 115 // These flags are passed to a service worker which controls the page.
116 m_resourceRequest.setFetchRequestMode(WebURLRequest::FetchRequestModeNav igate); 116 m_resourceRequest.setFetchRequestMode(WebURLRequest::FetchRequestModeNav igate);
117 m_resourceRequest.setFetchCredentialsMode(WebURLRequest::FetchCredential sModeInclude); 117 m_resourceRequest.setFetchCredentialsMode(WebURLRequest::FetchCredential sModeInclude);
118 m_resourceRequest.setFetchRedirectMode(WebURLRequest::FetchRedirectModeM anual); 118 m_resourceRequest.setFetchRedirectMode(WebURLRequest::FetchRedirectModeM anual);
119 } 119 }
120 RefPtrWillBeMember<Document> m_originDocument; 120 Member<Document> m_originDocument;
121 ResourceRequest m_resourceRequest; 121 ResourceRequest m_resourceRequest;
122 AtomicString m_frameName; 122 AtomicString m_frameName;
123 SubstituteData m_substituteData; 123 SubstituteData m_substituteData;
124 bool m_replacesCurrentItem; 124 bool m_replacesCurrentItem;
125 ClientRedirectPolicy m_clientRedirect; 125 ClientRedirectPolicy m_clientRedirect;
126 RefPtrWillBeMember<Event> m_triggeringEvent; 126 Member<Event> m_triggeringEvent;
127 RefPtrWillBeMember<HTMLFormElement> m_form; 127 Member<HTMLFormElement> m_form;
128 ShouldSendReferrer m_shouldSendReferrer; 128 ShouldSendReferrer m_shouldSendReferrer;
129 ShouldSetOpener m_shouldSetOpener; 129 ShouldSetOpener m_shouldSetOpener;
130 ContentSecurityPolicyDisposition m_shouldCheckMainWorldContentSecurityPolicy ; 130 ContentSecurityPolicyDisposition m_shouldCheckMainWorldContentSecurityPolicy ;
131 }; 131 };
132 132
133 } // namespace blink 133 } // namespace blink
134 134
135 #endif // FrameLoadRequest_h 135 #endif // FrameLoadRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698