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

Unified 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, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/testing/InternalSettings.cpp
diff --git a/third_party/WebKit/Source/core/testing/InternalSettings.cpp b/third_party/WebKit/Source/core/testing/InternalSettings.cpp
index 76b1acc2d547135466d85c572cd573efdc0e8957..bcd8a8f7cfdcf57c88bbd93443494d0f9c18474e 100644
--- a/third_party/WebKit/Source/core/testing/InternalSettings.cpp
+++ b/third_party/WebKit/Source/core/testing/InternalSettings.cpp
@@ -528,4 +528,10 @@ void InternalSettings::setCompositorWorkerEnabled(
RuntimeEnabledFeatures::setCompositorWorkerEnabled(enabled);
}
+void InternalSettings::setPresentationReceiver(bool enabled,
+ ExceptionState& exceptionState) {
+ InternalSettingsGuardForSettings();
+ settings()->setPresentationReceiver(enabled);
+}
+
} // namespace blink
« 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