OLD | NEW |
1 # Copyright (C) 2012 Google Inc. All rights reserved. | 1 # Copyright (C) 2012 Google Inc. All rights reserved. |
2 # | 2 # |
3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
5 # met: | 5 # met: |
6 # | 6 # |
7 # 1. Redistributions of source code must retain the above copyright | 7 # 1. Redistributions of source code must retain the above copyright |
8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
9 # 2. Redistributions in binary form must reproduce the above copyright | 9 # 2. Redistributions in binary form must reproduce the above copyright |
10 # notice, this list of conditions and the following disclaimer in the | 10 # notice, this list of conditions and the following disclaimer in the |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 | 358 |
359 { option => "navigator-content-utils", desc => "Toggle Navigator Content Uti
ls support", | 359 { option => "navigator-content-utils", desc => "Toggle Navigator Content Uti
ls support", |
360 define => "ENABLE_NAVIGATOR_CONTENT_UTILS", default => (isBlackBerry() ||
isEfl()), value => \$registerProtocolHandlerSupport }, | 360 define => "ENABLE_NAVIGATOR_CONTENT_UTILS", default => (isBlackBerry() ||
isEfl()), value => \$registerProtocolHandlerSupport }, |
361 | 361 |
362 { option => "netscape-plugin-api", desc => "Toggle Netscape Plugin API suppo
rt", | 362 { option => "netscape-plugin-api", desc => "Toggle Netscape Plugin API suppo
rt", |
363 define => "ENABLE_NETSCAPE_PLUGIN_API", default => 1, value => \$netscapeP
luginAPISupport }, | 363 define => "ENABLE_NETSCAPE_PLUGIN_API", default => 1, value => \$netscapeP
luginAPISupport }, |
364 | 364 |
365 { option => "network-info", desc => "Toggle Network Info support", | 365 { option => "network-info", desc => "Toggle Network Info support", |
366 define => "ENABLE_NETWORK_INFO", default => (isEfl() || isBlackBerry()), v
alue => \$networkInfoSupport }, | 366 define => "ENABLE_NETWORK_INFO", default => (isEfl() || isBlackBerry()), v
alue => \$networkInfoSupport }, |
367 | 367 |
368 { option => "nosniff", desc => "Toggle support for 'X-Content-Type-Options:
nosniff'", | |
369 define => "ENABLE_NOSNIFF", default => 0, value => \$nosniffSupport }, | |
370 | |
371 { option => "notifications", desc => "Toggle Notifications support", | 368 { option => "notifications", desc => "Toggle Notifications support", |
372 define => "ENABLE_NOTIFICATIONS", default => isBlackBerry(), value => \$no
tificationsSupport }, | 369 define => "ENABLE_NOTIFICATIONS", default => isBlackBerry(), value => \$no
tificationsSupport }, |
373 | 370 |
374 { option => "orientation-events", desc => "Toggle Orientation Events support
", | 371 { option => "orientation-events", desc => "Toggle Orientation Events support
", |
375 define => "ENABLE_ORIENTATION_EVENTS", default => isBlackBerry(), value =>
\$orientationEventsSupport }, | 372 define => "ENABLE_ORIENTATION_EVENTS", default => isBlackBerry(), value =>
\$orientationEventsSupport }, |
376 | 373 |
377 { option => "page-visibility-api", desc => "Toggle Page Visibility API suppo
rt", | 374 { option => "page-visibility-api", desc => "Toggle Page Visibility API suppo
rt", |
378 define => "ENABLE_PAGE_VISIBILITY_API", default => (isBlackBerry() || isEf
l()), value => \$pageVisibilityAPISupport }, | 375 define => "ENABLE_PAGE_VISIBILITY_API", default => (isBlackBerry() || isEf
l()), value => \$pageVisibilityAPISupport }, |
379 | 376 |
380 { option => "performance-timeline", desc => "Toggle Performance Timeline sup
port", | 377 { option => "performance-timeline", desc => "Toggle Performance Timeline sup
port", |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 { option => "xslt", desc => "Toggle XSLT support", | 479 { option => "xslt", desc => "Toggle XSLT support", |
483 define => "ENABLE_XSLT", default => 1, value => \$xsltSupport }, | 480 define => "ENABLE_XSLT", default => 1, value => \$xsltSupport }, |
484 ); | 481 ); |
485 | 482 |
486 sub getFeatureOptionList() | 483 sub getFeatureOptionList() |
487 { | 484 { |
488 return @features; | 485 return @features; |
489 } | 486 } |
490 | 487 |
491 1; | 488 1; |
OLD | NEW |