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

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

Issue 560653002: Remove GamePad runtime flag(status=stable) (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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 { 271 {
277 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); 272 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable);
278 } 273 }
279 274
280 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) 275 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable)
281 { 276 {
282 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); 277 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable);
283 } 278 }
284 279
285 } // namespace blink 280 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698