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

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: More fixes - things build fine at this point. Created 3 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
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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 name: "defaultVideoPosterURL", 349 name: "defaultVideoPosterURL",
350 type: "String", 350 type: "String",
351 }, 351 },
352 352
353 { 353 {
354 name: "smartInsertDeleteEnabled", 354 name: "smartInsertDeleteEnabled",
355 initial: false, 355 initial: false,
356 }, 356 },
357 { 357 {
358 name: "selectTrailingWhitespaceEnabled", 358 name: "selectTrailingWhitespaceEnabled",
359 initial: "defaultSelectTrailingWhitespaceEnabled", 359 initial: "kDefaultSelectTrailingWhitespaceEnabled",
360 }, 360 },
361 361
362 { 362 {
363 name: "selectionIncludesAltImageText", 363 name: "selectionIncludesAltImageText",
364 initial: false, 364 initial: false,
365 }, 365 },
366 366
367 { 367 {
368 name: "selectionStrategy", 368 name: "selectionStrategy",
369 initial: "SelectionStrategy::Character", 369 initial: "SelectionStrategy::kCharacter",
370 type: "SelectionStrategy", 370 type: "SelectionStrategy",
371 }, 371 },
372 372
373 //////////////// Settings used by Android WebView below //////////////// 373 //////////////// Settings used by Android WebView below ////////////////
374 374
375 { 375 {
376 name: "useLegacyBackgroundSizeShorthandBehavior", 376 name: "useLegacyBackgroundSizeShorthandBehavior",
377 initial: false, 377 initial: false,
378 }, 378 },
379 379
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 497
498 // Only used by Layout Tests and inspector emulation. 498 // Only used by Layout Tests and inspector emulation.
499 { 499 {
500 name: "mediaTypeOverride", 500 name: "mediaTypeOverride",
501 initial: "\"\"", 501 initial: "\"\"",
502 invalidate: "MediaQuery", 502 invalidate: "MediaQuery",
503 type: "String", 503 type: "String",
504 }, 504 },
505 { 505 {
506 name: "displayModeOverride", 506 name: "displayModeOverride",
507 initial: "WebDisplayModeUndefined", 507 initial: "kWebDisplayModeUndefined",
508 invalidate: "MediaQuery", 508 invalidate: "MediaQuery",
509 type: "WebDisplayMode", 509 type: "WebDisplayMode",
510 }, 510 },
511 511
512 // loadsImagesAutomatically only suppresses the network load of 512 // loadsImagesAutomatically only suppresses the network load of
513 // the image URL. A cached image will still be rendered if requested. 513 // the image URL. A cached image will still be rendered if requested.
514 { 514 {
515 name: "loadsImagesAutomatically", 515 name: "loadsImagesAutomatically",
516 initial: false, 516 initial: false,
517 invalidate: "ImageLoading", 517 invalidate: "ImageLoading",
518 }, 518 },
519 { 519 {
520 name: "imagesEnabled", 520 name: "imagesEnabled",
521 initial: true, 521 initial: true,
522 invalidate: "ImageLoading", 522 invalidate: "ImageLoading",
523 }, 523 },
524 { 524 {
525 name: "imageAnimationPolicy", 525 name: "imageAnimationPolicy",
526 initial: "ImageAnimationPolicyAllowed", 526 initial: "kImageAnimationPolicyAllowed",
527 type: "ImageAnimationPolicy", 527 type: "ImageAnimationPolicy",
528 }, 528 },
529 529
530 // Number of outstanding and pending tokens allowed in the background HTML 530 // Number of outstanding and pending tokens allowed in the background HTML
531 // parser. A value of 0 indicates the parser should use its default value. 531 // parser. A value of 0 indicates the parser should use its default value.
532 { 532 {
533 name: "backgroundHtmlParserOutstandingTokenLimit", 533 name: "backgroundHtmlParserOutstandingTokenLimit",
534 initial: 0, 534 initial: 0,
535 type: "unsigned", 535 type: "unsigned",
536 }, 536 },
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 // (fullscreenerror or webkitfullscreenerror) as specified in the standard: 624 // (fullscreenerror or webkitfullscreenerror) as specified in the standard:
625 // http://fullscreen.spec.whatwg.org///dom-element-requestfullscreen 625 // http://fullscreen.spec.whatwg.org///dom-element-requestfullscreen
626 { 626 {
627 name: "fullscreenSupported", 627 name: "fullscreenSupported",
628 initial: true, 628 initial: true,
629 }, 629 },
630 630
631 // V8 supports different types of caching. Used by V8 bindings. 631 // V8 supports different types of caching. Used by V8 bindings.
632 { 632 {
633 name: "v8CacheOptions", 633 name: "v8CacheOptions",
634 initial: "V8CacheOptionsDefault", 634 initial: "kV8CacheOptionsDefault",
635 type: "V8CacheOptions", 635 type: "V8CacheOptions",
636 }, 636 },
637 637
638 // V8 code cache for CacheStorage supports three types of strategies (none, normal and aggressive). 638 // V8 code cache for CacheStorage supports three types of strategies (none, normal and aggressive).
639 { 639 {
640 name: "v8CacheStrategiesForCacheStorage", 640 name: "v8CacheStrategiesForCacheStorage",
641 initial: "V8CacheStrategiesForCacheStorage::Default", 641 initial: "V8CacheStrategiesForCacheStorage::kDefault",
642 type: "V8CacheStrategiesForCacheStorage", 642 type: "V8CacheStrategiesForCacheStorage",
643 }, 643 },
644 644
645 // These values are bit fields for the properties of available pointing devi ces 645 // These values are bit fields for the properties of available pointing devi ces
646 // and may take on multiple values (e.g. laptop with touchpad and touchscree n 646 // and may take on multiple values (e.g. laptop with touchpad and touchscree n
647 // has pointerType coarse *and* fine). 647 // has pointerType coarse *and* fine).
648 { 648 {
649 name: "availablePointerTypes", 649 name: "availablePointerTypes",
650 initial: "PointerTypeNone", 650 initial: "kPointerTypeNone",
651 invalidate: "MediaQuery", 651 invalidate: "MediaQuery",
652 type: "int", 652 type: "int",
653 }, 653 },
654 { 654 {
655 name: "availableHoverTypes", 655 name: "availableHoverTypes",
656 initial: "HoverTypeNone", 656 initial: "kHoverTypeNone",
657 invalidate: "MediaQuery", 657 invalidate: "MediaQuery",
658 type: "int", 658 type: "int",
659 }, 659 },
660 660
661 // These values specify properties of the user's primary pointing device onl y. 661 // These values specify properties of the user's primary pointing device onl y.
662 { 662 {
663 name: "primaryPointerType", 663 name: "primaryPointerType",
664 initial: "PointerTypeNone", 664 initial: "kPointerTypeNone",
665 invalidate: "MediaQuery", 665 invalidate: "MediaQuery",
666 type: "PointerType", 666 type: "PointerType",
667 }, 667 },
668 { 668 {
669 name: "primaryHoverType", 669 name: "primaryHoverType",
670 initial: "HoverTypeNone", 670 initial: "kHoverTypeNone",
671 invalidate: "MediaQuery", 671 invalidate: "MediaQuery",
672 type: "HoverType", 672 type: "HoverType",
673 }, 673 },
674 674
675 // Whether accessibility support is enabled at all. 675 // Whether accessibility support is enabled at all.
676 { 676 {
677 name: "accessibilityEnabled", 677 name: "accessibilityEnabled",
678 initial: false, 678 initial: false,
679 invalidate: "AccessibilityState", 679 invalidate: "AccessibilityState",
680 }, 680 },
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 { 737 {
738 name: "logPreload", 738 name: "logPreload",
739 initial: false, 739 initial: false,
740 }, 740 },
741 741
742 // These values specify the UA intial viewport style. 742 // These values specify the UA intial viewport style.
743 // It is dynamically set by the inspector for mobile emulation and can be 743 // It is dynamically set by the inspector for mobile emulation and can be
744 // used by content embedders to specify custom style on certain platforms. 744 // used by content embedders to specify custom style on certain platforms.
745 { 745 {
746 name: "viewportStyle", 746 name: "viewportStyle",
747 initial: "WebViewportStyle::Default", 747 initial: "WebViewportStyle::kDefault",
748 invalidate: "ViewportRule", 748 invalidate: "ViewportRule",
749 type: "WebViewportStyle", 749 type: "WebViewportStyle",
750 }, 750 },
751 751
752 // Automatic track selection is performed based on user preference for track kind specified 752 // Automatic track selection is performed based on user preference for track kind specified
753 // by this setting. 753 // by this setting.
754 { 754 {
755 name: "textTrackKindUserPreference", 755 name: "textTrackKindUserPreference",
756 initial: "TextTrackKindUserPreference::Default", 756 initial: "TextTrackKindUserPreference::kDefault",
757 invalidate: "TextTrackKindUserPreference", 757 invalidate: "TextTrackKindUserPreference",
758 type: "TextTrackKindUserPreference", 758 type: "TextTrackKindUserPreference",
759 }, 759 },
760 760
761 // User style overrides for captions and subtitles 761 // User style overrides for captions and subtitles
762 { 762 {
763 name: "textTrackBackgroundColor", 763 name: "textTrackBackgroundColor",
764 type: "String", 764 type: "String",
765 }, 765 },
766 { 766 {
(...skipping 29 matching lines...) Expand all
796 type: "double", 796 type: "double",
797 }, 797 },
798 798
799 { 799 {
800 name: "lowPriorityIframes", 800 name: "lowPriorityIframes",
801 initial: false, 801 initial: false,
802 }, 802 },
803 803
804 { 804 {
805 name: "progressBarCompletion", 805 name: "progressBarCompletion",
806 initial: "ProgressBarCompletion::LoadEvent", 806 initial: "ProgressBarCompletion::kLoadEvent",
807 type: "ProgressBarCompletion", 807 type: "ProgressBarCompletion",
808 }, 808 },
809 809
810 { 810 {
811 name: "historyEntryRequiresUserGesture", 811 name: "historyEntryRequiresUserGesture",
812 initial: false, 812 initial: false,
813 }, 813 },
814 814
815 // Do we want to try to save screen real estate in the media player by hidin g 815 // Do we want to try to save screen real estate in the media player by hidin g
816 // the volume slider / mute button? 816 // the volume slider / mute button?
(...skipping 30 matching lines...) Expand all
847 name: "mainFrameResizesAreOrientationChanges", 847 name: "mainFrameResizesAreOrientationChanges",
848 initial: false, 848 initial: false,
849 }, 849 },
850 850
851 // Ability to override the default 'passive' value in AddEventListenerOption s. This 851 // Ability to override the default 'passive' value in AddEventListenerOption s. This
852 // is useful to demonstrate the power of passive event listeners. This can b e removed 852 // is useful to demonstrate the power of passive event listeners. This can b e removed
853 // when there is greater adoption, interventions to force it on and associat ed devtools 853 // when there is greater adoption, interventions to force it on and associat ed devtools
854 // to enable it have been shipped. 854 // to enable it have been shipped.
855 { 855 {
856 name: "passiveListenerDefault", 856 name: "passiveListenerDefault",
857 initial: "PassiveListenerDefault::False", 857 initial: "PassiveListenerDefault::kFalse",
858 type: "PassiveListenerDefault", 858 type: "PassiveListenerDefault",
859 }, 859 },
860 860
861 // Use default interpolation quality to scale bitmap images if quality is no t determined 861 // Use default interpolation quality to scale bitmap images if quality is no t determined
862 // in other ways. This can help us writing reftests containing scaled images . 862 // in other ways. This can help us writing reftests containing scaled images .
863 { 863 {
864 name: "useDefaultImageInterpolationQuality", 864 name: "useDefaultImageInterpolationQuality",
865 initial: false, 865 initial: false,
866 }, 866 },
867 867
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 }, 927 },
928 928
929 // Whether we should not update selection attributes when mutating selection range. 929 // Whether we should not update selection attributes when mutating selection range.
930 // TODO(changwan): remove this flag when we no longer support Android M. 930 // TODO(changwan): remove this flag when we no longer support Android M.
931 { 931 {
932 name: "doNotUpdateSelectionOnMutatingSelectionRange", 932 name: "doNotUpdateSelectionOnMutatingSelectionRange",
933 initial: false, 933 initial: false,
934 }, 934 },
935 ], 935 ],
936 } 936 }
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