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

Side by Side Diff: Source/WTF/wtf/FeatureDefines.h

Issue 13888003: Remove compile-time / run-time flags for input[type=date]. (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
« no previous file with comments | « no previous file | Source/WebCore/bindings/v8/RuntimeEnabledFeatures.h » ('j') | 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) 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights reserved.
3 * Copyright (C) 2007-2009 Torch Mobile, Inc. 3 * Copyright (C) 2007-2009 Torch Mobile, Inc.
4 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. 4 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved.
5 * Copyright (C) 2013 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2013 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 #endif 233 #endif
234 234
235 #if !defined(ENABLE_INPUT_SPEECH) 235 #if !defined(ENABLE_INPUT_SPEECH)
236 #define ENABLE_INPUT_SPEECH 0 236 #define ENABLE_INPUT_SPEECH 0
237 #endif 237 #endif
238 238
239 #if !defined(ENABLE_INPUT_TYPE_COLOR) 239 #if !defined(ENABLE_INPUT_TYPE_COLOR)
240 #define ENABLE_INPUT_TYPE_COLOR 0 240 #define ENABLE_INPUT_TYPE_COLOR 0
241 #endif 241 #endif
242 242
243 #if !defined(ENABLE_INPUT_TYPE_DATE)
244 #define ENABLE_INPUT_TYPE_DATE 0
245 #endif
246
247 #if !defined(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) 243 #if !defined(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE)
248 #define ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE 0 244 #define ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE 0
249 #endif 245 #endif
250 246
251 #if !defined(ENABLE_INPUT_TYPE_DATETIMELOCAL) 247 #if !defined(ENABLE_INPUT_TYPE_DATETIMELOCAL)
252 #define ENABLE_INPUT_TYPE_DATETIMELOCAL 0 248 #define ENABLE_INPUT_TYPE_DATETIMELOCAL 0
253 #endif 249 #endif
254 250
255 #if !defined(ENABLE_INPUT_TYPE_MONTH) 251 #if !defined(ENABLE_INPUT_TYPE_MONTH)
256 #define ENABLE_INPUT_TYPE_MONTH 0 252 #define ENABLE_INPUT_TYPE_MONTH 0
257 #endif 253 #endif
258 254
259 #if !defined(ENABLE_INPUT_TYPE_TIME) 255 #if !defined(ENABLE_INPUT_TYPE_TIME)
260 #define ENABLE_INPUT_TYPE_TIME 0 256 #define ENABLE_INPUT_TYPE_TIME 0
261 #endif 257 #endif
262 258
263 #if !defined(ENABLE_INPUT_TYPE_WEEK) 259 #if !defined(ENABLE_INPUT_TYPE_WEEK)
264 #define ENABLE_INPUT_TYPE_WEEK 0 260 #define ENABLE_INPUT_TYPE_WEEK 0
265 #endif 261 #endif
266 262
267 #if ENABLE(INPUT_TYPE_DATE) || ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) || ENABLE( INPUT_TYPE_DATETIMELOCAL) || ENABLE(INPUT_TYPE_MONTH) || ENABLE(INPUT_TYPE_TIME) || ENABLE(INPUT_TYPE_WEEK) 263 // FIXME: Remove ENABLE_DATE_AND_TIME_INPUT_TYPES flag.
268 #if !defined(ENABLE_DATE_AND_TIME_INPUT_TYPES) 264 #if !defined(ENABLE_DATE_AND_TIME_INPUT_TYPES)
269 #define ENABLE_DATE_AND_TIME_INPUT_TYPES 1 265 #define ENABLE_DATE_AND_TIME_INPUT_TYPES 1
270 #endif 266 #endif
271 #endif
272 267
273 #if !defined(ENABLE_JAVASCRIPT_I18N_API) 268 #if !defined(ENABLE_JAVASCRIPT_I18N_API)
274 #define ENABLE_JAVASCRIPT_I18N_API 0 269 #define ENABLE_JAVASCRIPT_I18N_API 0
275 #endif 270 #endif
276 271
277 #if !defined(ENABLE_LEGACY_NOTIFICATIONS) 272 #if !defined(ENABLE_LEGACY_NOTIFICATIONS)
278 #define ENABLE_LEGACY_NOTIFICATIONS 0 273 #define ENABLE_LEGACY_NOTIFICATIONS 0
279 #endif 274 #endif
280 275
281 #if !defined(ENABLE_LEGACY_VENDOR_PREFIXES) 276 #if !defined(ENABLE_LEGACY_VENDOR_PREFIXES)
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 526
532 #if ENABLE(SVG_FONTS) && !ENABLE(SVG) 527 #if ENABLE(SVG_FONTS) && !ENABLE(SVG)
533 #error "ENABLE(SVG_FONTS) requires ENABLE(SVG)" 528 #error "ENABLE(SVG_FONTS) requires ENABLE(SVG)"
534 #endif 529 #endif
535 530
536 #if ENABLE(VIDEO_TRACK) && !ENABLE(VIDEO) 531 #if ENABLE(VIDEO_TRACK) && !ENABLE(VIDEO)
537 #error "ENABLE(VIDEO_TRACK) requires ENABLE(VIDEO)" 532 #error "ENABLE(VIDEO_TRACK) requires ENABLE(VIDEO)"
538 #endif 533 #endif
539 534
540 #endif /* WTF_FeatureDefines_h */ 535 #endif /* WTF_FeatureDefines_h */
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/bindings/v8/RuntimeEnabledFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698