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

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

Issue 319573008: Navigation transitions: Initiate navigation transition and send serialized markup to Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@transitions_editing
Patch Set: Rebase Created 6 years, 5 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
« no previous file with comments | « no previous file | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 const ResourceResponse& response() const { return m_response; } 108 const ResourceResponse& response() const { return m_response; }
109 const ResourceError& mainDocumentError() const { return m_mainDocumentEr ror; } 109 const ResourceError& mainDocumentError() const { return m_mainDocumentEr ror; }
110 bool isClientRedirect() const { return m_isClientRedirect; } 110 bool isClientRedirect() const { return m_isClientRedirect; }
111 void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = i sClientRedirect; } 111 void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = i sClientRedirect; }
112 bool replacesCurrentHistoryItem() const { return m_replacesCurrentHistor yItem; } 112 bool replacesCurrentHistoryItem() const { return m_replacesCurrentHistor yItem; }
113 void setReplacesCurrentHistoryItem(bool replacesCurrentHistoryItem) { m_ replacesCurrentHistoryItem = replacesCurrentHistoryItem; } 113 void setReplacesCurrentHistoryItem(bool replacesCurrentHistoryItem) { m_ replacesCurrentHistoryItem = replacesCurrentHistoryItem; }
114 const AtomicString& overrideEncoding() const { return m_overrideEncoding ; } 114 const AtomicString& overrideEncoding() const { return m_overrideEncoding ; }
115 115
116 bool scheduleArchiveLoad(Resource*, const ResourceRequest&); 116 bool scheduleArchiveLoad(Resource*, const ResourceRequest&);
117 117
118 bool shouldContinueForNavigationPolicy(const ResourceRequest&, ContentSe curityPolicyCheck shouldCheckMainWorldContentSecurityPolicy); 118 bool shouldContinueForNavigationPolicy(const ResourceRequest&, ContentSe curityPolicyCheck shouldCheckMainWorldContentSecurityPolicy, bool isTransitionNa vigation = false);
119 const NavigationAction& triggeringAction() const { return m_triggeringAc tion; } 119 const NavigationAction& triggeringAction() const { return m_triggeringAc tion; }
120 void setTriggeringAction(const NavigationAction& action) { m_triggeringA ction = action; } 120 void setTriggeringAction(const NavigationAction& action) { m_triggeringA ction = action; }
121 121
122 void setOverrideEncoding(const AtomicString& encoding) { m_overrideEncod ing = encoding; } 122 void setOverrideEncoding(const AtomicString& encoding) { m_overrideEncod ing = encoding; }
123 123
124 void setDefersLoading(bool); 124 void setDefersLoading(bool);
125 125
126 void startLoadingMainResource(); 126 void startLoadingMainResource();
127 void cancelMainResourceLoad(const ResourceError&); 127 void cancelMainResourceLoad(const ResourceError&);
128 128
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 DocumentLoadTiming m_documentLoadTiming; 216 DocumentLoadTiming m_documentLoadTiming;
217 217
218 double m_timeOfLastDataReceived; 218 double m_timeOfLastDataReceived;
219 219
220 friend class ApplicationCacheHost; // for substitute resource delivery 220 friend class ApplicationCacheHost; // for substitute resource delivery
221 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; 221 OwnPtr<ApplicationCacheHost> m_applicationCacheHost;
222 }; 222 };
223 } 223 }
224 224
225 #endif // DocumentLoader_h 225 #endif // DocumentLoader_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698