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

Side by Side Diff: third_party/WebKit/Source/core/frame/Settings.json5

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: Rebasing the fixes... Created 3 years, 10 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 // Defines properties which are available on the Settings object. 2 // Defines properties which are available on the Settings object.
3 // 3 //
4 // Please think carefully before adding a new Setting. Some questions to 4 // Please think carefully before adding a new Setting. Some questions to
5 // consider are: 5 // consider are:
6 // - Should this be a RuntimeEnabledFeature instead? Settings are for things 6 // - Should this be a RuntimeEnabledFeature instead? Settings are for things
7 // which we support either values of at runtime. Features are set at render er 7 // which we support either values of at runtime. Features are set at render er
8 // process startup and are never changed. Features also tend to be set to a 8 // process startup and are never changed. Features also tend to be set to a
9 // value based on the platform or the stability of the code in question, whe re 9 // value based on the platform or the stability of the code in question, whe re
10 // as settings both codepaths need to be stable. 10 // as settings both codepaths need to be stable.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 }, 99 },
100 { 100 {
101 name: "defaultFixedFontSize", 101 name: "defaultFixedFontSize",
102 initial: 0, 102 initial: 0,
103 invalidate: "Style", 103 invalidate: "Style",
104 type: "int", 104 type: "int",
105 }, 105 },
106 106
107 { 107 {
108 name: "editingBehaviorType", 108 name: "editingBehaviorType",
109 initial: "editingBehaviorTypeForPlatform()", 109 initial: "EditingBehaviorTypeForPlatform()",
110 type: "EditingBehaviorType", 110 type: "EditingBehaviorType",
111 }, 111 },
112 112
113 { 113 {
114 name: "localStorageEnabled", 114 name: "localStorageEnabled",
115 initial: false, 115 initial: false,
116 }, 116 },
117 { 117 {
118 name: "allowUniversalAccessFromFileURLs", 118 name: "allowUniversalAccessFromFileURLs",
119 initial: true, 119 initial: true,
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 name: "defaultVideoPosterURL", 344 name: "defaultVideoPosterURL",
345 type: "String", 345 type: "String",
346 }, 346 },
347 347
348 { 348 {
349 name: "smartInsertDeleteEnabled", 349 name: "smartInsertDeleteEnabled",
350 initial: false, 350 initial: false,
351 }, 351 },
352 { 352 {
353 name: "selectTrailingWhitespaceEnabled", 353 name: "selectTrailingWhitespaceEnabled",
354 initial: "defaultSelectTrailingWhitespaceEnabled", 354 initial: "kDefaultSelectTrailingWhitespaceEnabled",
355 }, 355 },
356 356
357 { 357 {
358 name: "selectionIncludesAltImageText", 358 name: "selectionIncludesAltImageText",
359 initial: false, 359 initial: false,
360 }, 360 },
361 361
362 { 362 {
363 name: "selectionStrategy", 363 name: "selectionStrategy",
364 initial: "SelectionStrategy::Character", 364 initial: "SelectionStrategy::kCharacter",
365 type: "SelectionStrategy", 365 type: "SelectionStrategy",
366 }, 366 },
367 367
368 //////////////// Settings used by Android WebView below //////////////// 368 //////////////// Settings used by Android WebView below ////////////////
369 369
370 { 370 {
371 name: "useLegacyBackgroundSizeShorthandBehavior", 371 name: "useLegacyBackgroundSizeShorthandBehavior",
372 initial: false, 372 initial: false,
373 }, 373 },
374 374
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 492
493 // Only used by Layout Tests and inspector emulation. 493 // Only used by Layout Tests and inspector emulation.
494 { 494 {
495 name: "mediaTypeOverride", 495 name: "mediaTypeOverride",
496 initial: "\"\"", 496 initial: "\"\"",
497 invalidate: "MediaQuery", 497 invalidate: "MediaQuery",
498 type: "String", 498 type: "String",
499 }, 499 },
500 { 500 {
501 name: "displayModeOverride", 501 name: "displayModeOverride",
502 initial: "WebDisplayModeUndefined", 502 initial: "kWebDisplayModeUndefined",
503 invalidate: "MediaQuery", 503 invalidate: "MediaQuery",
504 type: "WebDisplayMode", 504 type: "WebDisplayMode",
505 }, 505 },
506 506
507 // loadsImagesAutomatically only suppresses the network load of 507 // loadsImagesAutomatically only suppresses the network load of
508 // the image URL. A cached image will still be rendered if requested. 508 // the image URL. A cached image will still be rendered if requested.
509 { 509 {
510 name: "loadsImagesAutomatically", 510 name: "loadsImagesAutomatically",
511 initial: false, 511 initial: false,
512 invalidate: "ImageLoading", 512 invalidate: "ImageLoading",
513 }, 513 },
514 { 514 {
515 name: "imagesEnabled", 515 name: "imagesEnabled",
516 initial: true, 516 initial: true,
517 invalidate: "ImageLoading", 517 invalidate: "ImageLoading",
518 }, 518 },
519 { 519 {
520 name: "imageAnimationPolicy", 520 name: "imageAnimationPolicy",
521 initial: "ImageAnimationPolicyAllowed", 521 initial: "kImageAnimationPolicyAllowed",
522 type: "ImageAnimationPolicy", 522 type: "ImageAnimationPolicy",
523 }, 523 },
524 524
525 // Number of outstanding and pending tokens allowed in the background HTML 525 // Number of outstanding and pending tokens allowed in the background HTML
526 // parser. A value of 0 indicates the parser should use its default value. 526 // parser. A value of 0 indicates the parser should use its default value.
527 { 527 {
528 name: "backgroundHtmlParserOutstandingTokenLimit", 528 name: "backgroundHtmlParserOutstandingTokenLimit",
529 initial: 0, 529 initial: 0,
530 type: "unsigned", 530 type: "unsigned",
531 }, 531 },
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 // (fullscreenerror or webkitfullscreenerror) as specified in the standard: 618 // (fullscreenerror or webkitfullscreenerror) as specified in the standard:
619 // http://fullscreen.spec.whatwg.org///dom-element-requestfullscreen 619 // http://fullscreen.spec.whatwg.org///dom-element-requestfullscreen
620 { 620 {
621 name: "fullscreenSupported", 621 name: "fullscreenSupported",
622 initial: true, 622 initial: true,
623 }, 623 },
624 624
625 // V8 supports different types of caching. Used by V8 bindings. 625 // V8 supports different types of caching. Used by V8 bindings.
626 { 626 {
627 name: "v8CacheOptions", 627 name: "v8CacheOptions",
628 initial: "V8CacheOptionsDefault", 628 initial: "kV8CacheOptionsDefault",
629 type: "V8CacheOptions", 629 type: "V8CacheOptions",
630 }, 630 },
631 631
632 // V8 code cache for CacheStorage supports three types of strategies (none, normal and aggressive). 632 // V8 code cache for CacheStorage supports three types of strategies (none, normal and aggressive).
633 { 633 {
634 name: "v8CacheStrategiesForCacheStorage", 634 name: "v8CacheStrategiesForCacheStorage",
635 initial: "V8CacheStrategiesForCacheStorage::Default", 635 initial: "V8CacheStrategiesForCacheStorage::kDefault",
636 type: "V8CacheStrategiesForCacheStorage", 636 type: "V8CacheStrategiesForCacheStorage",
637 }, 637 },
638 638
639 // These values are bit fields for the properties of available pointing devi ces 639 // These values are bit fields for the properties of available pointing devi ces
640 // and may take on multiple values (e.g. laptop with touchpad and touchscree n 640 // and may take on multiple values (e.g. laptop with touchpad and touchscree n
641 // has pointerType coarse *and* fine). 641 // has pointerType coarse *and* fine).
642 { 642 {
643 name: "availablePointerTypes", 643 name: "availablePointerTypes",
644 initial: "PointerTypeNone", 644 initial: "kPointerTypeNone",
645 invalidate: "MediaQuery", 645 invalidate: "MediaQuery",
646 type: "int", 646 type: "int",
647 }, 647 },
648 { 648 {
649 name: "availableHoverTypes", 649 name: "availableHoverTypes",
650 initial: "HoverTypeNone", 650 initial: "kHoverTypeNone",
651 invalidate: "MediaQuery", 651 invalidate: "MediaQuery",
652 type: "int", 652 type: "int",
653 }, 653 },
654 654
655 // These values specify properties of the user's primary pointing device onl y. 655 // These values specify properties of the user's primary pointing device onl y.
656 { 656 {
657 name: "primaryPointerType", 657 name: "primaryPointerType",
658 initial: "PointerTypeNone", 658 initial: "kPointerTypeNone",
659 invalidate: "MediaQuery", 659 invalidate: "MediaQuery",
660 type: "PointerType", 660 type: "PointerType",
661 }, 661 },
662 { 662 {
663 name: "primaryHoverType", 663 name: "primaryHoverType",
664 initial: "HoverTypeNone", 664 initial: "kHoverTypeNone",
665 invalidate: "MediaQuery", 665 invalidate: "MediaQuery",
666 type: "HoverType", 666 type: "HoverType",
667 }, 667 },
668 668
669 // Whether accessibility support is enabled at all. 669 // Whether accessibility support is enabled at all.
670 { 670 {
671 name: "accessibilityEnabled", 671 name: "accessibilityEnabled",
672 initial: false, 672 initial: false,
673 invalidate: "AccessibilityState", 673 invalidate: "AccessibilityState",
674 }, 674 },
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 { 731 {
732 name: "logPreload", 732 name: "logPreload",
733 initial: false, 733 initial: false,
734 }, 734 },
735 735
736 // These values specify the UA intial viewport style. 736 // These values specify the UA intial viewport style.
737 // It is dynamically set by the inspector for mobile emulation and can be 737 // It is dynamically set by the inspector for mobile emulation and can be
738 // used by content embedders to specify custom style on certain platforms. 738 // used by content embedders to specify custom style on certain platforms.
739 { 739 {
740 name: "viewportStyle", 740 name: "viewportStyle",
741 initial: "WebViewportStyle::Default", 741 initial: "WebViewportStyle::kDefault",
742 invalidate: "ViewportRule", 742 invalidate: "ViewportRule",
743 type: "WebViewportStyle", 743 type: "WebViewportStyle",
744 }, 744 },
745 745
746 // Automatic track selection is performed based on user preference for track kind specified 746 // Automatic track selection is performed based on user preference for track kind specified
747 // by this setting. 747 // by this setting.
748 { 748 {
749 name: "textTrackKindUserPreference", 749 name: "textTrackKindUserPreference",
750 initial: "TextTrackKindUserPreference::Default", 750 initial: "TextTrackKindUserPreference::kDefault",
751 invalidate: "TextTrackKindUserPreference", 751 invalidate: "TextTrackKindUserPreference",
752 type: "TextTrackKindUserPreference", 752 type: "TextTrackKindUserPreference",
753 }, 753 },
754 754
755 // User style overrides for captions and subtitles 755 // User style overrides for captions and subtitles
756 { 756 {
757 name: "textTrackBackgroundColor", 757 name: "textTrackBackgroundColor",
758 type: "String", 758 type: "String",
759 }, 759 },
760 { 760 {
(...skipping 29 matching lines...) Expand all
790 type: "double", 790 type: "double",
791 }, 791 },
792 792
793 { 793 {
794 name: "lowPriorityIframes", 794 name: "lowPriorityIframes",
795 initial: false, 795 initial: false,
796 }, 796 },
797 797
798 { 798 {
799 name: "progressBarCompletion", 799 name: "progressBarCompletion",
800 initial: "ProgressBarCompletion::LoadEvent", 800 initial: "ProgressBarCompletion::kLoadEvent",
801 type: "ProgressBarCompletion", 801 type: "ProgressBarCompletion",
802 }, 802 },
803 803
804 { 804 {
805 name: "historyEntryRequiresUserGesture", 805 name: "historyEntryRequiresUserGesture",
806 initial: false, 806 initial: false,
807 }, 807 },
808 808
809 // Do we want to try to save screen real estate in the media player by hidin g 809 // Do we want to try to save screen real estate in the media player by hidin g
810 // the volume slider / mute button? 810 // the volume slider / mute button?
(...skipping 30 matching lines...) Expand all
841 name: "mainFrameResizesAreOrientationChanges", 841 name: "mainFrameResizesAreOrientationChanges",
842 initial: false, 842 initial: false,
843 }, 843 },
844 844
845 // Ability to override the default 'passive' value in AddEventListenerOption s. This 845 // Ability to override the default 'passive' value in AddEventListenerOption s. This
846 // is useful to demonstrate the power of passive event listeners. This can b e removed 846 // is useful to demonstrate the power of passive event listeners. This can b e removed
847 // when there is greater adoption, interventions to force it on and associat ed devtools 847 // when there is greater adoption, interventions to force it on and associat ed devtools
848 // to enable it have been shipped. 848 // to enable it have been shipped.
849 { 849 {
850 name: "passiveListenerDefault", 850 name: "passiveListenerDefault",
851 initial: "PassiveListenerDefault::False", 851 initial: "PassiveListenerDefault::kFalse",
852 type: "PassiveListenerDefault", 852 type: "PassiveListenerDefault",
853 }, 853 },
854 854
855 // Use default interpolation quality to scale bitmap images if quality is no t determined 855 // Use default interpolation quality to scale bitmap images if quality is no t determined
856 // in other ways. This can help us writing reftests containing scaled images . 856 // in other ways. This can help us writing reftests containing scaled images .
857 { 857 {
858 name: "useDefaultImageInterpolationQuality", 858 name: "useDefaultImageInterpolationQuality",
859 initial: false, 859 initial: false,
860 }, 860 },
861 861
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 }, 907 },
908 908
909 // Whether the frame is a presentation receiver and should expose 909 // Whether the frame is a presentation receiver and should expose
910 // `navigator.presentation.receiver`. 910 // `navigator.presentation.receiver`.
911 { 911 {
912 name: "presentationReceiver", 912 name: "presentationReceiver",
913 initial: false, 913 initial: false,
914 }, 914 },
915 ], 915 ],
916 } 916 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTarget.h ('k') | third_party/WebKit/Source/core/html/HTMLCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698