OLD | NEW |
1 <div id="pageData-title" class="pageData">Overview</div> | 1 <div id="pageData-title" class="pageData">Overview</div> |
2 <div id="pageData-showTOC" class="pageData">true</div> | 2 <div id="pageData-showTOC" class="pageData">true</div> |
3 | 3 |
4 <p> | 4 <p> |
5 Please read this page; | 5 Please read this page; |
6 it has vital information about the extension architecture. | 6 it has vital information about the extension architecture. |
7 If you get bored or restless, | 7 If you get bored or restless, |
8 take a break! | 8 take a break! |
9 We suggest bouncing between this page | 9 We suggest bouncing between this page |
10 and tutorials | 10 and tutorials |
(...skipping 15 matching lines...) Expand all Loading... |
26 from XMLHttpRequest to JSON to localStorage. | 26 from XMLHttpRequest to JSON to localStorage. |
27 </p> | 27 </p> |
28 | 28 |
29 <p> | 29 <p> |
30 Extensions can add UI to Google Chrome, | 30 Extensions can add UI to Google Chrome, |
31 in the form of | 31 in the form of |
32 <a href="toolstrip.html">toolstrips</a> (toolbar additions) | 32 <a href="toolstrip.html">toolstrips</a> (toolbar additions) |
33 and <a href="pageActions.html">page actions</a> | 33 and <a href="pageActions.html">page actions</a> |
34 (clickable badges in the address bar). | 34 (clickable badges in the address bar). |
35 Extensions can also interact programmatically | 35 Extensions can also interact programmatically |
36 with browser features such as | 36 with browser features such as |
37 <a href="bookmarks.html">bookmarks</a> | 37 <a href="bookmarks.html">bookmarks</a> |
38 and <a href="tabs.html">tabs</a>. | 38 and <a href="tabs.html">tabs</a>. |
39 </p> | 39 </p> |
40 | 40 |
41 <p> | 41 <p> |
42 To find a complete list of extension features, | 42 To find a complete list of extension features, |
43 with implementation details | 43 with implementation details |
44 for each one, | 44 for each one, |
45 see the <a href="devguide.html">Developer's Guide</a>. | 45 see the <a href="devguide.html">Developer's Guide</a>. |
46 </p> | 46 </p> |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 Once you have references to an extension's pages, | 333 Once you have references to an extension's pages, |
334 you can manipulate the DOM for each page. | 334 you can manipulate the DOM for each page. |
335 </li> | 335 </li> |
336 <li> | 336 <li> |
337 You can also make direct function calls to the pages, | 337 You can also make direct function calls to the pages, |
338 as shown in the following example. | 338 as shown in the following example. |
339 </li> | 339 </li> |
340 </ul> | 340 </ul> |
341 | 341 |
342 <p> | 342 <p> |
343 Here's an example of | 343 Here's an example of |
344 communication between toolstrips and the background page. | 344 communication between toolstrips and the background page. |
345 </p> | 345 </p> |
346 | 346 |
347 <pre> | 347 <pre> |
348 //In background_page.html: | 348 //In background_page.html: |
349 function updateUI(checked) { | 349 function updateUI(checked) { |
350 var toolstrips = chrome.extension.getToolstrips(); | 350 var toolstrips = chrome.extension.getToolstrips(); |
351 for (var i in toolstrips) { | 351 for (var i in toolstrips) { |
352 if (toolstrips[i].enableCheckbox) | 352 if (toolstrips[i].enableCheckbox) |
353 toolstrips[i].enableCheckbox(checked); | 353 toolstrips[i].enableCheckbox(checked); |
(...skipping 16 matching lines...) Expand all Loading... |
370 <h2> Summary </h2> | 370 <h2> Summary </h2> |
371 | 371 |
372 <p class="tbd"> | 372 <p class="tbd"> |
373 [ | 373 [ |
374 PENDING: summarize, suggest where to go next. Probably: | 374 PENDING: summarize, suggest where to go next. Probably: |
375 <a href="getstarted.html">Getting Started</a>, | 375 <a href="getstarted.html">Getting Started</a>, |
376 <a href="tut_debugging.html">Debugging</a>, | 376 <a href="tut_debugging.html">Debugging</a>, |
377 <a href="devguide.html">Developer's Guide</a>. | 377 <a href="devguide.html">Developer's Guide</a>. |
378 ] | 378 ] |
379 </p> | 379 </p> |
OLD | NEW |