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

Side by Side Diff: Source/bindings/v8/RuntimeEnabledFeatures.h

Issue 14296003: Remove TOUCH_EVENTS and TOUCH_EVENT_TRACKING compile-time flags. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase. Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 static bool openDatabaseEnabled(); 129 static bool openDatabaseEnabled();
130 static bool openDatabaseSyncEnabled(); 130 static bool openDatabaseSyncEnabled();
131 131
132 #if ENABLE(WEB_AUDIO) 132 #if ENABLE(WEB_AUDIO)
133 static void setWebkitAudioContextEnabled(bool isEnabled) { isWebAudioEnabled = isEnabled; } 133 static void setWebkitAudioContextEnabled(bool isEnabled) { isWebAudioEnabled = isEnabled; }
134 static bool webkitAudioContextEnabled() { return isWebAudioEnabled; } 134 static bool webkitAudioContextEnabled() { return isWebAudioEnabled; }
135 static bool webkitOfflineAudioContextEnabled() { return isWebAudioEnabled; } 135 static bool webkitOfflineAudioContextEnabled() { return isWebAudioEnabled; }
136 #endif 136 #endif
137 137
138 #if ENABLE(TOUCH_EVENTS)
139 static bool touchEnabled() { return isTouchEnabled; } 138 static bool touchEnabled() { return isTouchEnabled; }
140 static void setTouchEnabled(bool isEnabled) { isTouchEnabled = isEnabled; } 139 static void setTouchEnabled(bool isEnabled) { isTouchEnabled = isEnabled; }
141 #endif
142 140
143 static void setDeviceMotionEnabled(bool isEnabled) { isDeviceMotionEnabled = isEnabled; } 141 static void setDeviceMotionEnabled(bool isEnabled) { isDeviceMotionEnabled = isEnabled; }
144 static bool deviceMotionEnabled() { return isDeviceMotionEnabled; } 142 static bool deviceMotionEnabled() { return isDeviceMotionEnabled; }
145 static bool deviceMotionEventEnabled() { return isDeviceMotionEnabled; } 143 static bool deviceMotionEventEnabled() { return isDeviceMotionEnabled; }
146 static bool ondevicemotionEnabled() { return isDeviceMotionEnabled; } 144 static bool ondevicemotionEnabled() { return isDeviceMotionEnabled; }
147 145
148 static void setDeviceOrientationEnabled(bool isEnabled) { isDeviceOrientatio nEnabled = isEnabled; } 146 static void setDeviceOrientationEnabled(bool isEnabled) { isDeviceOrientatio nEnabled = isEnabled; }
149 static bool deviceOrientationEnabled() { return isDeviceOrientationEnabled; } 147 static bool deviceOrientationEnabled() { return isDeviceOrientationEnabled; }
150 static bool deviceOrientationEventEnabled() { return isDeviceOrientationEnab led; } 148 static bool deviceOrientationEventEnabled() { return isDeviceOrientationEnab led; }
151 static bool ondeviceorientationEnabled() { return isDeviceOrientationEnabled ; } 149 static bool ondeviceorientationEnabled() { return isDeviceOrientationEnabled ; }
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 static bool isWebPInAcceptHeaderEnabled; 335 static bool isWebPInAcceptHeaderEnabled;
338 336
339 static bool isDirectoryUploadEnabled; 337 static bool isDirectoryUploadEnabled;
340 338
341 static bool isExperimentalWebSocketEnabled; 339 static bool isExperimentalWebSocketEnabled;
342 }; 340 };
343 341
344 } // namespace WebCore 342 } // namespace WebCore
345 343
346 #endif // RuntimeEnabledFeatures_h 344 #endif // RuntimeEnabledFeatures_h
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebRuntimeFeatures.cpp ('k') | Source/bindings/v8/custom/V8DocumentCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698