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

Side by Side Diff: Source/core/page/RuntimeEnabledFeatures.h

Issue 13980003: Add animation support for WebP images (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 static bool directoryUploadEnabled() { return isDirectoryUploadEnabled; } 238 static bool directoryUploadEnabled() { return isDirectoryUploadEnabled; }
239 static void setDirectoryUploadEnabled(bool isEnabled) { isDirectoryUploadEna bled = isEnabled; } 239 static void setDirectoryUploadEnabled(bool isEnabled) { isDirectoryUploadEna bled = isEnabled; }
240 240
241 static void setExperimentalWebSocketEnabled(bool isEnabled) { isExperimental WebSocketEnabled = isEnabled; } 241 static void setExperimentalWebSocketEnabled(bool isEnabled) { isExperimental WebSocketEnabled = isEnabled; }
242 static bool experimentalWebSocketEnabled() { return isExperimentalWebSocketE nabled; } 242 static bool experimentalWebSocketEnabled() { return isExperimentalWebSocketE nabled; }
243 243
244 static bool imeAPIEnabled() { return isIMEAPIEnabled; } 244 static bool imeAPIEnabled() { return isIMEAPIEnabled; }
245 static void setIMEAPIEnabled(bool isEnabled) { isIMEAPIEnabled = isEnabled; } 245 static void setIMEAPIEnabled(bool isEnabled) { isIMEAPIEnabled = isEnabled; }
246 246
247 static void setAnimatedWebPEnabled(bool isEnabled) { isAnimatedWebPEnabled = isEnabled; }
248 static bool animatedWebPEnabled() { return isAnimatedWebPEnabled; }
249
247 private: 250 private:
248 // Never instantiate. 251 // Never instantiate.
249 RuntimeEnabledFeatures() { } 252 RuntimeEnabledFeatures() { }
250 253
251 static bool isLocalStorageEnabled; 254 static bool isLocalStorageEnabled;
252 static bool isSessionStorageEnabled; 255 static bool isSessionStorageEnabled;
253 static bool isWebkitNotificationsEnabled; 256 static bool isWebkitNotificationsEnabled;
254 static bool isApplicationCacheEnabled; 257 static bool isApplicationCacheEnabled;
255 static bool isGeolocationEnabled; 258 static bool isGeolocationEnabled;
256 static bool isIndexedDBEnabled; 259 static bool isIndexedDBEnabled;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 322
320 static bool isFontLoadEventsEnabled; 323 static bool isFontLoadEventsEnabled;
321 324
322 static bool isWebPInAcceptHeaderEnabled; 325 static bool isWebPInAcceptHeaderEnabled;
323 326
324 static bool isDirectoryUploadEnabled; 327 static bool isDirectoryUploadEnabled;
325 328
326 static bool isExperimentalWebSocketEnabled; 329 static bool isExperimentalWebSocketEnabled;
327 330
328 static bool isIMEAPIEnabled; 331 static bool isIMEAPIEnabled;
332
333 static bool isAnimatedWebPEnabled;
329 }; 334 };
330 335
331 } // namespace WebCore 336 } // namespace WebCore
332 337
333 #endif // RuntimeEnabledFeatures_h 338 #endif // RuntimeEnabledFeatures_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698