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

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

Issue 2500273003: Presentation API: add settings for presentation.receiver being exposed. (Closed)
Patch Set: update property-access-tests and rebase Created 4 years 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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 settings()->setLogPreload(enabled); 521 settings()->setLogPreload(enabled);
522 } 522 }
523 523
524 void InternalSettings::setCompositorWorkerEnabled( 524 void InternalSettings::setCompositorWorkerEnabled(
525 bool enabled, 525 bool enabled,
526 ExceptionState& exceptionState) { 526 ExceptionState& exceptionState) {
527 InternalSettingsGuardForSettings(); 527 InternalSettingsGuardForSettings();
528 RuntimeEnabledFeatures::setCompositorWorkerEnabled(enabled); 528 RuntimeEnabledFeatures::setCompositorWorkerEnabled(enabled);
529 } 529 }
530 530
531 void InternalSettings::setPresentationReceiver(bool enabled,
532 ExceptionState& exceptionState) {
533 InternalSettingsGuardForSettings();
534 settings()->setPresentationReceiver(enabled);
535 }
536
531 } // namespace blink 537 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/InternalSettings.h ('k') | third_party/WebKit/Source/core/testing/InternalSettings.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698