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

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

Issue 1140153006: Remove Navigation Transitions from Blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed layout tests. Created 5 years, 7 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
« no previous file with comments | « Source/core/html/LinkRelAttribute.cpp ('k') | 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 bool isCommitted() const { return m_committed; } 95 bool isCommitted() const { return m_committed; }
96 bool isLoading() const; 96 bool isLoading() const;
97 bool isLoadingMainResource() const { return m_loadingMainResource; } 97 bool isLoadingMainResource() const { return m_loadingMainResource; }
98 const ResourceResponse& response() const { return m_response; } 98 const ResourceResponse& response() const { return m_response; }
99 const ResourceError& mainDocumentError() const { return m_mainDocumentEr ror; } 99 const ResourceError& mainDocumentError() const { return m_mainDocumentEr ror; }
100 bool isClientRedirect() const { return m_isClientRedirect; } 100 bool isClientRedirect() const { return m_isClientRedirect; }
101 void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = i sClientRedirect; } 101 void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = i sClientRedirect; }
102 bool replacesCurrentHistoryItem() const { return m_replacesCurrentHistor yItem; } 102 bool replacesCurrentHistoryItem() const { return m_replacesCurrentHistor yItem; }
103 void setReplacesCurrentHistoryItem(bool replacesCurrentHistoryItem) { m_ replacesCurrentHistoryItem = replacesCurrentHistoryItem; } 103 void setReplacesCurrentHistoryItem(bool replacesCurrentHistoryItem) { m_ replacesCurrentHistoryItem = replacesCurrentHistoryItem; }
104 104
105 bool shouldContinueForNavigationPolicy(const ResourceRequest&, ContentSe curityPolicyDisposition shouldCheckMainWorldContentSecurityPolicy, NavigationPol icy = NavigationPolicyCurrentTab, bool isTransitionNavigation = false); 105 bool shouldContinueForNavigationPolicy(const ResourceRequest&, ContentSe curityPolicyDisposition shouldCheckMainWorldContentSecurityPolicy, NavigationPol icy = NavigationPolicyCurrentTab);
106 NavigationType navigationType() const { return m_navigationType; } 106 NavigationType navigationType() const { return m_navigationType; }
107 void setNavigationType(NavigationType navigationType) { m_navigationType = navigationType; } 107 void setNavigationType(NavigationType navigationType) { m_navigationType = navigationType; }
108 108
109 void setDefersLoading(bool); 109 void setDefersLoading(bool);
110 110
111 void startLoadingMainResource(); 111 void startLoadingMainResource();
112 void cancelMainResourceLoad(const ResourceError&); 112 void cancelMainResourceLoad(const ResourceError&);
113 113
114 void attachThreadedDataReceiver(PassRefPtrWillBeRawPtr<ThreadedDataRecei ver>); 114 void attachThreadedDataReceiver(PassRefPtrWillBeRawPtr<ThreadedDataRecei ver>);
115 void acceptDataFromThreadedReceiver(const char* data, int dataLength, in t encodedDataLength); 115 void acceptDataFromThreadedReceiver(const char* data, int dataLength, in t encodedDataLength);
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 friend class ApplicationCacheHost; // for substitute resource delivery 216 friend class ApplicationCacheHost; // for substitute resource delivery
217 OwnPtrWillBePersistent<ApplicationCacheHost> m_applicationCacheHost; 217 OwnPtrWillBePersistent<ApplicationCacheHost> m_applicationCacheHost;
218 218
219 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; 219 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy;
220 ClientHintsPreferences m_clientHintsPreferences; 220 ClientHintsPreferences m_clientHintsPreferences;
221 InitialScrollState m_initialScrollState; 221 InitialScrollState m_initialScrollState;
222 }; 222 };
223 } 223 }
224 224
225 #endif // DocumentLoader_h 225 #endif // DocumentLoader_h
OLDNEW
« no previous file with comments | « Source/core/html/LinkRelAttribute.cpp ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698