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

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

Issue 1426923007: Remove PluginLoadObserver and related logic, it was only used for NPAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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, 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 const KURL& unreachableURL() const; 91 const KURL& unreachableURL() const;
92 const KURL& urlForHistory() const; 92 const KURL& urlForHistory() const;
93 93
94 const AtomicString& responseMIMEType() const; 94 const AtomicString& responseMIMEType() const;
95 95
96 void didChangePerformanceTiming(); 96 void didChangePerformanceTiming();
97 void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSour ce); 97 void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSour ce);
98 void stopLoading(); 98 void stopLoading();
99 bool isLoading() const; 99 bool isLoading() const;
100 const ResourceResponse& response() const { return m_response; } 100 const ResourceResponse& response() const { return m_response; }
101 const ResourceError& mainDocumentError() const { return m_mainDocumentError; }
102 bool isClientRedirect() const { return m_isClientRedirect; } 101 bool isClientRedirect() const { return m_isClientRedirect; }
103 void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = isCli entRedirect; } 102 void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = isCli entRedirect; }
104 bool replacesCurrentHistoryItem() const { return m_replacesCurrentHistoryIte m; } 103 bool replacesCurrentHistoryItem() const { return m_replacesCurrentHistoryIte m; }
105 void setReplacesCurrentHistoryItem(bool replacesCurrentHistoryItem) { m_repl acesCurrentHistoryItem = replacesCurrentHistoryItem; } 104 void setReplacesCurrentHistoryItem(bool replacesCurrentHistoryItem) { m_repl acesCurrentHistoryItem = replacesCurrentHistoryItem; }
106 105
107 bool isCommittedButEmpty() const { return m_state == Committed; } 106 bool isCommittedButEmpty() const { return m_state == Committed; }
108 107
109 void setSentDidFinishLoad() { m_state = SentDidFinishLoad; } 108 void setSentDidFinishLoad() { m_state = SentDidFinishLoad; }
110 bool sentDidFinishLoad() const { return m_state == SentDidFinishLoad; } 109 bool sentDidFinishLoad() const { return m_state == SentDidFinishLoad; }
111 110
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 205
207 SubstituteData m_substituteData; 206 SubstituteData m_substituteData;
208 207
209 // The 'working' request. It may be mutated 208 // The 'working' request. It may be mutated
210 // several times from the original request to include additional 209 // several times from the original request to include additional
211 // headers, cookie information, canonicalization and redirects. 210 // headers, cookie information, canonicalization and redirects.
212 ResourceRequest m_request; 211 ResourceRequest m_request;
213 212
214 ResourceResponse m_response; 213 ResourceResponse m_response;
215 214
216 ResourceError m_mainDocumentError;
217
218 bool m_isClientRedirect; 215 bool m_isClientRedirect;
219 bool m_replacesCurrentHistoryItem; 216 bool m_replacesCurrentHistoryItem;
220 217
221 NavigationType m_navigationType; 218 NavigationType m_navigationType;
222 219
223 RefPtrWillBeMember<MHTMLArchive> m_archive; 220 RefPtrWillBeMember<MHTMLArchive> m_archive;
224 221
225 DocumentLoadTiming m_documentLoadTiming; 222 DocumentLoadTiming m_documentLoadTiming;
226 223
227 double m_timeOfLastDataReceived; 224 double m_timeOfLastDataReceived;
(...skipping 17 matching lines...) Expand all
245 // Used to protect against reentrancy into dataReceived(). 242 // Used to protect against reentrancy into dataReceived().
246 bool m_inDataReceived; 243 bool m_inDataReceived;
247 RefPtr<SharedBuffer> m_dataBuffer; 244 RefPtr<SharedBuffer> m_dataBuffer;
248 }; 245 };
249 246
250 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); 247 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader);
251 248
252 } // namespace blink 249 } // namespace blink
253 250
254 #endif // DocumentLoader_h 251 #endif // DocumentLoader_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/PluginDocument.cpp ('k') | third_party/WebKit/Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698