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

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

Issue 582363002: Remove Gamepad runtime flag (status=stable) for blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 void WebRuntimeFeatures::enableFastMobileScrolling(bool enable) 105 void WebRuntimeFeatures::enableFastMobileScrolling(bool enable)
106 { 106 {
107 RuntimeEnabledFeatures::setFastMobileScrollingEnabled(enable); 107 RuntimeEnabledFeatures::setFastMobileScrollingEnabled(enable);
108 } 108 }
109 109
110 void WebRuntimeFeatures::enableFileSystem(bool enable) 110 void WebRuntimeFeatures::enableFileSystem(bool enable)
111 { 111 {
112 RuntimeEnabledFeatures::setFileSystemEnabled(enable); 112 RuntimeEnabledFeatures::setFileSystemEnabled(enable);
113 } 113 }
114 114
115 void WebRuntimeFeatures::enableGamepad(bool enable)
116 {
117 RuntimeEnabledFeatures::setGamepadEnabled(enable);
118 }
119
120 void WebRuntimeFeatures::enableLocalStorage(bool enable) 115 void WebRuntimeFeatures::enableLocalStorage(bool enable)
121 { 116 {
122 RuntimeEnabledFeatures::setLocalStorageEnabled(enable); 117 RuntimeEnabledFeatures::setLocalStorageEnabled(enable);
123 } 118 }
124 119
125 void WebRuntimeFeatures::enableMediaPlayer(bool enable) 120 void WebRuntimeFeatures::enableMediaPlayer(bool enable)
126 { 121 {
127 RuntimeEnabledFeatures::setMediaEnabled(enable); 122 RuntimeEnabledFeatures::setMediaEnabled(enable);
128 } 123 }
129 124
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 { 266 {
272 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); 267 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable);
273 } 268 }
274 269
275 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) 270 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable)
276 { 271 {
277 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); 272 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable);
278 } 273 }
279 274
280 } // namespace blink 275 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698