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

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

Issue 1145773003: Remove the Document.charset setter (making it readonly) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix webexposed 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/parser/TextResourceDecoder.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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « Source/core/html/parser/TextResourceDecoder.cpp ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698