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

Side by Side Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2326983002: Restore user state on ReloadwithoutSubResourceCacheRevalidation (Closed)
Patch Set: Created 4 years, 3 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) 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 void WebRuntimeFeatures::enableV8IdleTasks(bool enable) 303 void WebRuntimeFeatures::enableV8IdleTasks(bool enable)
304 { 304 {
305 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); 305 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable);
306 } 306 }
307 307
308 void WebRuntimeFeatures::enableReducedReferrerGranularity(bool enable) 308 void WebRuntimeFeatures::enableReducedReferrerGranularity(bool enable)
309 { 309 {
310 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); 310 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable);
311 } 311 }
312 312
313 void WebRuntimeFeatures::enableReloadwithoutSubResourceCacheRevalidation(bool en able)
314 {
315 RuntimeEnabledFeatures::setReloadwithoutSubResourceCacheRevalidationEnabled( enable);
316 }
317
313 void WebRuntimeFeatures::enablePushMessaging(bool enable) 318 void WebRuntimeFeatures::enablePushMessaging(bool enable)
314 { 319 {
315 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); 320 RuntimeEnabledFeatures::setPushMessagingEnabled(enable);
316 } 321 }
317 322
318 void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable) 323 void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable)
319 { 324 {
320 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); 325 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable);
321 } 326 }
322 327
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 { 384 {
380 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable); 385 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable);
381 } 386 }
382 387
383 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab le) 388 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab le)
384 { 389 {
385 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en able); 390 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en able);
386 } 391 }
387 392
388 } // namespace blink 393 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698