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

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

Issue 91313002: Add a runtime flag for navigator content utils (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
« no previous file with comments | « Source/web/WebRuntimeFeatures.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 BLINK_EXPORT static void enableMediaSource(bool); 101 BLINK_EXPORT static void enableMediaSource(bool);
102 BLINK_EXPORT static bool isMediaSourceEnabled(); 102 BLINK_EXPORT static bool isMediaSourceEnabled();
103 103
104 BLINK_EXPORT static void enableMediaStream(bool); 104 BLINK_EXPORT static void enableMediaStream(bool);
105 BLINK_EXPORT static bool isMediaStreamEnabled(); 105 BLINK_EXPORT static bool isMediaStreamEnabled();
106 106
107 BLINK_EXPORT static void enableNotifications(bool); 107 BLINK_EXPORT static void enableNotifications(bool);
108 BLINK_EXPORT static bool isNotificationsEnabled(); 108 BLINK_EXPORT static bool isNotificationsEnabled();
109 109
110 BLINK_EXPORT static void enableNavigatorContentUtils(bool);
111 BLINK_EXPORT static bool isNavigatorContentUtilsEnabled();
112
110 BLINK_EXPORT static void enablePagePopup(bool); 113 BLINK_EXPORT static void enablePagePopup(bool);
111 BLINK_EXPORT static bool isPagePopupEnabled(); 114 BLINK_EXPORT static bool isPagePopupEnabled();
112 115
113 BLINK_EXPORT static void enablePeerConnection(bool); 116 BLINK_EXPORT static void enablePeerConnection(bool);
114 BLINK_EXPORT static bool isPeerConnectionEnabled(); 117 BLINK_EXPORT static bool isPeerConnectionEnabled();
115 118
116 BLINK_EXPORT static void enableRequestAutocomplete(bool); 119 BLINK_EXPORT static void enableRequestAutocomplete(bool);
117 BLINK_EXPORT static bool isRequestAutocompleteEnabled(); 120 BLINK_EXPORT static bool isRequestAutocompleteEnabled();
118 121
119 BLINK_EXPORT static void enableScriptedSpeech(bool); 122 BLINK_EXPORT static void enableScriptedSpeech(bool);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 169
167 BLINK_EXPORT static void enableRepaintAfterLayout(bool); 170 BLINK_EXPORT static void enableRepaintAfterLayout(bool);
168 171
169 private: 172 private:
170 WebRuntimeFeatures(); 173 WebRuntimeFeatures();
171 }; 174 };
172 175
173 } // namespace blink 176 } // namespace blink
174 177
175 #endif 178 #endif
OLDNEW
« no previous file with comments | « Source/web/WebRuntimeFeatures.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698