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

Side by Side Diff: third_party/WebKit/public/web/WebRuntimeFeatures.h

Issue 2125683002: Add option to force document level passive event listeners as a runtime feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 BLINK_EXPORT static void enableMediaDocumentDownloadButton(bool); 84 BLINK_EXPORT static void enableMediaDocumentDownloadButton(bool);
85 BLINK_EXPORT static void enableNavigatorContentUtils(bool); 85 BLINK_EXPORT static void enableNavigatorContentUtils(bool);
86 BLINK_EXPORT static void enableNetworkInformation(bool); 86 BLINK_EXPORT static void enableNetworkInformation(bool);
87 BLINK_EXPORT static void enableNewMediaPlaybackUi(bool); 87 BLINK_EXPORT static void enableNewMediaPlaybackUi(bool);
88 BLINK_EXPORT static void enableNotificationConstructor(bool); 88 BLINK_EXPORT static void enableNotificationConstructor(bool);
89 BLINK_EXPORT static void enableNotifications(bool); 89 BLINK_EXPORT static void enableNotifications(bool);
90 BLINK_EXPORT static void enableOrientationEvent(bool); 90 BLINK_EXPORT static void enableOrientationEvent(bool);
91 BLINK_EXPORT static void enableOverlayScrollbars(bool); 91 BLINK_EXPORT static void enableOverlayScrollbars(bool);
92 BLINK_EXPORT static void enablePagePopup(bool); 92 BLINK_EXPORT static void enablePagePopup(bool);
93 BLINK_EXPORT static void enableParseHTMLOnMainThread(bool); 93 BLINK_EXPORT static void enableParseHTMLOnMainThread(bool);
94 BLINK_EXPORT static void enablePassiveDocumentEventListeners(bool);
94 BLINK_EXPORT static void enablePermissionsAPI(bool); 95 BLINK_EXPORT static void enablePermissionsAPI(bool);
95 BLINK_EXPORT static void enablePointerEvent(bool); 96 BLINK_EXPORT static void enablePointerEvent(bool);
96 BLINK_EXPORT static void enablePreciseMemoryInfo(bool); 97 BLINK_EXPORT static void enablePreciseMemoryInfo(bool);
97 BLINK_EXPORT static void enablePresentationAPI(bool); 98 BLINK_EXPORT static void enablePresentationAPI(bool);
98 BLINK_EXPORT static void enablePushMessaging(bool); 99 BLINK_EXPORT static void enablePushMessaging(bool);
99 BLINK_EXPORT static void enableReducedReferrerGranularity(bool); 100 BLINK_EXPORT static void enableReducedReferrerGranularity(bool);
100 BLINK_EXPORT static void enableRenderingPipelineThrottling(bool); 101 BLINK_EXPORT static void enableRenderingPipelineThrottling(bool);
101 BLINK_EXPORT static void enableScriptedSpeech(bool); 102 BLINK_EXPORT static void enableScriptedSpeech(bool);
102 BLINK_EXPORT static void enableScrollAnchoring(bool); 103 BLINK_EXPORT static void enableScrollAnchoring(bool);
103 BLINK_EXPORT static void enableSharedWorker(bool); 104 BLINK_EXPORT static void enableSharedWorker(bool);
(...skipping 14 matching lines...) Expand all
118 BLINK_EXPORT static void forceOverlayFullscreenVideo(bool); 119 BLINK_EXPORT static void forceOverlayFullscreenVideo(bool);
119 BLINK_EXPORT static void enableAutoplayMutedVideos(bool); 120 BLINK_EXPORT static void enableAutoplayMutedVideos(bool);
120 121
121 private: 122 private:
122 WebRuntimeFeatures(); 123 WebRuntimeFeatures();
123 }; 124 };
124 125
125 } // namespace blink 126 } // namespace blink
126 127
127 #endif 128 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebRuntimeFeatures.cpp ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698