OLD | NEW |
1 <!-- BEGIN AUTHORED CONTENT --> | |
2 <p id="classSummary"> | 1 <p id="classSummary"> |
3 Use the <code>chrome.bookmarks</code> module to create, organize, | 2 Use the <code>chrome.bookmarks</code> module to create, organize, |
4 and otherwise manipulate bookmarks. | 3 and otherwise manipulate bookmarks. |
5 Also see <a href="override.html">Override Pages</a>, | 4 Also see <a href="override.html">Override Pages</a>, |
6 which you can use to create a custom Bookmark Manager page. | 5 which you can use to create a custom Bookmark Manager page. |
7 </p> | 6 </p> |
8 <img src="{{static}}/images/bookmarks.png" | 7 <img src="{{static}}/images/bookmarks.png" |
9 width="210" height="147" alt="Clicking the star adds a bookmark" /> | 8 width="210" height="147" alt="Clicking the star adds a bookmark" /> |
10 <h2 id="manifest">Manifest</h2> | 9 <h2 id="manifest">Manifest</h2> |
11 <p>You must declare the "bookmarks" permission | 10 <p>You must declare the "bookmarks" permission |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 <pre> | 67 <pre> |
69 chrome.bookmarks.create({'parentId': extensionsFolderId, | 68 chrome.bookmarks.create({'parentId': extensionsFolderId, |
70 'title': 'Extensions doc', | 69 'title': 'Extensions doc', |
71 'url': 'http://code.google.com/chrome/extensions'}); | 70 'url': 'http://code.google.com/chrome/extensions'}); |
72 </pre> | 71 </pre> |
73 <p> | 72 <p> |
74 For an example of using this API, see the | 73 For an example of using this API, see the |
75 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/bookmarks/basic/">basic bookmarks sample</a>. | 74 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extension
s/docs/examples/api/bookmarks/basic/">basic bookmarks sample</a>. |
76 For other examples and for help in viewing the source code, see | 75 For other examples and for help in viewing the source code, see |
77 <a href="samples.html">Samples</a>. | 76 <a href="samples.html">Samples</a>. |
78 </p> | 77 </p> |
79 <!-- END AUTHORED CONTENT --> | |
OLD | NEW |