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

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

Issue 216523002: Oilpan: Replace most of RefPtrs for Event objects with oilpan's transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 const SubstituteData& substituteData() const { return m_substituteData; } 86 const SubstituteData& substituteData() const { return m_substituteData; }
87 87
88 bool lockBackForwardList() const { return m_lockBackForwardList; } 88 bool lockBackForwardList() const { return m_lockBackForwardList; }
89 void setLockBackForwardList(bool lockBackForwardList) { m_lockBackForwardLis t = lockBackForwardList; } 89 void setLockBackForwardList(bool lockBackForwardList) { m_lockBackForwardLis t = lockBackForwardList; }
90 90
91 ClientRedirectPolicy clientRedirect() const { return m_clientRedirect; } 91 ClientRedirectPolicy clientRedirect() const { return m_clientRedirect; }
92 void setClientRedirect(ClientRedirectPolicy clientRedirect) { m_clientRedire ct = clientRedirect; } 92 void setClientRedirect(ClientRedirectPolicy clientRedirect) { m_clientRedire ct = clientRedirect; }
93 93
94 Event* triggeringEvent() const { return m_triggeringEvent.get(); } 94 Event* triggeringEvent() const { return m_triggeringEvent.get(); }
95 void setTriggeringEvent(PassRefPtr<Event> triggeringEvent) { m_triggeringEve nt = triggeringEvent; } 95 void setTriggeringEvent(PassRefPtrWillBeRawPtr<Event> triggeringEvent) { m_t riggeringEvent = triggeringEvent; }
96 96
97 FormState* formState() const { return m_formState.get(); } 97 FormState* formState() const { return m_formState.get(); }
98 void setFormState(PassRefPtr<FormState> formState) { m_formState = formState ; } 98 void setFormState(PassRefPtr<FormState> formState) { m_formState = formState ; }
99 99
100 ShouldSendReferrer shouldSendReferrer() const { return m_shouldSendReferrer; } 100 ShouldSendReferrer shouldSendReferrer() const { return m_shouldSendReferrer; }
101 void setShouldSendReferrer(ShouldSendReferrer shouldSendReferrer) { m_should SendReferrer = shouldSendReferrer; } 101 void setShouldSendReferrer(ShouldSendReferrer shouldSendReferrer) { m_should SendReferrer = shouldSendReferrer; }
102 102
103 private: 103 private:
104 RefPtr<Document> m_originDocument; 104 RefPtr<Document> m_originDocument;
105 ResourceRequest m_resourceRequest; 105 ResourceRequest m_resourceRequest;
106 AtomicString m_frameName; 106 AtomicString m_frameName;
107 SubstituteData m_substituteData; 107 SubstituteData m_substituteData;
108 bool m_lockBackForwardList; 108 bool m_lockBackForwardList;
109 ClientRedirectPolicy m_clientRedirect; 109 ClientRedirectPolicy m_clientRedirect;
110 RefPtr<Event> m_triggeringEvent; 110 RefPtrWillBePersistent<Event> m_triggeringEvent;
111 RefPtr<FormState> m_formState; 111 RefPtr<FormState> m_formState;
112 ShouldSendReferrer m_shouldSendReferrer; 112 ShouldSendReferrer m_shouldSendReferrer;
113 }; 113 };
114 114
115 } 115 }
116 116
117 #endif // FrameLoadRequest_h 117 #endif // FrameLoadRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698