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

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

Issue 2184883002: Remove LinkHeader runtime flag (status=stable) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // FIXME: The following are RuntimeEnabledFeatures and likely 112 // FIXME: The following are RuntimeEnabledFeatures and likely
113 // cannot be changed after process start. These setters should 113 // cannot be changed after process start. These setters should
114 // be removed or moved onto internals.runtimeFlags: 114 // be removed or moved onto internals.runtimeFlags:
115 void setCSSStickyPositionEnabled(bool); 115 void setCSSStickyPositionEnabled(bool);
116 void setLangAttributeAwareFormControlUIEnabled(bool); 116 void setLangAttributeAwareFormControlUIEnabled(bool);
117 void setOverlayScrollbarsEnabled(bool); 117 void setOverlayScrollbarsEnabled(bool);
118 void setExperimentalContentSecurityPolicyFeaturesEnabled(bool); 118 void setExperimentalContentSecurityPolicyFeaturesEnabled(bool);
119 void setImageColorProfilesEnabled(bool); 119 void setImageColorProfilesEnabled(bool);
120 void setImageAnimationPolicy(const String&, ExceptionState&); 120 void setImageAnimationPolicy(const String&, ExceptionState&);
121 void setScrollTopLeftInteropEnabled(bool); 121 void setScrollTopLeftInteropEnabled(bool);
122 void setLinkHeaderEnabled(bool);
123 122
124 DECLARE_VIRTUAL_TRACE(); 123 DECLARE_VIRTUAL_TRACE();
125 124
126 void setAvailablePointerTypes(const String&, ExceptionState&); 125 void setAvailablePointerTypes(const String&, ExceptionState&);
127 void setPrimaryPointerType(const String&, ExceptionState&); 126 void setPrimaryPointerType(const String&, ExceptionState&);
128 void setAvailableHoverTypes(const String&, ExceptionState&); 127 void setAvailableHoverTypes(const String&, ExceptionState&);
129 void setPrimaryHoverType(const String&, ExceptionState&); 128 void setPrimaryHoverType(const String&, ExceptionState&);
130 void setDnsPrefetchLogging(bool, ExceptionState&); 129 void setDnsPrefetchLogging(bool, ExceptionState&);
131 void setPreloadLogging(bool, ExceptionState&); 130 void setPreloadLogging(bool, ExceptionState&);
132 131
133 private: 132 private:
134 explicit InternalSettings(Page&); 133 explicit InternalSettings(Page&);
135 134
136 Settings* settings() const; 135 Settings* settings() const;
137 Page* page() const { return m_page; } 136 Page* page() const { return m_page; }
138 static const char* supplementName(); 137 static const char* supplementName();
139 138
140 WeakMember<Page> m_page; 139 WeakMember<Page> m_page;
141 Backup m_backup; 140 Backup m_backup;
142 }; 141 };
143 142
144 } // namespace blink 143 } // namespace blink
145 144
146 #endif // InternalSettings_h 145 #endif // InternalSettings_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/LinkLoader.cpp ('k') | third_party/WebKit/Source/core/testing/InternalSettings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698