OLD | NEW |
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 LocalFrame* frame() const { return m_frame; } | 69 LocalFrame* frame() const { return m_frame; } |
70 | 70 |
71 void detachFromFrame(); | 71 void detachFromFrame(); |
72 | 72 |
73 unsigned long mainResourceIdentifier() const; | 73 unsigned long mainResourceIdentifier() const; |
74 | 74 |
75 void replaceDocumentWhileExecutingJavaScriptURL(const DocumentInit&, con
st String& source, Document*); | 75 void replaceDocumentWhileExecutingJavaScriptURL(const DocumentInit&, con
st String& source, Document*); |
76 | 76 |
77 const AtomicString& mimeType() const; | 77 const AtomicString& mimeType() const; |
78 | 78 |
79 void setUserChosenEncoding(const String& charset); | |
80 | |
81 const ResourceRequest& originalRequest() const; | 79 const ResourceRequest& originalRequest() const; |
82 | 80 |
83 const ResourceRequest& request() const; | 81 const ResourceRequest& request() const; |
84 | 82 |
85 ResourceFetcher* fetcher() const { return m_fetcher.get(); } | 83 ResourceFetcher* fetcher() const { return m_fetcher.get(); } |
86 | 84 |
87 const SubstituteData& substituteData() const { return m_substituteData;
} | 85 const SubstituteData& substituteData() const { return m_substituteData;
} |
88 | 86 |
89 const KURL& url() const; | 87 const KURL& url() const; |
90 const KURL& unreachableURL() const; | 88 const KURL& unreachableURL() const; |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 friend class ApplicationCacheHost; // for substitute resource delivery | 216 friend class ApplicationCacheHost; // for substitute resource delivery |
219 OwnPtrWillBePersistent<ApplicationCacheHost> m_applicationCacheHost; | 217 OwnPtrWillBePersistent<ApplicationCacheHost> m_applicationCacheHost; |
220 | 218 |
221 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; | 219 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; |
222 ClientHintsPreferences m_clientHintsPreferences; | 220 ClientHintsPreferences m_clientHintsPreferences; |
223 InitialScrollState m_initialScrollState; | 221 InitialScrollState m_initialScrollState; |
224 }; | 222 }; |
225 } | 223 } |
226 | 224 |
227 #endif // DocumentLoader_h | 225 #endif // DocumentLoader_h |
OLD | NEW |