OLD | NEW |
1 <div id="pageData-title" class="pageData">Bookmarks</div> | 1 <div id="pageData-title" class="pageData">Bookmarks</div> |
2 | 2 |
3 <!-- BEGIN AUTHORED CONTENT --> | 3 <!-- BEGIN AUTHORED CONTENT --> |
4 <p id="classSummary"> | 4 <p id="classSummary"> |
5 Use the <code>chrome.bookmarks</code> module to create, organize, | 5 Use the <code>chrome.bookmarks</code> module to create, organize, |
6 and otherwise manipulate bookmarks. | 6 and otherwise manipulate bookmarks. |
7 </p> | 7 </p> |
8 | 8 |
9 <h2 id="manifest">Manifest</h2> | 9 <h2 id="manifest">Manifest</h2> |
10 <p>You must declare the "bookmarks" permission | 10 <p>You must declare the "bookmarks" permission |
(...skipping 30 matching lines...) Expand all Loading... |
41 <h3 id="overview-properties">Properties</h3> | 41 <h3 id="overview-properties">Properties</h3> |
42 | 42 |
43 <p> | 43 <p> |
44 Objects that represent bookmarks can have the following properties: | 44 Objects that represent bookmarks can have the following properties: |
45 </p> | 45 </p> |
46 | 46 |
47 <dl> | 47 <dl> |
48 <dt> <code>id</code> </dt> | 48 <dt> <code>id</code> </dt> |
49 <dd> An integer ID that's unique for each bookmark. | 49 <dd> An integer ID that's unique for each bookmark. |
50 IDs are unique and persisted within the current profile and are | 50 IDs are unique and persisted within the current profile and are |
51 and stable across shutdown and startup of the browser. | 51 and stable across shutdown and startup of the browser. |
52 </dd> | 52 </dd> |
53 | 53 |
54 <dt> <code>title</code> </dt> | 54 <dt> <code>title</code> </dt> |
55 <dd> The name of the bookmark. | 55 <dd> The name of the bookmark. |
56 This is the user-visible string that describes the URL or group. | 56 This is the user-visible string that describes the URL or group. |
57 </dd> | 57 </dd> |
58 | 58 |
59 <dt> <code>parentId </code> | 59 <dt> <code>parentId </code> |
60 <em>(omitted for the root group)</em> | 60 <em>(omitted for the root group)</em> |
61 </dt> | 61 </dt> |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 </pre> | 136 </pre> |
137 | 137 |
138 | 138 |
139 <!-- PENDING: we could have links to source code and sample extensions. E.g.: | 139 <!-- PENDING: we could have links to source code and sample extensions. E.g.: |
140 <div class="exampleLink"> | 140 <div class="exampleLink"> |
141 <a href="http://www.google.com/url?q=http%3A%2F%2Fexample.com&sa=D&sntz=
1&usg=AFrqEzd0oeJ1qGwYPoKuq1dTesEchMDLIQ">Full source code</a> | | 141 <a href="http://www.google.com/url?q=http%3A%2F%2Fexample.com&sa=D&sntz=
1&usg=AFrqEzd0oeJ1qGwYPoKuq1dTesEchMDLIQ">Full source code</a> | |
142 <a href="http://www.google.com/url?q=http%3A%2F%2Fexample.com&sa=D&sntz=
1&usg=AFrqEzd0oeJ1qGwYPoKuq1dTesEchMDLIQ">Install extension</a> | 142 <a href="http://www.google.com/url?q=http%3A%2F%2Fexample.com&sa=D&sntz=
1&usg=AFrqEzd0oeJ1qGwYPoKuq1dTesEchMDLIQ">Install extension</a> |
143 </div> | 143 </div> |
144 --> | 144 --> |
145 <!-- END AUTHORED CONTENT --> | 145 <!-- END AUTHORED CONTENT --> |
OLD | NEW |