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

Side by Side Diff: Source/core/testing/InternalSettings.h

Issue 788923003: Adding Link header support for dns-prefetch (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: removed useless dumpAsText from frames Created 5 years, 10 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 | « Source/core/loader/LinkLoader.cpp ('k') | Source/core/testing/InternalSettings.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // cannot be changed after process start. These setters should 116 // cannot be changed after process start. These setters should
117 // be removed or moved onto internals.runtimeFlags: 117 // be removed or moved onto internals.runtimeFlags:
118 void setAuthorShadowDOMForAnyElementEnabled(bool); 118 void setAuthorShadowDOMForAnyElementEnabled(bool);
119 void setLangAttributeAwareFormControlUIEnabled(bool); 119 void setLangAttributeAwareFormControlUIEnabled(bool);
120 void setOverlayScrollbarsEnabled(bool); 120 void setOverlayScrollbarsEnabled(bool);
121 void setExperimentalContentSecurityPolicyFeaturesEnabled(bool); 121 void setExperimentalContentSecurityPolicyFeaturesEnabled(bool);
122 void setPseudoClassesInMatchingCriteriaInAuthorShadowTreesEnabled(bool); 122 void setPseudoClassesInMatchingCriteriaInAuthorShadowTreesEnabled(bool);
123 void setImageColorProfilesEnabled(bool); 123 void setImageColorProfilesEnabled(bool);
124 void setImageAnimationPolicy(const String&, ExceptionState&); 124 void setImageAnimationPolicy(const String&, ExceptionState&);
125 void setScrollTopLeftInteropEnabled(bool); 125 void setScrollTopLeftInteropEnabled(bool);
126 void setLinkHeaderEnabled(bool);
126 127
127 virtual void trace(Visitor*) override; 128 virtual void trace(Visitor*) override;
128 129
129 void setAvailablePointerTypes(const String&, ExceptionState&); 130 void setAvailablePointerTypes(const String&, ExceptionState&);
130 void setPrimaryPointerType(const String&, ExceptionState&); 131 void setPrimaryPointerType(const String&, ExceptionState&);
131 void setAvailableHoverTypes(const String&, ExceptionState&); 132 void setAvailableHoverTypes(const String&, ExceptionState&);
132 void setPrimaryHoverType(const String&, ExceptionState&); 133 void setPrimaryHoverType(const String&, ExceptionState&);
133 void setDnsPrefetchLogging(bool, ExceptionState&); 134 void setDnsPrefetchLogging(bool, ExceptionState&);
134 135
135 private: 136 private:
136 explicit InternalSettings(Page&); 137 explicit InternalSettings(Page&);
137 138
138 Settings* settings() const; 139 Settings* settings() const;
139 Page* page() const { return m_page; } 140 Page* page() const { return m_page; }
140 static const char* supplementName(); 141 static const char* supplementName();
141 142
142 RawPtrWillBeWeakMember<Page> m_page; 143 RawPtrWillBeWeakMember<Page> m_page;
143 Backup m_backup; 144 Backup m_backup;
144 }; 145 };
145 146
146 } // namespace blink 147 } // namespace blink
147 148
148 #endif // InternalSettings_h 149 #endif // InternalSettings_h
OLDNEW
« no previous file with comments | « Source/core/loader/LinkLoader.cpp ('k') | Source/core/testing/InternalSettings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698