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

Side by Side Diff: Source/WebKit/chromium/public/WebRuntimeFeatures.h

Issue 15178007: Add runtime flag for PagePopup. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Alphabetized Created 7 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
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebRuntimeFeatures.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 WEBKIT_EXPORT static void enableWebKitMediaSource(bool); 139 WEBKIT_EXPORT static void enableWebKitMediaSource(bool);
140 WEBKIT_EXPORT static bool isWebKitMediaSourceEnabled(); 140 WEBKIT_EXPORT static bool isWebKitMediaSourceEnabled();
141 141
142 WEBKIT_EXPORT static void enableMediaStream(bool); 142 WEBKIT_EXPORT static void enableMediaStream(bool);
143 WEBKIT_EXPORT static bool isMediaStreamEnabled(); 143 WEBKIT_EXPORT static bool isMediaStreamEnabled();
144 144
145 WEBKIT_EXPORT static void enableNotifications(bool); 145 WEBKIT_EXPORT static void enableNotifications(bool);
146 WEBKIT_EXPORT static bool isNotificationsEnabled(); 146 WEBKIT_EXPORT static bool isNotificationsEnabled();
147 147
148 WEBKIT_EXPORT static void enablePagePopup(bool);
149 WEBKIT_EXPORT static bool isPagePopupEnabled();
150
148 WEBKIT_EXPORT static void enablePeerConnection(bool); 151 WEBKIT_EXPORT static void enablePeerConnection(bool);
149 WEBKIT_EXPORT static bool isPeerConnectionEnabled(); 152 WEBKIT_EXPORT static bool isPeerConnectionEnabled();
150 153
151 WEBKIT_EXPORT static void enableQuota(bool); 154 WEBKIT_EXPORT static void enableQuota(bool);
152 WEBKIT_EXPORT static bool isQuotaEnabled(); 155 WEBKIT_EXPORT static bool isQuotaEnabled();
153 156
154 WEBKIT_EXPORT static void enableRequestAutocomplete(bool); 157 WEBKIT_EXPORT static void enableRequestAutocomplete(bool);
155 WEBKIT_EXPORT static bool isRequestAutocompleteEnabled(); 158 WEBKIT_EXPORT static bool isRequestAutocompleteEnabled();
156 159
157 WEBKIT_EXPORT static void enableScriptedSpeech(bool); 160 WEBKIT_EXPORT static void enableScriptedSpeech(bool);
(...skipping 29 matching lines...) Expand all
187 WEBKIT_EXPORT static void enableWebPInAcceptHeader(bool); 190 WEBKIT_EXPORT static void enableWebPInAcceptHeader(bool);
188 WEBKIT_EXPORT static bool isWebPInAcceptHeaderEnabled(); 191 WEBKIT_EXPORT static bool isWebPInAcceptHeaderEnabled();
189 192
190 private: 193 private:
191 WebRuntimeFeatures(); 194 WebRuntimeFeatures();
192 }; 195 };
193 196
194 } // namespace WebKit 197 } // namespace WebKit
195 198
196 #endif 199 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebRuntimeFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698