Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "experimental.accessibility", | 3 "namespace": "experimental.accessibility", |
| 4 "nodoc": true, | 4 "nodoc": true, |
| 5 "types": [ | 5 "types": [ |
| 6 { | 6 { |
| 7 "id": "AccessibilityObject", | 7 "id": "AccessibilityObject", |
| 8 "type": "object", | 8 "type": "object", |
| 9 "description": "Parent class for accessibility information about an obje ct.", | 9 "description": "Parent class for accessibility information about an obje ct.", |
| 10 "properties": { | 10 "properties": { |
| (...skipping 8656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8667 ] | 8667 ] |
| 8668 } | 8668 } |
| 8669 ] | 8669 ] |
| 8670 }, | 8670 }, |
| 8671 { | 8671 { |
| 8672 "namespace": "experimental.clear", | 8672 "namespace": "experimental.clear", |
| 8673 "types": [ | 8673 "types": [ |
| 8674 { | 8674 { |
| 8675 "id": "TimePeriod", | 8675 "id": "TimePeriod", |
| 8676 "type": "string", | 8676 "type": "string", |
| 8677 "enum": ["last_hour", "last_day", "last_week", "last_month", "everything "], | 8677 "enum": ["last_hour", "last_day", "last_week", "last_month", "everything "], |
|
jochen (gone - plz use gerrit)
2011/12/13 13:26:18
why restrict this to the fixed periods instead of
Mike West
2011/12/13 15:28:47
No good reason. I think it's worthwhile to expand
| |
| 8678 "description": "The timeframe inside of which to delete browsing data. P assing 'last_day', for example, will delete all browsing data that was touched b etween 24 hours ago and right now, inclusive." | 8678 "description": "The timeframe inside of which to delete browsing data. P assing 'last_day', for example, will delete all browsing data that was touched b etween 24 hours ago and right now, inclusive." |
| 8679 } | 8679 } |
| 8680 ], | 8680 ], |
| 8681 "functions": [ | 8681 "functions": [ |
| 8682 { | 8682 { |
| 8683 "name": "browsingData", | 8683 "name": "browsingData", |
| 8684 "description": "Clears data generated by browsing within a particular ti meframe.", | 8684 "description": "Clears data generated by browsing within a particular ti meframe.", |
| 8685 "type": "function", | 8685 "type": "function", |
| 8686 "parameters": [ | 8686 "parameters": [ |
| 8687 { | 8687 { |
| 8688 "$ref": "TimePeriod", | 8688 "$ref": "TimePeriod", |
| 8689 "name": "period" | 8689 "name": "period" |
| 8690 }, | 8690 }, |
| 8691 { | 8691 { |
| 8692 "name": "dataToRemove", | 8692 "name": "dataToRemove", |
| 8693 "type": "object", | 8693 "type": "object", |
| 8694 "description": "An object whose properties specify which browsing da ta types ought to be cleared. You may set as many or as few as you like in a sin gle call, each is optional (defaulting to <code>false</code>).", | 8694 "description": "An object whose properties specify which browsing da ta types ought to be cleared. You may set as many or as few as you like in a sin gle call, each is optional (defaulting to <code>false</code>).", |
| 8695 "properties": { | 8695 "properties": { |
| 8696 "appcache": { | |
| 8697 "type": "boolean", | |
| 8698 "optional": true, | |
| 8699 "description": "Should websites' appcaches be cleared?" | |
| 8700 }, | |
| 8696 "cache": { | 8701 "cache": { |
| 8697 "type": "boolean", | 8702 "type": "boolean", |
| 8698 "optional": true, | 8703 "optional": true, |
| 8699 "description": "Should the browser cache be cleared?" | 8704 "description": "Should the browser cache be cleared?" |
| 8700 }, | 8705 }, |
| 8701 "cookies": { | 8706 "cookies": { |
| 8702 "type": "boolean", | 8707 "type": "boolean", |
| 8703 "optional": true, | 8708 "optional": true, |
| 8704 "description": "Should the browser's cookies be cleared?" | 8709 "description": "Should the browser's cookies be cleared?" |
| 8705 }, | 8710 }, |
| 8706 "downloads": { | 8711 "downloads": { |
| 8707 "type": "boolean", | 8712 "type": "boolean", |
| 8708 "optional": true, | 8713 "optional": true, |
| 8709 "description": "Should the browser's download list be cleared?" | 8714 "description": "Should the browser's download list be cleared?" |
| 8710 }, | 8715 }, |
| 8716 "fileSystems": { | |
| 8717 "type": "boolean", | |
| 8718 "optional": true, | |
| 8719 "description": "Should websites' file systems be cleared?" | |
| 8720 }, | |
| 8711 "formData": { | 8721 "formData": { |
| 8712 "type": "boolean", | 8722 "type": "boolean", |
| 8713 "optional": true, | 8723 "optional": true, |
| 8714 "description": "Should stored form data be cleared?" | 8724 "description": "Should stored form data be cleared?" |
| 8715 }, | 8725 }, |
| 8716 "history": { | 8726 "history": { |
| 8717 "type": "boolean", | 8727 "type": "boolean", |
| 8718 "optional": true, | 8728 "optional": true, |
| 8719 "description": "Should the browser's history be cleared?" | 8729 "description": "Should the browser's history be cleared?" |
| 8720 }, | 8730 }, |
| 8731 "indexedDB": { | |
| 8732 "type": "boolean", | |
| 8733 "optional": true, | |
| 8734 "description": "Should websites' IndexedDB data be cleared?" | |
| 8735 }, | |
| 8736 "localStorage": { | |
| 8737 "type": "boolean", | |
| 8738 "optional": true, | |
| 8739 "description": "Should websites' local storage data be cleared?" | |
| 8740 }, | |
| 8741 "lsoData": { | |
|
jochen (gone - plz use gerrit)
2011/12/13 13:26:18
lsoData sounds strange, what about localSharedObje
Mike West
2011/12/13 15:28:47
pluginData makes sense, and better matches what we
| |
| 8742 "type": "boolean", | |
| 8743 "optional": true, | |
| 8744 "description": "Should plugins' Local Shared Object data be clea red?" | |
| 8745 }, | |
| 8721 "passwords": { | 8746 "passwords": { |
| 8722 "type": "boolean", | 8747 "type": "boolean", |
| 8723 "optional": true, | 8748 "optional": true, |
| 8724 "description": "Should the stored passwords be cleared?" | 8749 "description": "Should the stored passwords be cleared?" |
| 8750 }, | |
| 8751 "webSQL": { | |
|
jochen (gone - plz use gerrit)
2011/12/13 13:26:18
I think the official name is web databases?
Mike West
2011/12/13 15:28:47
The official name, unfortunately, seems to be "Web
jochen (gone - plz use gerrit)
2011/12/14 19:30:58
In Chrome, we call it Web Databases (e.g. http://c
| |
| 8752 "type": "boolean", | |
| 8753 "optional": true, | |
| 8754 "description": "Should websites' WebSQL data be cleared?" | |
| 8725 } | 8755 } |
| 8726 } | 8756 } |
| 8727 }, | 8757 }, |
| 8728 { | 8758 { |
| 8729 "name": "callback", | 8759 "name": "callback", |
| 8730 "type": "function", | 8760 "type": "function", |
| 8731 "description": "Called when deletion has completed.", | 8761 "description": "Called when deletion has completed.", |
| 8732 "optional": true, | 8762 "optional": true, |
| 8733 "parameters": [] | 8763 "parameters": [] |
| 8734 } | 8764 } |
| 8735 ] | 8765 ] |
| 8736 }, | 8766 }, |
| 8737 { | 8767 { |
| 8768 "name": "appcache", | |
| 8769 "description": "Clears websites' appcache data.", | |
| 8770 "type": "function", | |
| 8771 "parameters": [ | |
| 8772 { | |
| 8773 "$ref": "TimePeriod", | |
| 8774 "name": "period" | |
| 8775 }, | |
| 8776 { | |
| 8777 "name": "callback", | |
| 8778 "type": "function", | |
| 8779 "description": "Called when websites' appcache data has been cleared .", | |
| 8780 "optional": true, | |
| 8781 "parameters": [] | |
| 8782 } | |
| 8783 ] | |
| 8784 }, | |
| 8785 { | |
| 8738 "name": "cache", | 8786 "name": "cache", |
| 8739 "description": "Clears the browser's cache.", | 8787 "description": "Clears the browser's cache.", |
| 8740 "type": "function", | 8788 "type": "function", |
| 8741 "parameters": [ | 8789 "parameters": [ |
| 8742 { | 8790 { |
| 8743 "$ref": "TimePeriod", | 8791 "$ref": "TimePeriod", |
| 8744 "name": "period" | 8792 "name": "period" |
| 8745 }, | 8793 }, |
| 8746 { | 8794 { |
| 8747 "name": "callback", | 8795 "name": "callback", |
| 8748 "type": "function", | 8796 "type": "function", |
| 8749 "description": "Called when the browser's cache has cleared.", | 8797 "description": "Called when the browser's cache has been cleared.", |
| 8750 "optional": true, | 8798 "optional": true, |
| 8751 "parameters": [] | 8799 "parameters": [] |
| 8752 } | 8800 } |
| 8753 ] | 8801 ] |
| 8754 }, | 8802 }, |
| 8755 { | 8803 { |
| 8756 "name": "cookies", | 8804 "name": "cookies", |
| 8757 "description": "Clears the browser's cookies and site data.", | 8805 "description": "Clears the browser's cookies.", |
| 8758 "type": "function", | 8806 "type": "function", |
| 8759 "parameters": [ | 8807 "parameters": [ |
| 8760 { | 8808 { |
| 8761 "$ref": "TimePeriod", | 8809 "$ref": "TimePeriod", |
| 8762 "name": "period" | 8810 "name": "period" |
| 8763 }, | 8811 }, |
| 8764 { | 8812 { |
| 8765 "name": "callback", | 8813 "name": "callback", |
| 8766 "type": "function", | 8814 "type": "function", |
| 8767 "description": "Called when the browser's cookies and site data have been cleared.", | 8815 "description": "Called when the browser's cookies have been cleared. ", |
| 8768 "optional": true, | 8816 "optional": true, |
| 8769 "parameters": [] | 8817 "parameters": [] |
| 8770 } | 8818 } |
| 8771 ] | 8819 ] |
| 8772 }, | 8820 }, |
| 8773 { | 8821 { |
| 8774 "name": "downloads", | 8822 "name": "downloads", |
| 8775 "description": "Clears the browser's list of downloaded files (<em>not</ em> the downloaded files themselves).", | 8823 "description": "Clears the browser's list of downloaded files (<em>not</ em> the downloaded files themselves).", |
| 8776 "type": "function", | 8824 "type": "function", |
| 8777 "parameters": [ | 8825 "parameters": [ |
| 8778 { | 8826 { |
| 8779 "$ref": "TimePeriod", | 8827 "$ref": "TimePeriod", |
| 8780 "name": "period" | 8828 "name": "period" |
| 8781 }, | 8829 }, |
| 8782 { | 8830 { |
| 8783 "name": "callback", | 8831 "name": "callback", |
| 8784 "type": "function", | 8832 "type": "function", |
| 8785 "description": "Called when the browser's list of downloaded files h as been cleared.", | 8833 "description": "Called when the browser's list of downloaded files h as been cleared.", |
| 8786 "optional": true, | 8834 "optional": true, |
| 8787 "parameters": [] | 8835 "parameters": [] |
| 8788 } | 8836 } |
| 8789 ] | 8837 ] |
| 8790 }, | 8838 }, |
| 8791 { | 8839 { |
| 8840 "name": "fileSystems", | |
| 8841 "description": "Clears websites' file system data.", | |
| 8842 "type": "function", | |
| 8843 "parameters": [ | |
| 8844 { | |
| 8845 "$ref": "TimePeriod", | |
| 8846 "name": "period" | |
| 8847 }, | |
| 8848 { | |
| 8849 "name": "callback", | |
| 8850 "type": "function", | |
| 8851 "description": "Called when websites' file systems have been cleared .", | |
| 8852 "optional": true, | |
| 8853 "parameters": [] | |
| 8854 } | |
| 8855 ] | |
| 8856 }, | |
| 8857 { | |
| 8792 "name": "formData", | 8858 "name": "formData", |
| 8793 "description": "Clears the browser's stored form data (autofill).", | 8859 "description": "Clears the browser's stored form data (autofill).", |
| 8794 "type": "function", | 8860 "type": "function", |
| 8795 "parameters": [ | 8861 "parameters": [ |
| 8796 { | 8862 { |
| 8797 "$ref": "TimePeriod", | 8863 "$ref": "TimePeriod", |
| 8798 "name": "period" | 8864 "name": "period" |
| 8799 }, | 8865 }, |
| 8800 { | 8866 { |
| 8801 "name": "callback", | 8867 "name": "callback", |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 8818 { | 8884 { |
| 8819 "name": "callback", | 8885 "name": "callback", |
| 8820 "type": "function", | 8886 "type": "function", |
| 8821 "description": "Called when the browser's history has cleared.", | 8887 "description": "Called when the browser's history has cleared.", |
| 8822 "optional": true, | 8888 "optional": true, |
| 8823 "parameters": [] | 8889 "parameters": [] |
| 8824 } | 8890 } |
| 8825 ] | 8891 ] |
| 8826 }, | 8892 }, |
| 8827 { | 8893 { |
| 8894 "name": "indexedDB", | |
| 8895 "description": "Clears websites' IndexedDB data.", | |
| 8896 "type": "function", | |
| 8897 "parameters": [ | |
| 8898 { | |
| 8899 "$ref": "TimePeriod", | |
| 8900 "name": "period" | |
| 8901 }, | |
| 8902 { | |
| 8903 "name": "callback", | |
| 8904 "type": "function", | |
| 8905 "description": "Called when websites' IndexedDB data has been cleare d.", | |
| 8906 "optional": true, | |
| 8907 "parameters": [] | |
| 8908 } | |
| 8909 ] | |
| 8910 }, | |
| 8911 { | |
| 8912 "name": "localStorage", | |
| 8913 "description": "Clears websites' local storage data.", | |
| 8914 "type": "function", | |
| 8915 "parameters": [ | |
| 8916 { | |
| 8917 "$ref": "TimePeriod", | |
| 8918 "name": "period" | |
| 8919 }, | |
| 8920 { | |
| 8921 "name": "callback", | |
| 8922 "type": "function", | |
| 8923 "description": "Called when websites' local storage has been cleared .", | |
| 8924 "optional": true, | |
| 8925 "parameters": [] | |
| 8926 } | |
| 8927 ] | |
| 8928 }, | |
| 8929 { | |
| 8930 "name": "lsoData", | |
| 8931 "description": "Clears plugins' Local Storage Object data.", | |
| 8932 "type": "function", | |
| 8933 "parameters": [ | |
| 8934 { | |
| 8935 "$ref": "TimePeriod", | |
| 8936 "name": "period" | |
| 8937 }, | |
| 8938 { | |
| 8939 "name": "callback", | |
| 8940 "type": "function", | |
| 8941 "description": "Called when plugins' Local Storage Data has been cle ared.", | |
| 8942 "optional": true, | |
| 8943 "parameters": [] | |
| 8944 } | |
| 8945 ] | |
| 8946 }, | |
| 8947 { | |
| 8828 "name": "passwords", | 8948 "name": "passwords", |
| 8829 "description": "Clears the browser's stored passwords.", | 8949 "description": "Clears the browser's stored passwords.", |
| 8830 "type": "function", | 8950 "type": "function", |
| 8831 "parameters": [ | 8951 "parameters": [ |
| 8832 { | 8952 { |
| 8833 "$ref": "TimePeriod", | 8953 "$ref": "TimePeriod", |
| 8834 "name": "period" | 8954 "name": "period" |
| 8835 }, | 8955 }, |
| 8836 { | 8956 { |
| 8837 "name": "callback", | 8957 "name": "callback", |
| 8838 "type": "function", | 8958 "type": "function", |
| 8839 "description": "Called when the browser's passwords have been cleare d.", | 8959 "description": "Called when the browser's passwords have been cleare d.", |
| 8840 "optional": true, | 8960 "optional": true, |
| 8841 "parameters": [] | 8961 "parameters": [] |
| 8842 } | 8962 } |
| 8843 ] | 8963 ] |
| 8964 }, | |
| 8965 { | |
| 8966 "name": "webSQL", | |
| 8967 "description": "Clears websites' WebSQL data.", | |
| 8968 "type": "function", | |
| 8969 "parameters": [ | |
| 8970 { | |
| 8971 "$ref": "TimePeriod", | |
| 8972 "name": "period" | |
| 8973 }, | |
| 8974 { | |
| 8975 "name": "callback", | |
| 8976 "type": "function", | |
| 8977 "description": "Called when websites' WebSQL databases have been cle ared.", | |
| 8978 "optional": true, | |
| 8979 "parameters": [] | |
| 8980 } | |
| 8981 ] | |
| 8844 } | 8982 } |
| 8845 ] | 8983 ] |
| 8846 }, | 8984 }, |
| 8847 { | 8985 { |
| 8848 "namespace": "pageCapture", | 8986 "namespace": "pageCapture", |
| 8849 "functions": [ | 8987 "functions": [ |
| 8850 { | 8988 { |
| 8851 "name": "saveAsMHTML", | 8989 "name": "saveAsMHTML", |
| 8852 "type": "function", | 8990 "type": "function", |
| 8853 "description": "Saves the content of the tab with given id as MHTML.", | 8991 "description": "Saves the content of the tab with given id as MHTML.", |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 9128 "enum": ["enabled", "disabled", "forced"], | 9266 "enum": ["enabled", "disabled", "forced"], |
| 9129 "description": "Exposes whether the incognito mode is available to windows. One of 'enabled', 'disabled' (user cannot browse pages in Incognito mode), 'forced' (all pages/sessions are forced into Incognito mode)." | 9267 "description": "Exposes whether the incognito mode is available to windows. One of 'enabled', 'disabled' (user cannot browse pages in Incognito mode), 'forced' (all pages/sessions are forced into Incognito mode)." |
| 9130 } | 9268 } |
| 9131 ] | 9269 ] |
| 9132 } | 9270 } |
| 9133 ] | 9271 ] |
| 9134 } | 9272 } |
| 9135 ] | 9273 ] |
| 9136 } | 9274 } |
| 9137 ] | 9275 ] |
| OLD | NEW |