<!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note:
1) The <head> information in this page is significant, should be uniform
across api docs and should be edited only with knowledge of the
templating mechanism.
3) All <body>.innerHTML is genereated as an rendering step. If viewed in a
browser, it will be re-generated from the template, json schema and
authored overview content.
4) The <body>.innerHTML is also generated by an offline step so that this
page may easily be indexed by search engines.
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css">
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
<script type="text/javascript" src="../../../third_party/jstemplate/jstemplate_compiled.js">
</script>
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
<title>Samples - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
</div>
<!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION -->
<!-- In particular, sub-templates that recurse, must be used by allowing
jstemplate to make a copy of the template in this section which
are not operated on by way of the jsskip="true" -->
<div style="display:none">
<!-- VALUE -->
<div id="valueTemplate">
<dt>
<var>paramName</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span class="optional">optional</span>
<span class="enum">enumerated</span>
<span id="typeTemplate">
<span>
<a> Type</a>
</span>
<span>
<span>
array of <span><span></span></span>
</span>
<span>paramType</span>
<span></span>
</span>
</span>
)
</div>
</em>
</dt>
<dd class="todo">
Undocumented.
</dd>
<dd>
Description of this parameter from the json schema.
</dd>
<dd>
This parameter was added in version
<b><span></span></b>.
You must omit this parameter in earlier versions,
and you may omit it in any version. If you require this
parameter, the manifest key
<a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
can ensure that your extension won't be run in an earlier browser version.
</dd>
<!-- OBJECT PROPERTIES -->
<dd>
<dl>
<div>
<div>
</div>
</div>
</dl>
</dd>
<!-- OBJECT METHODS -->
<dd>
<div></div>
</dd>
<!-- OBJECT EVENT FIELDS -->
<dd>
<div></div>
</dd>
<!-- FUNCTION PARAMETERS -->
<dd>
<div></div>
</dd>
</div> <!-- /VALUE -->
<div id="functionParametersTemplate">
<h5>Parameters</h5>
<dl>
<div>
<div>
</div>
</div>
</dl>
</div>
</div> <!-- /SUBTEMPLATES -->
<a id="top"></a>
<div id="skipto">
<a href="#gc-pagecontent">Skip to page content</a>
<a href="#gc-toc">Skip to main navigation</a>
</div>
<!-- API HEADER -->
<table id="header" width="100%" cellspacing="0" border="0">
<tbody><tr>
<td valign="middle"><a href="http://code.google.com/"><img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0; margin:0;"></a></td>
<td valign="middle" width="100%" style="padding-left:0.6em;">
<form action="http://www.google.com/cse" id="cse" style="margin-top:0.5em">
<div id="gsc-search-box">
<input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" value="" size="55">
<input class="gsc-search-button" type="submit" name="sa" value="Search">
<br>
<span class="greytext">e.g. "page action" or "tabs"</span>
</div>
</form>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
<script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&t13n_langs=en"></script>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&lang=en"></script>
</td>
</tr>
</tbody></table>
<div id="codesiteContent" class="">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav">
<h1>Google Chrome Extensions (<a href="http://code.google.com/labs/">Labs</a>)</h1>
<ul id="home" class="gc-topnav-tabs">
<li id="home_link">
<a href="index.html" title="Google Chrome Extensions home page">Home</a>
</li>
<li id="docs_link">
<a href="docs.html" title="Official Google Chrome Extensions documentation">Docs</a>
</li>
<li id="faq_link">
<a href="faq.html" title="Answers to frequently asked questions about Google Chrome Extensions">FAQ</a>
</li>
<li id="samples_link">
<a href="samples.html" title="Sample extensions (with source code)">Samples</a>
</li>
<li id="group_link">
<a href="http://groups.google.com/a/chromium.org/group/chromium-extensions" title="Google Chrome Extensions developer forum">Group</a>
</li>
</ul>
</div> <!-- end gc-topnav -->
<div class="g-section g-tpl-170">
<!-- SIDENAV -->
<div class="g-unit g-first" id="gc-toc">
<ul>
<li><a href="getstarted.html">Getting Started</a></li>
<li><a href="overview.html">Overview</a></li>
<li><a href="whats_new.html">What's New?</a></li>
<li><h2><a href="devguide.html">Developer's Guide</a></h2>
<ul>
<li>Browser UI
<ul>
<li><a href="browserAction.html">Browser Actions</a></li>
<li><a href="contextMenus.html">Context Menus</a></li>
<li><a href="notifications.html">Desktop Notifications</a></li>
<li><a href="omnibox.html">Omnibox</a></li>
<li><a href="options.html">Options Pages</a></li>
<li><a href="override.html">Override Pages</a></li>
<li><a href="pageAction.html">Page Actions</a></li>
</ul>
</li>
<li>Browser Interaction
<ul>
<li><a href="bookmarks.html">Bookmarks</a></li>
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
<li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
</li>
<li>Implementation
<ul>
<li><a href="a11y.html">Accessibility</a></li>
<li><a href="background_pages.html">Background Pages</a></li>
<li><a href="content_scripts.html">Content Scripts</a></li>
<li><a href="xhr.html">Cross-Origin XHR</a></li>
<li><a href="idle.html">Idle</a></li>
<li><a href="i18n.html">Internationalization</a></li>
<li><a href="messaging.html">Message Passing</a></li>
<li><a href="npapi.html">NPAPI Plugins</a></li>
</ul>
</li>
<li>Finishing
<ul>
<li><a href="hosting.html">Hosting</a></li>
<li><a href="external_extensions.html">Other Deployment Options</a></li>
</ul>
</li>
</ul>
</li>
<li><h2><a href="apps.html">Packaged Apps</a></h2></li>
<li><h2><a href="tutorials.html">Tutorials</a></h2>
<ul>
<li><a href="tut_debugging.html">Debugging</a></li>
<li><a href="tut_analytics.html">Google Analytics</a></li>
<li><a href="tut_oauth.html">OAuth</a></li>
</ul>
</li>
<li><h2>Reference</h2>
<ul>
<li>Formats
<ul>
<li><a href="manifest.html">Manifest Files</a></li>
<li><a href="match_patterns.html">Match Patterns</a></li>
</ul>
</li>
<li><a href="permission_warnings.html">Permission Warnings</a></li>
<li><a href="api_index.html">chrome.* APIs</a></li>
<li><a href="api_other.html">Other APIs</a></li>
</ul>
</li>
<li><h2><a href="samples.html">Samples</a></h2></li>
<div class="line"> </div>
<li><h2>More</h2>
<ul>
<li><a href="http://code.google.com/chrome/webstore/docs/index.html">Chrome Web Store</a></li>
<li><a href="http://code.google.com/chrome/apps/docs/developers_guide.html">Hosted Apps</a></li>
<li><a href="themes.html">Themes</a></li>
</ul>
</li>
</ul>
</div>
<script>
initToggles();
</script>
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
<h1 class="page_title">Samples</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc" style="display: none; ">
<h2>Contents</h2>
<ol>
<li>
<a>h2Name</a>
<ol>
<li>
<a>h3Name</a>
</li>
</ol>
</li>
<li>
<a href="#apiReference">API reference</a>
<ol>
<li>
<a href="#properties">Properties</a>
<ol>
<li>
<a href="#property-anchor">propertyName</a>
</li>
</ol>
</li>
<li>
<a>Methods</a>
<ol>
<li>
<a href="#method-anchor">methodName</a>
</li>
</ol>
</li>
<li>
<a>Events</a>
<ol>
<li>
<a href="#event-anchor">eventName</a>
</li>
</ol>
</li>
<li>
<a href="#types">Types</a>
<ol>
<li>
<a href="#id-anchor">id</a>
</li>
</ol>
</li>
</ol>
</li>
</ol>
</div>
<!-- /TABLE OF CONTENTS -->
<!-- Standard content lead-in for experimental API pages -->
<p id="classSummary" style="display: none; ">
For information on how to use experimental APIs, see the <a href="experimental.html">chrome.experimental.* APIs</a> page.
</p>
<!-- STATIC CONTENT PLACEHOLDER -->
<div id="static"><link rel="stylesheet" href="css/samples.css">
<script>var search_data = {"0262260daf0c8f7b28feff2ef23b05e7abf9d1e0":"A BROWSER ACTION WHICH CHANGES ITS ICON WHEN CLICKED. BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETICON","ea2894c41cb8e80a4433a3e6c5772dadce9be90d":"A BROWSER ACTION WITH A POPUP THAT CHANGES THE PAGE COLOR. BROWSER_ACTION POPUP TABS CHROME.TABS.EXECUTESCRIPT","ede3c47b7757245be42ec33fd5ca63df4b490066":"A BROWSER ACTION WITH NO ICON THAT MAKES THE PAGE RED BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETBADGEBACKGROUNDCOLOR CHROME.BROWSERACTION.SETBADGETEXT CHROME.TABS.EXECUTESCRIPT","fbf0aa1a09a15ff8cc4fc7de4fd176d6c663d07a":"ACCEPTLANGUAGE RETURNS ACCEPT LANGUAGES OF THE BROWSER BROWSER_ACTION POPUP CHROME.I18N.GETACCEPTLANGUAGES CHROME.I18N.GETMESSAGE","9a6e4ec46997fb92b324974afa08a3d007e2537f":"ANIMATED PAGE ACTION THIS EXTENSION ADDS AN ANIMATED BROWSER ACTION TO THE TOOLBAR. BACKGROUND_PAGE PAGE_ACTION TABS CHROME.PAGEACTION.HIDE CHROME.PAGEACTION.ONCLICKED CHROME.PAGEACTION.SETICON CHROME.PAGEACTION.SETTITLE CHROME.PAGEACTION.SHOW CHROME.TABS.GET CHROME.TABS.GETSELECTED CHROME.TABS.ONSELECTIONCHANGED","a1f7cf79dd555b04fa8d603247a040e644996293":"APP LAUNCHER BROWSER_ACTION MANAGEMENT CHROME.EXTENSION.GETURL CHROME.MANAGEMENT.GET CHROME.MANAGEMENT.GETALL CHROME.MANAGEMENT.LAUNCHAPP CHROME.TABS.CREATE","9747e3d6a3eab39bc7c17f11a80573c62d44c7e5":"BLANK NEW TAB PAGE CHROME_URL_OVERRIDES","903e7277139e1e6caec123d3319cab295d8d1b3a":"CHROME SOUNDS ENJOY A MORE MAGICAL AND IMMERSIVE EXPERIENCE WHEN BROWSING THE WEB USING THE POWER OF SOUND. BACKGROUND_PAGE BOOKMARKS OPTIONS_PAGE TABS CHROME.BOOKMARKS.ONCREATED CHROME.BOOKMARKS.ONMOVED CHROME.BOOKMARKS.ONREMOVED CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.TABS.GET CHROME.TABS.ONATTACHED CHROME.TABS.ONCREATED CHROME.TABS.ONDETACHED CHROME.TABS.ONMOVED CHROME.TABS.ONREMOVED CHROME.TABS.ONSELECTIONCHANGED CHROME.TABS.ONUPDATED CHROME.WINDOWS.ONCREATED CHROME.WINDOWS.ONFOCUSCHANGED CHROME.WINDOWS.ONREMOVED","0e790e035a4a00b6f1def5ef9a7d7be1bce95ab5":"CHROMIUM BUILDBOT MONITOR DISPLAYS THE STATUS OF THE CHROMIUM BUILDBOT IN THE TOOLBAR. CLICK TO SEE MORE DETAILED STATUS IN A POPUP. BACKGROUND_PAGE BROWSER_ACTION NOTIFICATIONS OPTIONS_PAGE POPUP CHROME.BROWSERACTION.SETBADGEBACKGROUNDCOLOR CHROME.BROWSERACTION.SETBADGETEXT CHROME.BROWSERACTION.SETTITLE CHROME.EXTENSION.GETURL","ac31228200b41a87982e386cc90d3a6eee4ad885":"CHROMIUM SEARCH ADD SUPPORT TO THE OMNIBOX TO SEARCH THE CHROMIUM SOURCE CODE. BACKGROUND_PAGE TABS CHROME.OMNIBOX.ONINPUTCANCELLED CHROME.OMNIBOX.ONINPUTCHANGED CHROME.OMNIBOX.ONINPUTENTERED CHROME.OMNIBOX.ONINPUTSTARTED CHROME.OMNIBOX.SETDEFAULTSUGGESTION CHROME.TABS.GET CHROME.TABS.GETSELECTED CHROME.TABS.UPDATE","7d5d6cf195bc25480256618e360aa38c6e6fba82":"CLD DISPLAYS THE LANGUAGE OF A TAB BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.SETBADGETEXT CHROME.TABS.DETECTLANGUAGE CHROME.TABS.GET CHROME.TABS.GETSELECTED CHROME.TABS.ONSELECTIONCHANGED CHROME.TABS.ONUPDATED","5d81304a17cf7ac2887484f730fbd2b01e51e166":"CONTEXT MENUS SAMPLE SHOWS SOME OF THE FEATURES OF THE CONTEXT MENUS API BACKGROUND_PAGE CONTEXTMENUS CHROME.CONTEXTMENUS.CREATE","4daa6becd0899a54776d9cf7f09613ed1a9f4d77":"COOKIE API TEST EXTENSION TESTING COOKIE API BACKGROUND_PAGE BROWSER_ACTION COOKIES TABS CHROME.BROWSERACTION.ONCLICKED CHROME.COOKIES.GET CHROME.COOKIES.GETALL CHROME.COOKIES.ONCHANGED CHROME.COOKIES.REMOVE CHROME.EXTENSION.GETURL CHROME.TABS.CREATE CHROME.TABS.UPDATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETALL","6871d09f4a96bf9d4b6cc724d00e909cee0f3902":"CROSS-DOMAIN XMLHTTPREQUEST FROM A CONTENT SCRIPT DEMONSTRATES A METHOD TO MAKE A CROSS-DOMAIN XMLHTTPREQUEST FETCH FROM A CONTENT SCRIPT. THIS EXTENSION FETCHES THE CURRENT TRENDING TOPICS FROM TWITTER AND INSERTS THEM IN AN OVERLAY AT THE TOP OF GOOGLE NEWS. VISIT HTTP://NEWS.GOOGLE.COM TO TEST THIS EXTENSION. BACKGROUND_PAGE CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST","028eb5364924344029bcbe1d527f132fc72b34e5":"EMAIL THIS PAGE (BY GOOGLE) THIS EXTENSION ADDS AN EMAIL BUTTON TO THE TOOLBAR WHICH ALLOWS YOU TO EMAIL THE PAGE LINK USING YOUR DEFAULT MAIL CLIENT OR GMAIL. BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE TABS CHROME.BROWSERACTION.ONCLICKED CHROME.EXTENSION.CONNECT CHROME.EXTENSION.ONCONNECT CHROME.TABS.CREATE CHROME.TABS.EXECUTESCRIPT CHROME.TABS.UPDATE","0bf0930a32829dfb77170535ecb27adc2de3998a":"ENABLE/DISABLE REFERRERS API EXAMPLE EXTENSION SAMPLE EXTENSION WHICH DEMONSTRATES HOW TO ACCESS A PREFERENCE. BROWSER_ACTION CONTENTSETTINGS EXPERIMENTAL POPUP CHROME.EXTENSION.ISALLOWEDINCOGNITOACCESS","763a08e9b06595d785568a8d392b95a2f3700258":"EVENT TRACKING WITH GOOGLE ANALYTICS A SAMPLE EXTENSION WHICH USES GOOGLE ANALYTICS TO TRACK USAGE. BACKGROUND_PAGE BROWSER_ACTION POPUP","e3df888a89e35bdeb9c8bc8d03be5e1851b97c68":"EXTENSION DOCS SEARCH SEARCH THE CHROME EXTENSIONS DOCUMENTATION. TO USE, TYPE CRDOC PLUS A SEARCH TERM INTO THE OMNIBOX. BACKGROUND_PAGE TABS CHROME.OMNIBOX.ONINPUTCHANGED CHROME.OMNIBOX.ONINPUTENTERED CHROME.TABS.CREATE CHROME.TABS.GET CHROME.TABS.ONREMOVED CHROME.TABS.UPDATE","8b0dd31216235941bdd8eb33fda915ef5cf79a82":"GOOGLE CALENDAR CHECKER (BY GOOGLE) QUICKLY SEE THE TIME UNTIL YOUR NEXT MEETING FROM ANY OF YOUR CALENDARS. CLICK ON THE BUTTON TO BE TAKEN TO YOUR CALENDAR. BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETBADGEBACKGROUNDCOLOR CHROME.BROWSERACTION.SETBADGETEXT CHROME.BROWSERACTION.SETICON CHROME.BROWSERACTION.SETTITLE CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.I18N.GETMESSAGE CHROME.TABS.CREATE CHROME.TABS.GET CHROME.TABS.GETALLINWINDOW CHROME.TABS.ONUPDATED CHROME.TABS.UPDATE","4e35caa9742fb82dbd628892d23a781614f6eff6":"GOOGLE DOCUMENT LIST VIEWER DEMONSTRATES HOW TO USE OAUTH TO CONNECT THE GOOGLE DOCUMENTS LIST DATA API. BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE POPUP TABS CHROME.BROWSERACTION.SETBADGETEXT CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.GETURL CHROME.TABS.CREATE CHROME.TABS.GET CHROME.TABS.GETSELECTED CHROME.TABS.ONUPDATED CHROME.TABS.REMOVE","bb57f7a0132cbeb36ad7e7bb0ab75c21704234ca":"GOOGLE MAIL CHECKER DISPLAYS THE NUMBER OF UNREAD MESSAGES IN YOUR GOOGLE MAIL INBOX. YOU CAN ALSO CLICK THE BUTTON TO OPEN YOUR INBOX. BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETBADGEBACKGROUNDCOLOR CHROME.BROWSERACTION.SETBADGETEXT CHROME.BROWSERACTION.SETICON CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.I18N.GETMESSAGE CHROME.TABS.CREATE CHROME.TABS.GET CHROME.TABS.GETALLINWINDOW CHROME.TABS.ONUPDATED CHROME.TABS.UPDATE","1682e05ea9a1bde985123b04f6f8ac50a8a64033":"GOOGLE WAVE NOTIFIER FIND OUT WHEN YOU HAVE NEW WAVES AND PREVIEW THEM FAST. BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE POPUP TABS CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.GETURL CHROME.TABS.CREATE CHROME.TABS.GET CHROME.TABS.GETSELECTED CHROME.TABS.ONUPDATED CHROME.TABS.REMOVE","14b9651fda4e57b2a5914ba73a779812201b750a":"HELLO WORLD THE FIRST EXTENSION THAT I MADE. BROWSER_ACTION POPUP","2020d72f2577f53caf8e94e3dbac0fb849ceaa4d":"IDLE - SIMPLE EXAMPLE DEMONSTRATES THE IDLE API BACKGROUND_PAGE BROWSER_ACTION IDLE CHROME.BROWSERACTION.ONCLICKED CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.IDLE.ONSTATECHANGED CHROME.IDLE.QUERYSTATE","0ea1588bd07b20338fc21f725de1542a5fdf9726":"IGOOGLE NEW TAB PAGE CHROME_URL_OVERRIDES","646325c25f572a1d15edc73d057f821d847a4fbe":"IMAGEINFO GET IMAGE INFO FOR IMAGES, INCLUDING EXIF DATA BACKGROUND_PAGE CONTEXTMENUS TABS CHROME.CONTEXTMENUS.CREATE CHROME.TABS.GET CHROME.TABS.GETCURRENT CHROME.WINDOWS.CREATE CHROME.WINDOWS.UPDATE","65b2fe595b7ac38dddd89cca50f5efd0017b0bd4":"KEYBOARD PIN CREATES A KEYBOARD SHORTCUT (C + SHIFT + P) TO TOGGLE THE PINNED STATE OF THE CURRENTLY SELECTED TAB BACKGROUND_PAGE TABS CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.TABS.GET CHROME.TABS.GETSELECTED CHROME.TABS.UPDATE","ec97ec20ca2f095d081e39f1565fc12af09ef067":"MAPPY FINDS ADDRESSES IN THE WEB PAGE YOURE ON AND POPS UP A MAP WINDOW. BACKGROUND_PAGE PAGE_ACTION POPUP TABS CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.ONREQUEST CHROME.PAGEACTION.HIDE CHROME.PAGEACTION.SETTITLE CHROME.PAGEACTION.SHOW CHROME.TABS.GET CHROME.TABS.GETSELECTED CHROME.TABS.ONSELECTIONCHANGED CHROME.TABS.ONUPDATED CHROME.TABS.SENDREQUEST","b2f5f8a790e16f091a7e4e0a39b2d0a6d32e3a6d":"MERGE WINDOWS MERGES ALL OF THE BROWSERS WINDOWS INTO THE CURRENT WINDOW BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.TABS.GET CHROME.TABS.GETALLINWINDOW CHROME.TABS.MOVE CHROME.WINDOWS.GET CHROME.WINDOWS.GETALL CHROME.WINDOWS.GETCURRENT","51a83d2ba3a32e3ff1bdb624d4e18ccec4c4038e":"MESSAGE TIMER TIMES HOW LONG IT TAKES TO SEND A MESSAGE TO A CONTENT SCRIPT AND BACK. BROWSER_ACTION POPUP TABS CHROME.EXTENSION.ONCONNECT CHROME.EXTENSION.ONREQUEST CHROME.TABS.CONNECT CHROME.TABS.GET CHROME.TABS.GETSELECTED CHROME.TABS.SENDREQUEST","4f6785ec4f937add6728615682dd37c9a42d9548":"MY BOOKMARKS A BROWSER ACTION WITH A POPUP DUMP OF ALL BOOKMARKS, INCLUDING SEARCH, ADD, EDIT AND DELETE. BOOKMARKS BROWSER_ACTION POPUP TABS CHROME.BOOKMARKS.CREATE CHROME.BOOKMARKS.GET CHROME.BOOKMARKS.GETTREE CHROME.BOOKMARKS.REMOVE CHROME.BOOKMARKS.UPDATE CHROME.TABS.CREATE","597015d3bcce3da693b02314afd607bec4f55291":"NEWS READER DISPLAYS THE FIRST 5 ITEMS FROM THE GOOGLE NEWS - TOP NEWS RSS FEED IN A POPUP. BROWSER_ACTION POPUP TABS CHROME.TABS.CREATE","6444e5c8ae112a6a433909c5e770669cd16e2e5f":"NEWS READER DISPLAYS THE FIRST 5 ITEMS FROM THE GOOGLE NEWS - TOP NEWS RSS FEED IN A POPUP. BROWSER_ACTION POPUP TABS CHROME.I18N.GETMESSAGE CHROME.TABS.CREATE","3aea027164cb9b732ba4a8c51cb93708891726ef":"NEWS READER (BY GOOGLE) DISPLAYS THE LATEST STORIES FROM GOOGLE NEWS IN A POPUP. BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE POPUP TABS CHROME.EXTENSION.GETURL CHROME.I18N.GETMESSAGE CHROME.TABS.CREATE","f799e26ceef2367cf836f24bcb47df4398b0df58":"NOTIFICATION DEMO SHOWS OFF DESKTOP NOTIFICATIONS, WHICH ARE TOAST WINDOWS THAT POP UP ON THE DESKTOP. BACKGROUND_PAGE NOTIFICATIONS OPTIONS_PAGE TABS CHROME.TABS.CREATE","e787b322bddbc6289bb31b7d7550b1bf6456a80b":"OMNIBOX EXAMPLE TO USE, TYPE OMNIX PLUS A SEARCH TERM INTO THE OMNIBOX. BACKGROUND_PAGE CHROME.OMNIBOX.ONINPUTCHANGED CHROME.OMNIBOX.ONINPUTENTERED","8d0a50b57c26bb498be592e871001ffed91541b4":"PAGE ACTION BY CONTENT SHOWS A PAGE ACTION FOR HTML PAGES CONTAINING THE WORD SANDWICH BACKGROUND_PAGE PAGE_ACTION CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.PAGEACTION.SHOW","80b86ccc6e8520660fa591caa565826f0ed1b12c":"PAGE ACTION BY URL SHOWS A PAGE ACTION FOR URLS WHICH HAVE THE LETTER G IN THEM. BACKGROUND_PAGE PAGE_ACTION TABS CHROME.PAGEACTION.SHOW CHROME.TABS.ONUPDATED","d74c3c18a1c1dd18b035149105a306f837c8823e":"PAGE BENCHMARKER CHROMIUM PAGE BENCHMARKER. BACKGROUND_PAGE BROWSER_ACTION OPTIONS_PAGE TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETBADGEBACKGROUNDCOLOR CHROME.BROWSERACTION.SETBADGETEXT CHROME.BROWSERACTION.SETTITLE CHROME.EXTENSION.CONNECT CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.GETEXTENSIONTABS CHROME.EXTENSION.GETURL CHROME.EXTENSION.ONCONNECT CHROME.TABS.CREATE CHROME.TABS.EXECUTESCRIPT CHROME.TABS.GET CHROME.TABS.GETALLINWINDOW CHROME.TABS.GETSELECTED CHROME.TABS.REMOVE CHROME.TABS.UPDATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETCURRENT","e6ae17ab4ccfd7e059c8c01f25760ca5d894c7fd":"PRINT THIS PAGE ADDS A PRINT BUTTON TO THE BROWSER. BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.TABS.UPDATE","beff6ecd9677dea0a7c648c5042165b48bb66f09":"PROCESS MONITOR ADDS A BROWSER ACTION THAT MONITORS RESOURCE USAGE OF ALL BROWSER PROCESSES. BROWSER_ACTION EXPERIMENTAL POPUP TABS CHROME.EXPERIMENTAL.PROCESSES.ONUPDATED","3e8e226d87e431296bb110b4f6eb7eec2ca7a826":"PROXY SETTINGS SET CHROME-SPECIFIC PROXIES; A DEMONSTRATION OF CHROMES PROXY API BACKGROUND_PAGE BROWSER_ACTION EXPERIMENTAL POPUP PROXY CHROME.BROWSERACTION.SETBADGEBACKGROUNDCOLOR CHROME.BROWSERACTION.SETBADGETEXT CHROME.BROWSERACTION.SETTITLE CHROME.EXPERIMENTAL.PROXY.ONPROXYERROR CHROME.EXTENSION.ISALLOWEDINCOGNITOACCESS CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.I18N.GETMESSAGE","56a8d2ac24ca7bba78fd88ad57f43fc13c784497":"SAMPLE - OAUTH CONTACTS USES OAUTH TO CONNECT TO GOOGLES CONTACTS SERVICE AND DISPLAY A LIST OF YOUR CONTACTS. BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETICON CHROME.EXTENSION.GETBACKGROUNDPAGE CHROME.EXTENSION.GETURL CHROME.TABS.CREATE CHROME.TABS.GET CHROME.TABS.GETSELECTED CHROME.TABS.ONUPDATED CHROME.TABS.REMOVE","38f6e1e17756ede38b1364c7114a738ca717dcbb":"SANDWICHBAR SHOWS AN INFOBAR ON PAGES WHICH CONTAIN THE WORD SANDWICH BACKGROUND_PAGE EXPERIMENTAL CHROME.EXPERIMENTAL.INFOBARS.SHOW CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST","fc89b35755483af30b66cd72cefa34a43a3e8312":"SHOW TABS IN PROCESS ADDS A BROWSER ACTION SHOWING WHICH TABS SHARE THE CURRENT TABS PROCESS. BROWSER_ACTION EXPERIMENTAL POPUP TABS CHROME.EXPERIMENTAL.PROCESSES.GETPROCESSIDFORTAB CHROME.TABS.GET CHROME.TABS.GETSELECTED CHROME.TABS.UPDATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETALL CHROME.WINDOWS.GETCURRENT CHROME.WINDOWS.UPDATE","230463f2d5c3d4d0ca13c230e1f00f2aae0a8a64":"TAB INSPECTOR UTILITY FOR WORKING WITH THE EXTENSION TABS API BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.EXTENSION.GETURL CHROME.TABS.CREATE CHROME.TABS.GET CHROME.TABS.GETALLINWINDOW CHROME.TABS.GETSELECTED CHROME.TABS.MOVE CHROME.TABS.ONATTACHED CHROME.TABS.ONCREATED CHROME.TABS.ONDETACHED CHROME.TABS.ONMOVED CHROME.TABS.ONREMOVED CHROME.TABS.ONSELECTIONCHANGED CHROME.TABS.ONUPDATED CHROME.TABS.REMOVE CHROME.TABS.UPDATE CHROME.WINDOWS.CREATE CHROME.WINDOWS.GET CHROME.WINDOWS.GETALL CHROME.WINDOWS.GETCURRENT CHROME.WINDOWS.GETLASTFOCUSED CHROME.WINDOWS.ONCREATED CHROME.WINDOWS.ONFOCUSCHANGED CHROME.WINDOWS.ONREMOVED CHROME.WINDOWS.REMOVE CHROME.WINDOWS.UPDATE","e1697cacebad05218798bf3e8a0f724517f0e8c3":"TEST SCREENSHOT EXTENSION DEMONSTRATE SCREENSHOT FUNCTIONALITY IN THE CHROME.TABS API. BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.EXTENSION.GETURL CHROME.EXTENSION.GETVIEWS CHROME.TABS.CAPTUREVISIBLETAB CHROME.TABS.CREATE CHROME.TABS.ONUPDATED","b3de91ab04b7d7a2670ca7ee9d740eb42cead0b6":"TYPED URL HISTORY READS YOUR HISTORY, AND SHOWS THE TOP TEN PAGES YOU GO TO BY TYPING THE URL. BROWSER_ACTION HISTORY TABS CHROME.HISTORY.GETVISITS CHROME.HISTORY.SEARCH CHROME.TABS.CREATE","a3c674f7eb93621c590562ad3fa04de4f03f53a0":"WEBNAVIGATION TECH DEMO DEMONSTRATION OF THE WEBNAVIGATION EXTENSION API. BACKGROUND_PAGE BROWSER_ACTION EXPERIMENTAL EXTENSION POPUP WEBNAVIGATION CHROME.EXPERIMENTAL.WEBNAVIGATION.ONBEFORENAVIGATE CHROME.EXPERIMENTAL.WEBNAVIGATION.ONBEFORERETARGET CHROME.EXPERIMENTAL.WEBNAVIGATION.ONCOMMITTED CHROME.EXPERIMENTAL.WEBNAVIGATION.ONCOMPLETED CHROME.EXPERIMENTAL.WEBNAVIGATION.ONERROROCCURRED CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.I18N.GETMESSAGE","0fa4abe6545f0316fea7cfa07c53aa48c4f3d018":"`EXTENSION.ISALLOWED???ACCESS` EXAMPLE DEMONSTRATES THE `EXTENSION.ISALLOWED???ACCESS` APIS BROWSER_ACTION CHROME.EXTENSION.ISALLOWEDFILESCHEMEACCESS CHROME.EXTENSION.ISALLOWEDINCOGNITOACCESS"}</script>
<script src="js/sample_search.js"></script>
<div id="controls">
<div id="searchbox" class="controlbox">
<strong>Filter by keyword:</strong>
<input autofocus="" type="search" id="searchinput" placeholder="Type to search" onkeyup="filterSamples();">
<a id="clearlink" href="javascript:void(0);" onclick="clearFilter();" style="display: none;">clear</a>
</div>
<div id="filterbox" class="controlbox">
<strong>Filter by API:</strong>
<span>
<span>
<a href="javascript:void(0);" onclick="setFilter('chrome.bookmarks', this)">chrome.bookmarks</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.browserAction', this)">chrome.browserAction</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.contextMenus', this)">chrome.contextMenus</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.cookies', this)">chrome.cookies</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.experimental', this)">chrome.experimental</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.extension', this)">chrome.extension</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.history', this)">chrome.history</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.i18n', this)">chrome.i18n</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.idle', this)">chrome.idle</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.management', this)">chrome.management</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.omnibox', this)">chrome.omnibox</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.pageAction', this)">chrome.pageAction</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.tabs', this)">chrome.tabs</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.windows', this)">chrome.windows</a><span style="display: none; ">, </span>
</span>
</span>
</div>
</div>
<div class="sample" id="0262260daf0c8f7b28feff2ef23b05e7abf9d1e0">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#0262260daf0c8f7b28feff2ef23b05e7abf9d1e0">A browser action which changes its icon when clicked.</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p></p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="browserAction.html#method-setIcon">chrome.browserAction.setIcon</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/browserAction/set_icon_path/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/browserAction/set_icon_path/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/browserAction/set_icon_path/">Browse source</a>
- <a href="examples/api/browserAction/set_icon_path.zip">Download source</a>
</div>
</div><div class="sample" id="ea2894c41cb8e80a4433a3e6c5772dadce9be90d">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#ea2894c41cb8e80a4433a3e6c5772dadce9be90d">A browser action with a popup that changes the page color.</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p></p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="tabs.html#method-executeScript">chrome.tabs.executeScript</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/browserAction/set_page_color/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/browserAction/set_page_color/popup.html?content-type=text/plain">popup.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/browserAction/set_page_color/">Browse source</a>
- <a href="examples/api/browserAction/set_page_color.zip">Download source</a>
</div>
</div><div class="sample" id="ede3c47b7757245be42ec33fd5ca63df4b490066">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#ede3c47b7757245be42ec33fd5ca63df4b490066">A browser action with no icon that makes the page red</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p></p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeBackgroundColor">chrome.browserAction.setBadgeBackgroundColor</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="tabs.html#method-executeScript">chrome.tabs.executeScript</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/browserAction/make_page_red/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/browserAction/make_page_red/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/browserAction/make_page_red/">Browse source</a>
- <a href="examples/api/browserAction/make_page_red.zip">Download source</a>
</div>
</div><div class="sample" id="fbf0aa1a09a15ff8cc4fc7de4fd176d6c663d07a">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#fbf0aa1a09a15ff8cc4fc7de4fd176d6c663d07a">AcceptLanguage</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Returns accept languages of the browser</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="i18n.html#method-getAcceptLanguages">chrome.i18n.getAcceptLanguages</a></code>
</li><li>
<code><a href="i18n.html#method-getMessage">chrome.i18n.getMessage</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/i18n/getMessage/_locales/en_US/messages.json?content-type=text/plain">_locales/en_US/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/i18n/getMessage/_locales/es/messages.json?content-type=text/plain">_locales/es/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/i18n/getMessage/_locales/sr/messages.json?content-type=text/plain">_locales/sr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/i18n/getMessage/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/i18n/getMessage/popup.html?content-type=text/plain">popup.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/i18n/getMessage/">Browse source</a>
- <a href="examples/api/i18n/getMessage.zip">Download source</a>
</div>
</div><div class="sample" id="9a6e4ec46997fb92b324974afa08a3d007e2537f">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#9a6e4ec46997fb92b324974afa08a3d007e2537f">Animated Page Action</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>page_action</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>This extension adds an animated browser action to the toolbar.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="pageAction.html#method-hide">chrome.pageAction.hide</a></code>
</li><li>
<code><a href="pageAction.html#event-onClicked">chrome.pageAction.onClicked</a></code>
</li><li>
<code><a href="pageAction.html#method-setIcon">chrome.pageAction.setIcon</a></code>
</li><li>
<code><a href="pageAction.html#method-setTitle">chrome.pageAction.setTitle</a></code>
</li><li>
<code><a href="pageAction.html#method-show">chrome.pageAction.show</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getSelected">chrome.tabs.getSelected</a></code>
</li><li>
<code><a href="tabs.html#event-onSelectionChanged">chrome.tabs.onSelectionChanged</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/pageAction/set_icon/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/pageAction/set_icon/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/pageAction/set_icon/">Browse source</a>
- <a href="examples/api/pageAction/set_icon.zip">Download source</a>
</div>
</div><div class="sample" id="a1f7cf79dd555b04fa8d603247a040e644996293">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#a1f7cf79dd555b04fa8d603247a040e644996293">App Launcher</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>management</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p></p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="management.html#method-get">chrome.management.get</a></code>
</li><li>
<code><a href="management.html#method-getAll">chrome.management.getAll</a></code>
</li><li>
<code><a href="management.html#method-launchApp">chrome.management.launchApp</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/app_launcher/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/app_launcher/popup.css?content-type=text/plain">popup.css</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/app_launcher/popup.html?content-type=text/plain">popup.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/app_launcher/popup.js?content-type=text/plain">popup.js</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/app_launcher/">Browse source</a>
- <a href="examples/extensions/app_launcher.zip">Download source</a>
</div>
</div><div class="sample" id="9747e3d6a3eab39bc7c17f11a80573c62d44c7e5">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#9747e3d6a3eab39bc7c17f11a80573c62d44c7e5">Blank new tab page</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>chrome_url_overrides</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p></p>
<div class="apicalls" style="display: none; "><strong>Calls:</strong>
<ul>
<li>
<code><a></a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/override/blank_ntp/blank.html?content-type=text/plain">blank.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/override/blank_ntp/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/override/blank_ntp/">Browse source</a>
- <a href="examples/api/override/blank_ntp.zip">Download source</a>
</div>
</div><div class="sample" id="903e7277139e1e6caec123d3319cab295d8d1b3a">
<img class="icon" src="examples/extensions/fx/icon.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#903e7277139e1e6caec123d3319cab295d8d1b3a">Chrome Sounds</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>bookmarks</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>options_page</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Enjoy a more magical and immersive experience when browsing the web using the power of sound.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="bookmarks.html#event-onCreated">chrome.bookmarks.onCreated</a></code>
</li><li>
<code><a href="bookmarks.html#event-onMoved">chrome.bookmarks.onMoved</a></code>
</li><li>
<code><a href="bookmarks.html#event-onRemoved">chrome.bookmarks.onRemoved</a></code>
</li><li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#event-onAttached">chrome.tabs.onAttached</a></code>
</li><li>
<code><a href="tabs.html#event-onCreated">chrome.tabs.onCreated</a></code>
</li><li>
<code><a href="tabs.html#event-onDetached">chrome.tabs.onDetached</a></code>
</li><li>
<code><a href="tabs.html#event-onMoved">chrome.tabs.onMoved</a></code>
</li><li>
<code><a href="tabs.html#event-onRemoved">chrome.tabs.onRemoved</a></code>
</li><li>
<code><a href="tabs.html#event-onSelectionChanged">chrome.tabs.onSelectionChanged</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li><li>
<code><a href="windows.html#event-onCreated">chrome.windows.onCreated</a></code>
</li><li>
<code><a href="windows.html#event-onFocusChanged">chrome.windows.onFocusChanged</a></code>
</li><li>
<code><a href="windows.html#event-onRemoved">chrome.windows.onRemoved</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/fx/bg.html?content-type=text/plain">bg.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/fx/bg.js?content-type=text/plain">bg.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/fx/content.js?content-type=text/plain">content.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/fx/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/fx/options.html?content-type=text/plain">options.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/fx/">Browse source</a>
- <a href="examples/extensions/fx.zip">Download source</a>
</div>
</div><div class="sample" id="0e790e035a4a00b6f1def5ef9a7d7be1bce95ab5">
<img class="icon" src="examples/extensions/buildbot/icon.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#0e790e035a4a00b6f1def5ef9a7d7be1bce95ab5">Chromium Buildbot Monitor</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>notifications</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>options_page</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Displays the status of the Chromium buildbot in the toolbar. Click to see more detailed status in a popup.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#method-setBadgeBackgroundColor">chrome.browserAction.setBadgeBackgroundColor</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="browserAction.html#method-setTitle">chrome.browserAction.setTitle</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/buildbot/bg.html?content-type=text/plain">bg.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/buildbot/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/buildbot/options.html?content-type=text/plain">options.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/buildbot/popup.html?content-type=text/plain">popup.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/buildbot/">Browse source</a>
- <a href="examples/extensions/buildbot.zip">Download source</a>
</div>
</div><div class="sample" id="ac31228200b41a87982e386cc90d3a6eee4ad885">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#ac31228200b41a87982e386cc90d3a6eee4ad885">Chromium Search</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Add support to the omnibox to search the Chromium source code.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="omnibox.html#event-onInputCancelled">chrome.omnibox.onInputCancelled</a></code>
</li><li>
<code><a href="omnibox.html#event-onInputChanged">chrome.omnibox.onInputChanged</a></code>
</li><li>
<code><a href="omnibox.html#event-onInputEntered">chrome.omnibox.onInputEntered</a></code>
</li><li>
<code><a href="omnibox.html#event-onInputStarted">chrome.omnibox.onInputStarted</a></code>
</li><li>
<code><a href="omnibox.html#method-setDefaultSuggestion">chrome.omnibox.setDefaultSuggestion</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getSelected">chrome.tabs.getSelected</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/chrome_search/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/chrome_search/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/chrome_search/">Browse source</a>
- <a href="examples/extensions/chrome_search.zip">Download source</a>
</div>
</div><div class="sample" id="7d5d6cf195bc25480256618e360aa38c6e6fba82">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#7d5d6cf195bc25480256618e360aa38c6e6fba82">CLD</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Displays the language of a tab</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="tabs.html#method-detectLanguage">chrome.tabs.detectLanguage</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getSelected">chrome.tabs.getSelected</a></code>
</li><li>
<code><a href="tabs.html#event-onSelectionChanged">chrome.tabs.onSelectionChanged</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/i18n/cld/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/i18n/cld/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/i18n/cld/">Browse source</a>
- <a href="examples/api/i18n/cld.zip">Download source</a>
</div>
</div><div class="sample" id="5d81304a17cf7ac2887484f730fbd2b01e51e166">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#5d81304a17cf7ac2887484f730fbd2b01e51e166">Context Menus Sample</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>contextMenus</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Shows some of the features of the Context Menus API</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="contextMenus.html#method-create">chrome.contextMenus.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/contextMenus/basic/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/contextMenus/basic/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/contextMenus/basic/sample.js?content-type=text/plain">sample.js</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/contextMenus/basic/">Browse source</a>
- <a href="examples/api/contextMenus/basic.zip">Download source</a>
</div>
</div><div class="sample" id="4daa6becd0899a54776d9cf7f09613ed1a9f4d77">
<img class="icon" src="examples/api/cookies/cookie.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#4daa6becd0899a54776d9cf7f09613ed1a9f4d77">Cookie API Test Extension</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>cookies</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Testing Cookie API</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="cookies.html#method-get">chrome.cookies.get</a></code>
</li><li>
<code><a href="cookies.html#method-getAll">chrome.cookies.getAll</a></code>
</li><li>
<code><a href="cookies.html#event-onChanged">chrome.cookies.onChanged</a></code>
</li><li>
<code><a href="cookies.html#method-remove">chrome.cookies.remove</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li><li>
<code><a href="windows.html#method-get">chrome.windows.get</a></code>
</li><li>
<code><a href="windows.html#method-getAll">chrome.windows.getAll</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/cookies/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/cookies/manager.html?content-type=text/plain">manager.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/cookies/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/cookies/">Browse source</a>
- <a href="examples/api/cookies.zip">Download source</a>
</div>
</div><div class="sample" id="6871d09f4a96bf9d4b6cc724d00e909cee0f3902">
<img class="icon" src="examples/howto/contentscript_xhr/sample-128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#6871d09f4a96bf9d4b6cc724d00e909cee0f3902">Cross-domain XMLHttpRequest from a content script</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Demonstrates a method to make a cross-domain XMLHttpRequest fetch from a content script. This extension fetches the current trending topics from Twitter and inserts them in an overlay at the top of Google News. Visit http://news.google.com to test this extension.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/howto/contentscript_xhr/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/howto/contentscript_xhr/contentscript.js?content-type=text/plain">contentscript.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/howto/contentscript_xhr/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/howto/contentscript_xhr/">Browse source</a>
- <a href="examples/howto/contentscript_xhr.zip">Download source</a>
</div>
</div><div class="sample" id="028eb5364924344029bcbe1d527f132fc72b34e5">
<img class="icon" src="examples/extensions/email_this_page/mail_128x128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#028eb5364924344029bcbe1d527f132fc72b34e5">Email this page (by Google)</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>options_page</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>This extension adds an email button to the toolbar which allows you to email the page link using your default mail client or Gmail.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="extension.html#method-connect">chrome.extension.connect</a></code>
</li><li>
<code><a href="extension.html#event-onConnect">chrome.extension.onConnect</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-executeScript">chrome.tabs.executeScript</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/email_this_page/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/email_this_page/content_script.js?content-type=text/plain">content_script.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/email_this_page/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/email_this_page/options.html?content-type=text/plain">options.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/email_this_page/">Browse source</a>
- <a href="examples/extensions/email_this_page.zip">Download source</a>
</div>
</div><div class="sample" id="0bf0930a32829dfb77170535ecb27adc2de3998a">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#0bf0930a32829dfb77170535ecb27adc2de3998a">Enable/disable referrers API example extension</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>contentSettings</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>experimental</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Sample extension which demonstrates how to access a preference.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#method-isAllowedIncognitoAccess">chrome.extension.isAllowedIncognitoAccess</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/popup.html?content-type=text/plain">popup.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/preferences/enableReferrer/">Browse source</a>
- <a href="examples/api/preferences/enableReferrer.zip">Download source</a>
</div>
</div><div class="sample" id="763a08e9b06595d785568a8d392b95a2f3700258">
<img class="icon" src="examples/tutorials/analytics/analytics-extension-icon-128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#763a08e9b06595d785568a8d392b95a2f3700258">Event Tracking with Google Analytics</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>A sample extension which uses Google Analytics to track usage.</p>
<div class="apicalls" style="display: none; "><strong>Calls:</strong>
<ul>
<li>
<code><a></a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/tutorials/analytics/analytics.js?content-type=text/plain">analytics.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/tutorials/analytics/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/tutorials/analytics/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/tutorials/analytics/popup.html?content-type=text/plain">popup.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/tutorials/analytics/">Browse source</a>
- <a href="examples/tutorials/analytics.zip">Download source</a>
</div>
</div><div class="sample" id="e3df888a89e35bdeb9c8bc8d03be5e1851b97c68">
<img class="icon" src="examples/api/omnibox/extension-docs/icon-128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#e3df888a89e35bdeb9c8bc8d03be5e1851b97c68">Extension Docs Search</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Search the Chrome Extensions documentation. To use, type 'crdoc' plus a search term into the Omnibox.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="omnibox.html#event-onInputChanged">chrome.omnibox.onInputChanged</a></code>
</li><li>
<code><a href="omnibox.html#event-onInputEntered">chrome.omnibox.onInputEntered</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#event-onRemoved">chrome.tabs.onRemoved</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/omnibox/extension-docs/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/omnibox/extension-docs/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/omnibox/extension-docs/">Browse source</a>
- <a href="examples/api/omnibox/extension-docs.zip">Download source</a>
</div>
</div><div class="sample" id="8b0dd31216235941bdd8eb33fda915ef5cf79a82">
<img class="icon" src="examples/extensions/calendar/images/icon-128.gif">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#8b0dd31216235941bdd8eb33fda915ef5cf79a82">Google Calendar Checker (by Google)</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>options_page</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Quickly see the time until your next meeting from any of your calendars. Click on the button to be taken to your calendar.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeBackgroundColor">chrome.browserAction.setBadgeBackgroundColor</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="browserAction.html#method-setIcon">chrome.browserAction.setIcon</a></code>
</li><li>
<code><a href="browserAction.html#method-setTitle">chrome.browserAction.setTitle</a></code>
</li><li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="i18n.html#method-getMessage">chrome.i18n.getMessage</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getAllInWindow">chrome.tabs.getAllInWindow</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/calendar/_locales/en/messages.json?content-type=text/plain">_locales/en/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/calendar/javascript/background.js?content-type=text/plain">javascript/background.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/calendar/javascript/options.js?content-type=text/plain">javascript/options.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/calendar/javascript/util.js?content-type=text/plain">javascript/util.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/calendar/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/calendar/views/background.html?content-type=text/plain">views/background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/calendar/views/options.html?content-type=text/plain">views/options.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/calendar/">Browse source</a>
- <a href="examples/extensions/calendar.zip">Download source</a>
</div>
</div><div class="sample" id="4e35caa9742fb82dbd628892d23a781614f6eff6">
<img class="icon" src="examples/extensions/gdocs/img/docs_spreadsheets-128.gif">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#4e35caa9742fb82dbd628892d23a781614f6eff6">Google Document List Viewer</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>options_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Demonstrates how to use OAuth to connect the Google Documents List Data API.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getSelected">chrome.tabs.getSelected</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li><li>
<code><a href="tabs.html#method-remove">chrome.tabs.remove</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gdocs/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gdocs/chrome_ex_oauth.html?content-type=text/plain">chrome_ex_oauth.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gdocs/chrome_ex_oauth.js?content-type=text/plain">chrome_ex_oauth.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gdocs/chrome_ex_oauthsimple.js?content-type=text/plain">chrome_ex_oauthsimple.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gdocs/js/jquery-1.4.1.min.js?content-type=text/plain">js/jquery-1.4.1.min.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gdocs/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gdocs/options.html?content-type=text/plain">options.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gdocs/popup.html?content-type=text/plain">popup.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gdocs/">Browse source</a>
- <a href="examples/extensions/gdocs.zip">Download source</a>
</div>
</div><div class="sample" id="bb57f7a0132cbeb36ad7e7bb0ab75c21704234ca">
<img class="icon" src="examples/extensions/gmail/icon_128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#bb57f7a0132cbeb36ad7e7bb0ab75c21704234ca">Google Mail Checker</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>options_page</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Displays the number of unread messages in your Google Mail inbox. You can also click the button to open your inbox.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeBackgroundColor">chrome.browserAction.setBadgeBackgroundColor</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="browserAction.html#method-setIcon">chrome.browserAction.setIcon</a></code>
</li><li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="i18n.html#method-getMessage">chrome.i18n.getMessage</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getAllInWindow">chrome.tabs.getAllInWindow</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/ar/messages.json?content-type=text/plain">_locales/ar/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/bg/messages.json?content-type=text/plain">_locales/bg/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/ca/messages.json?content-type=text/plain">_locales/ca/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/cs/messages.json?content-type=text/plain">_locales/cs/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/da/messages.json?content-type=text/plain">_locales/da/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/de/messages.json?content-type=text/plain">_locales/de/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/el/messages.json?content-type=text/plain">_locales/el/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/en/messages.json?content-type=text/plain">_locales/en/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/en_GB/messages.json?content-type=text/plain">_locales/en_GB/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/es/messages.json?content-type=text/plain">_locales/es/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/es_419/messages.json?content-type=text/plain">_locales/es_419/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/et/messages.json?content-type=text/plain">_locales/et/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/fi/messages.json?content-type=text/plain">_locales/fi/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/fil/messages.json?content-type=text/plain">_locales/fil/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/fr/messages.json?content-type=text/plain">_locales/fr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/he/messages.json?content-type=text/plain">_locales/he/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/hi/messages.json?content-type=text/plain">_locales/hi/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/hr/messages.json?content-type=text/plain">_locales/hr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/hu/messages.json?content-type=text/plain">_locales/hu/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/id/messages.json?content-type=text/plain">_locales/id/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/it/messages.json?content-type=text/plain">_locales/it/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/ja/messages.json?content-type=text/plain">_locales/ja/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/ko/messages.json?content-type=text/plain">_locales/ko/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/lt/messages.json?content-type=text/plain">_locales/lt/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/lv/messages.json?content-type=text/plain">_locales/lv/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/nb/messages.json?content-type=text/plain">_locales/nb/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/nl/messages.json?content-type=text/plain">_locales/nl/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/pl/messages.json?content-type=text/plain">_locales/pl/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/pt_BR/messages.json?content-type=text/plain">_locales/pt_BR/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/pt_PT/messages.json?content-type=text/plain">_locales/pt_PT/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/ro/messages.json?content-type=text/plain">_locales/ro/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/ru/messages.json?content-type=text/plain">_locales/ru/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/sk/messages.json?content-type=text/plain">_locales/sk/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/sl/messages.json?content-type=text/plain">_locales/sl/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/sr/messages.json?content-type=text/plain">_locales/sr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/sv/messages.json?content-type=text/plain">_locales/sv/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/th/messages.json?content-type=text/plain">_locales/th/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/tr/messages.json?content-type=text/plain">_locales/tr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/uk/messages.json?content-type=text/plain">_locales/uk/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/vi/messages.json?content-type=text/plain">_locales/vi/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/zh_CN/messages.json?content-type=text/plain">_locales/zh_CN/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/_locales/zh_TW/messages.json?content-type=text/plain">_locales/zh_TW/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/options.html?content-type=text/plain">options.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/gmail/">Browse source</a>
- <a href="examples/extensions/gmail.zip">Download source</a>
</div>
</div><div class="sample" id="1682e05ea9a1bde985123b04f6f8ac50a8a64033">
<img class="icon" src="examples/extensions/wave/128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#1682e05ea9a1bde985123b04f6f8ac50a8a64033">Google Wave Notifier</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>options_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Find out when you have new waves and preview them fast.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getSelected">chrome.tabs.getSelected</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li><li>
<code><a href="tabs.html#method-remove">chrome.tabs.remove</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/wave/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/wave/chrome_ex_oauth.html?content-type=text/plain">chrome_ex_oauth.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/wave/chrome_ex_oauth.js?content-type=text/plain">chrome_ex_oauth.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/wave/chrome_ex_oauthsimple.js?content-type=text/plain">chrome_ex_oauthsimple.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/wave/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/wave/options.html?content-type=text/plain">options.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/wave/popup.html?content-type=text/plain">popup.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/wave/prettyload.js?content-type=text/plain">prettyload.js</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/wave/">Browse source</a>
- <a href="examples/extensions/wave.zip">Download source</a>
</div>
</div><div class="sample" id="14b9651fda4e57b2a5914ba73a779812201b750a">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#14b9651fda4e57b2a5914ba73a779812201b750a">Hello World</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>The first extension that I made.</p>
<div class="apicalls" style="display: none; "><strong>Calls:</strong>
<ul>
<li>
<code><a></a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/tutorials/getstarted/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/tutorials/getstarted/popup.html?content-type=text/plain">popup.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/tutorials/getstarted/">Browse source</a>
- <a href="examples/tutorials/getstarted.zip">Download source</a>
</div>
</div><div class="sample" id="2020d72f2577f53caf8e94e3dbac0fb849ceaa4d">
<img class="icon" src="examples/api/idle/idle_simple/sample-128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#2020d72f2577f53caf8e94e3dbac0fb849ceaa4d">Idle - Simple Example</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>idle</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Demonstrates the Idle API</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="idle.html#event-onStateChanged">chrome.idle.onStateChanged</a></code>
</li><li>
<code><a href="idle.html#method-queryState">chrome.idle.queryState</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/idle/idle_simple/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/idle/idle_simple/history.html?content-type=text/plain">history.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/idle/idle_simple/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/idle/idle_simple/">Browse source</a>
- <a href="examples/api/idle/idle_simple.zip">Download source</a>
</div>
</div><div class="sample" id="0ea1588bd07b20338fc21f725de1542a5fdf9726">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#0ea1588bd07b20338fc21f725de1542a5fdf9726">iGoogle new tab page</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>chrome_url_overrides</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p></p>
<div class="apicalls" style="display: none; "><strong>Calls:</strong>
<ul>
<li>
<code><a></a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/override/override_igoogle/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/override/override_igoogle/redirect.html?content-type=text/plain">redirect.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/override/override_igoogle/">Browse source</a>
- <a href="examples/api/override/override_igoogle.zip">Download source</a>
</div>
</div><div class="sample" id="646325c25f572a1d15edc73d057f821d847a4fbe">
<img class="icon" src="examples/extensions/imageinfo/imageinfo-128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#646325c25f572a1d15edc73d057f821d847a4fbe">Imageinfo</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>contextMenus</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Get image info for images, including EXIF data</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="contextMenus.html#method-create">chrome.contextMenus.create</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getCurrent">chrome.tabs.getCurrent</a></code>
</li><li>
<code><a href="windows.html#method-create">chrome.windows.create</a></code>
</li><li>
<code><a href="windows.html#method-update">chrome.windows.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/imageinfo/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/binaryajax.js?content-type=text/plain">imageinfo/binaryajax.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/exif.js?content-type=text/plain">imageinfo/exif.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/imageinfo.js?content-type=text/plain">imageinfo/imageinfo.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/imageinfo/info.html?content-type=text/plain">info.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/imageinfo/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/imageinfo/">Browse source</a>
- <a href="examples/extensions/imageinfo.zip">Download source</a>
</div>
</div><div class="sample" id="65b2fe595b7ac38dddd89cca50f5efd0017b0bd4">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#65b2fe595b7ac38dddd89cca50f5efd0017b0bd4">Keyboard Pin</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Creates a keyboard shortcut (C + Shift + P) to toggle the pinned state of the currently selected tab</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getSelected">chrome.tabs.getSelected</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/pin/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/pin/inject.js?content-type=text/plain">inject.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/pin/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/pin/">Browse source</a>
- <a href="examples/api/tabs/pin.zip">Download source</a>
</div>
</div><div class="sample" id="ec97ec20ca2f095d081e39f1565fc12af09ef067">
<img class="icon" src="examples/extensions/mappy/icon.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#ec97ec20ca2f095d081e39f1565fc12af09ef067">Mappy</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>page_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Finds addresses in the web page you're on and pops up a map window.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="pageAction.html#method-hide">chrome.pageAction.hide</a></code>
</li><li>
<code><a href="pageAction.html#method-setTitle">chrome.pageAction.setTitle</a></code>
</li><li>
<code><a href="pageAction.html#method-show">chrome.pageAction.show</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getSelected">chrome.tabs.getSelected</a></code>
</li><li>
<code><a href="tabs.html#event-onSelectionChanged">chrome.tabs.onSelectionChanged</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li><li>
<code><a href="tabs.html#method-sendRequest">chrome.tabs.sendRequest</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/mappy/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/mappy/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/mappy/mappy_content_script.js?content-type=text/plain">mappy_content_script.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/mappy/popup.html?content-type=text/plain">popup.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/mappy/">Browse source</a>
- <a href="examples/extensions/mappy.zip">Download source</a>
</div>
</div><div class="sample" id="b2f5f8a790e16f091a7e4e0a39b2d0a6d32e3a6d">
<img class="icon" src="examples/api/windows/merge_windows/merge_windows_128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#b2f5f8a790e16f091a7e4e0a39b2d0a6d32e3a6d">Merge Windows</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Merges all of the browser's windows into the current window</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getAllInWindow">chrome.tabs.getAllInWindow</a></code>
</li><li>
<code><a href="tabs.html#method-move">chrome.tabs.move</a></code>
</li><li>
<code><a href="windows.html#method-get">chrome.windows.get</a></code>
</li><li>
<code><a href="windows.html#method-getAll">chrome.windows.getAll</a></code>
</li><li>
<code><a href="windows.html#method-getCurrent">chrome.windows.getCurrent</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/windows/merge_windows/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/windows/merge_windows/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/windows/merge_windows/">Browse source</a>
- <a href="examples/api/windows/merge_windows.zip">Download source</a>
</div>
</div><div class="sample" id="51a83d2ba3a32e3ff1bdb624d4e18ccec4c4038e">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#51a83d2ba3a32e3ff1bdb624d4e18ccec4c4038e">Message Timer</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Times how long it takes to send a message to a content script and back.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#event-onConnect">chrome.extension.onConnect</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="tabs.html#method-connect">chrome.tabs.connect</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getSelected">chrome.tabs.getSelected</a></code>
</li><li>
<code><a href="tabs.html#method-sendRequest">chrome.tabs.sendRequest</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/messaging/timer/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/messaging/timer/page.js?content-type=text/plain">page.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/messaging/timer/popup.html?content-type=text/plain">popup.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/messaging/timer/">Browse source</a>
- <a href="examples/api/messaging/timer.zip">Download source</a>
</div>
</div><div class="sample" id="4f6785ec4f937add6728615682dd37c9a42d9548">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#4f6785ec4f937add6728615682dd37c9a42d9548">My Bookmarks</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>bookmarks</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>A browser action with a popup dump of all bookmarks, including search, add, edit and delete.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="bookmarks.html#method-create">chrome.bookmarks.create</a></code>
</li><li>
<code><a href="bookmarks.html#method-get">chrome.bookmarks.get</a></code>
</li><li>
<code><a href="bookmarks.html#method-getTree">chrome.bookmarks.getTree</a></code>
</li><li>
<code><a href="bookmarks.html#method-remove">chrome.bookmarks.remove</a></code>
</li><li>
<code><a href="bookmarks.html#method-update">chrome.bookmarks.update</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/bookmarks/basic/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/bookmarks/basic/popup.html?content-type=text/plain">popup.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/bookmarks/basic/">Browse source</a>
- <a href="examples/api/bookmarks/basic.zip">Download source</a>
</div>
</div><div class="sample" id="597015d3bcce3da693b02314afd607bec4f55291">
<img class="icon" src="examples/extensions/news_a11y/news_icon.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#597015d3bcce3da693b02314afd607bec4f55291">News Reader</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Displays the first 5 items from the 'Google News - top news' RSS feed in a popup.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news_a11y/feed.html?content-type=text/plain">feed.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news_a11y/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news_a11y/">Browse source</a>
- <a href="examples/extensions/news_a11y.zip">Download source</a>
</div>
</div><div class="sample" id="6444e5c8ae112a6a433909c5e770669cd16e2e5f">
<img class="icon" src="examples/extensions/news_i18n/news_icon.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#6444e5c8ae112a6a433909c5e770669cd16e2e5f">News Reader</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Displays the first 5 items from the 'Google News - top news' RSS feed in a popup.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="i18n.html#method-getMessage">chrome.i18n.getMessage</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news_i18n/_locales/en/messages.json?content-type=text/plain">_locales/en/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news_i18n/_locales/es/messages.json?content-type=text/plain">_locales/es/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news_i18n/_locales/sr/messages.json?content-type=text/plain">_locales/sr/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news_i18n/feed.html?content-type=text/plain">feed.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news_i18n/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news_i18n/">Browse source</a>
- <a href="examples/extensions/news_i18n.zip">Download source</a>
</div>
</div><div class="sample" id="3aea027164cb9b732ba4a8c51cb93708891726ef">
<img class="icon" src="examples/extensions/news/images/news_icon.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#3aea027164cb9b732ba4a8c51cb93708891726ef">News Reader (by Google)</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>options_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Displays the latest stories from Google News in a popup.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="i18n.html#method-getMessage">chrome.i18n.getMessage</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news/_locales/en/messages.json?content-type=text/plain">_locales/en/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news/css/feed.css?content-type=text/plain">css/feed.css</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news/css/options.css?content-type=text/plain">css/options.css</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news/javascript/feed.js?content-type=text/plain">javascript/feed.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news/javascript/options.js?content-type=text/plain">javascript/options.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news/javascript/util.js?content-type=text/plain">javascript/util.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news/views/background.html?content-type=text/plain">views/background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news/views/feed.html?content-type=text/plain">views/feed.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news/views/options.html?content-type=text/plain">views/options.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/news/">Browse source</a>
- <a href="examples/extensions/news.zip">Download source</a>
</div>
</div><div class="sample" id="f799e26ceef2367cf836f24bcb47df4398b0df58">
<img class="icon" src="examples/api/notifications/128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#f799e26ceef2367cf836f24bcb47df4398b0df58">Notification Demo</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>notifications</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>options_page</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Shows off desktop notifications, which are "toast" windows that pop up on the desktop.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/notifications/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/notifications/error.html?content-type=text/plain">error.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/notifications/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/notifications/options.html?content-type=text/plain">options.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/notifications/">Browse source</a>
- <a href="examples/api/notifications.zip">Download source</a>
</div>
</div><div class="sample" id="e787b322bddbc6289bb31b7d7550b1bf6456a80b">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#e787b322bddbc6289bb31b7d7550b1bf6456a80b">Omnibox Example</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>To use, type 'omnix' plus a search term into the Omnibox.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="omnibox.html#event-onInputChanged">chrome.omnibox.onInputChanged</a></code>
</li><li>
<code><a href="omnibox.html#event-onInputEntered">chrome.omnibox.onInputEntered</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/omnibox/simple-example/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/omnibox/simple-example/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/omnibox/simple-example/">Browse source</a>
- <a href="examples/api/omnibox/simple-example.zip">Download source</a>
</div>
</div><div class="sample" id="8d0a50b57c26bb498be592e871001ffed91541b4">
<img class="icon" src="examples/api/pageAction/pageaction_by_content/sandwich-128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#8d0a50b57c26bb498be592e871001ffed91541b4">Page action by content</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>page_action</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Shows a page action for HTML pages containing the word 'sandwich'</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="pageAction.html#method-show">chrome.pageAction.show</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_content/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_content/contentscript.js?content-type=text/plain">contentscript.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_content/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_content/">Browse source</a>
- <a href="examples/api/pageAction/pageaction_by_content.zip">Download source</a>
</div>
</div><div class="sample" id="80b86ccc6e8520660fa591caa565826f0ed1b12c">
<img class="icon" src="examples/api/pageAction/pageaction_by_url/icon-128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#80b86ccc6e8520660fa591caa565826f0ed1b12c">Page action by URL</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>page_action</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Shows a page action for urls which have the letter 'g' in them.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="pageAction.html#method-show">chrome.pageAction.show</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_url/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_url/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_url/">Browse source</a>
- <a href="examples/api/pageAction/pageaction_by_url.zip">Download source</a>
</div>
</div><div class="sample" id="d74c3c18a1c1dd18b035149105a306f837c8823e">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#d74c3c18a1c1dd18b035149105a306f837c8823e">Page Benchmarker</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>options_page</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Chromium Page Benchmarker.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeBackgroundColor">chrome.browserAction.setBadgeBackgroundColor</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="browserAction.html#method-setTitle">chrome.browserAction.setTitle</a></code>
</li><li>
<code><a href="extension.html#method-connect">chrome.extension.connect</a></code>
</li><li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="extension.html#method-getExtensionTabs">chrome.extension.getExtensionTabs</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="extension.html#event-onConnect">chrome.extension.onConnect</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-executeScript">chrome.tabs.executeScript</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getAllInWindow">chrome.tabs.getAllInWindow</a></code>
</li><li>
<code><a href="tabs.html#method-getSelected">chrome.tabs.getSelected</a></code>
</li><li>
<code><a href="tabs.html#method-remove">chrome.tabs.remove</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li><li>
<code><a href="windows.html#method-get">chrome.windows.get</a></code>
</li><li>
<code><a href="windows.html#method-getCurrent">chrome.windows.getCurrent</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/jquery/jquery-1.4.2.min.js?content-type=text/plain">jquery/jquery-1.4.2.min.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/jquery/jquery-ui-1.8.4.custom.min.js?content-type=text/plain">jquery/jquery-ui-1.8.4.custom.min.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/jquery/jquery.client.js?content-type=text/plain">jquery/jquery.client.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/jquery/jquery.flot.dashes.js?content-type=text/plain">jquery/jquery.flot.dashes.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/jquery/jquery.flot.js?content-type=text/plain">jquery/jquery.flot.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/jquery/jquery.flot.min.js?content-type=text/plain">jquery/jquery.flot.min.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/jquery/jquery.flot.navigate.js?content-type=text/plain">jquery/jquery.flot.navigate.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/jquery/jquery.flot.valuelabels.js?content-type=text/plain">jquery/jquery.flot.valuelabels.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/jst/jsevalcontext.js?content-type=text/plain">jst/jsevalcontext.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/jst/jstemplate.js?content-type=text/plain">jst/jstemplate.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/jst/jstemplate_test.js?content-type=text/plain">jst/jstemplate_test.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/jst/util.js?content-type=text/plain">jst/util.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/options.html?content-type=text/plain">options.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/script.js?content-type=text/plain">script.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/util/sorttable.js?content-type=text/plain">util/sorttable.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/util/table2CSV.js?content-type=text/plain">util/table2CSV.js</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/benchmark/">Browse source</a>
- <a href="examples/extensions/benchmark.zip">Download source</a>
</div>
</div><div class="sample" id="e6ae17ab4ccfd7e059c8c01f25760ca5d894c7fd">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#e6ae17ab4ccfd7e059c8c01f25760ca5d894c7fd">Print this page</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Adds a print button to the browser.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/browserAction/print/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/browserAction/print/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/browserAction/print/">Browse source</a>
- <a href="examples/api/browserAction/print.zip">Download source</a>
</div>
</div><div class="sample" id="beff6ecd9677dea0a7c648c5042165b48bb66f09">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#beff6ecd9677dea0a7c648c5042165b48bb66f09">Process Monitor</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>experimental</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Adds a browser action that monitors resource usage of all browser processes.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="experimental.processes.html#event-onUpdated">chrome.experimental.processes.onUpdated</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/processes/process_monitor/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/processes/process_monitor/popup.html?content-type=text/plain">popup.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/processes/process_monitor/">Browse source</a>
- <a href="examples/api/processes/process_monitor.zip">Download source</a>
</div>
</div><div class="sample" id="3e8e226d87e431296bb110b4f6eb7eec2ca7a826">
<img class="icon" src="examples/extensions/proxy_configuration/icon128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#3e8e226d87e431296bb110b4f6eb7eec2ca7a826">Proxy Settings</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>experimental</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>proxy</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Set Chrome-specific proxies; a demonstration of Chrome's Proxy API</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#method-setBadgeBackgroundColor">chrome.browserAction.setBadgeBackgroundColor</a></code>
</li><li>
<code><a href="browserAction.html#method-setBadgeText">chrome.browserAction.setBadgeText</a></code>
</li><li>
<code><a href="browserAction.html#method-setTitle">chrome.browserAction.setTitle</a></code>
</li><li>
<code><a href="experimental.proxy.html#event-onProxyError">chrome.experimental.proxy.onProxyError</a></code>
</li><li>
<code><a href="extension.html#method-isAllowedIncognitoAccess">chrome.extension.isAllowedIncognitoAccess</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="i18n.html#method-getMessage">chrome.i18n.getMessage</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/proxy_configuration/_locales/en/messages.json?content-type=text/plain">_locales/en/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/proxy_configuration/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/proxy_configuration/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/proxy_configuration/popup.html?content-type=text/plain">popup.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/proxy_configuration/proxy_error_handler.js?content-type=text/plain">proxy_error_handler.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/proxy_configuration/proxy_form_controller.js?content-type=text/plain">proxy_form_controller.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/proxy_configuration/test/jsunittest.js?content-type=text/plain">test/jsunittest.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/proxy_configuration/test/proxy_form_controller_test.html?content-type=text/plain">test/proxy_form_controller_test.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/proxy_configuration/test/proxy_form_controller_test.js?content-type=text/plain">test/proxy_form_controller_test.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/proxy_configuration/test/unittest.css?content-type=text/plain">test/unittest.css</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/proxy_configuration/">Browse source</a>
- <a href="examples/extensions/proxy_configuration.zip">Download source</a>
</div>
</div><div class="sample" id="56a8d2ac24ca7bba78fd88ad57f43fc13c784497">
<img class="icon" src="examples/extensions/oauth_contacts/img/icon-128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#56a8d2ac24ca7bba78fd88ad57f43fc13c784497">Sample - OAuth Contacts</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Uses OAuth to connect to Google's contacts service and display a list of your contacts.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="browserAction.html#method-setIcon">chrome.browserAction.setIcon</a></code>
</li><li>
<code><a href="extension.html#method-getBackgroundPage">chrome.extension.getBackgroundPage</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getSelected">chrome.tabs.getSelected</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li><li>
<code><a href="tabs.html#method-remove">chrome.tabs.remove</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/oauth_contacts/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/oauth_contacts/chrome_ex_oauth.html?content-type=text/plain">chrome_ex_oauth.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/oauth_contacts/chrome_ex_oauth.js?content-type=text/plain">chrome_ex_oauth.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/oauth_contacts/chrome_ex_oauthsimple.js?content-type=text/plain">chrome_ex_oauthsimple.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/oauth_contacts/contacts.html?content-type=text/plain">contacts.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/oauth_contacts/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/oauth_contacts/">Browse source</a>
- <a href="examples/extensions/oauth_contacts.zip">Download source</a>
</div>
</div><div class="sample" id="38f6e1e17756ede38b1364c7114a738ca717dcbb">
<img class="icon" src="examples/api/infobars/sandwichbar/sandwich-128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#38f6e1e17756ede38b1364c7114a738ca717dcbb">SandwichBar</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>experimental</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Shows an infobar on pages which contain the word 'sandwich'</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="experimental.infobars.html#method-show">chrome.experimental.infobars.show</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/contentscript.js?content-type=text/plain">contentscript.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.html?content-type=text/plain">infobar.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/manifest.json?content-type=text/plain">manifest.json</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/">Browse source</a>
- <a href="examples/api/infobars/sandwichbar.zip">Download source</a>
</div>
</div><div class="sample" id="fc89b35755483af30b66cd72cefa34a43a3e8312">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#fc89b35755483af30b66cd72cefa34a43a3e8312">Show Tabs in Process</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>experimental</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Adds a browser action showing which tabs share the current tab's process.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="experimental.processes.html#method-getProcessIdForTab">chrome.experimental.processes.getProcessIdForTab</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getSelected">chrome.tabs.getSelected</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li><li>
<code><a href="windows.html#method-get">chrome.windows.get</a></code>
</li><li>
<code><a href="windows.html#method-getAll">chrome.windows.getAll</a></code>
</li><li>
<code><a href="windows.html#method-getCurrent">chrome.windows.getCurrent</a></code>
</li><li>
<code><a href="windows.html#method-update">chrome.windows.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/processes/show_tabs/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/processes/show_tabs/popup.html?content-type=text/plain">popup.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/processes/show_tabs/">Browse source</a>
- <a href="examples/api/processes/show_tabs.zip">Download source</a>
</div>
</div><div class="sample" id="230463f2d5c3d4d0ca13c230e1f00f2aae0a8a64">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#230463f2d5c3d4d0ca13c230e1f00f2aae0a8a64">Tab Inspector</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Utility for working with the extension tabs api</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#method-get">chrome.tabs.get</a></code>
</li><li>
<code><a href="tabs.html#method-getAllInWindow">chrome.tabs.getAllInWindow</a></code>
</li><li>
<code><a href="tabs.html#method-getSelected">chrome.tabs.getSelected</a></code>
</li><li>
<code><a href="tabs.html#method-move">chrome.tabs.move</a></code>
</li><li>
<code><a href="tabs.html#event-onAttached">chrome.tabs.onAttached</a></code>
</li><li>
<code><a href="tabs.html#event-onCreated">chrome.tabs.onCreated</a></code>
</li><li>
<code><a href="tabs.html#event-onDetached">chrome.tabs.onDetached</a></code>
</li><li>
<code><a href="tabs.html#event-onMoved">chrome.tabs.onMoved</a></code>
</li><li>
<code><a href="tabs.html#event-onRemoved">chrome.tabs.onRemoved</a></code>
</li><li>
<code><a href="tabs.html#event-onSelectionChanged">chrome.tabs.onSelectionChanged</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li><li>
<code><a href="tabs.html#method-remove">chrome.tabs.remove</a></code>
</li><li>
<code><a href="tabs.html#method-update">chrome.tabs.update</a></code>
</li><li>
<code><a href="windows.html#method-create">chrome.windows.create</a></code>
</li><li>
<code><a href="windows.html#method-get">chrome.windows.get</a></code>
</li><li>
<code><a href="windows.html#method-getAll">chrome.windows.getAll</a></code>
</li><li>
<code><a href="windows.html#method-getCurrent">chrome.windows.getCurrent</a></code>
</li><li>
<code><a href="windows.html#method-getLastFocused">chrome.windows.getLastFocused</a></code>
</li><li>
<code><a href="windows.html#event-onCreated">chrome.windows.onCreated</a></code>
</li><li>
<code><a href="windows.html#event-onFocusChanged">chrome.windows.onFocusChanged</a></code>
</li><li>
<code><a href="windows.html#event-onRemoved">chrome.windows.onRemoved</a></code>
</li><li>
<code><a href="windows.html#method-remove">chrome.windows.remove</a></code>
</li><li>
<code><a href="windows.html#method-update">chrome.windows.update</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/inspector/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/inspector/jstemplate_compiled.js?content-type=text/plain">jstemplate_compiled.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/inspector/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/inspector/tabs_api.html?content-type=text/plain">tabs_api.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/inspector/">Browse source</a>
- <a href="examples/api/tabs/inspector.zip">Download source</a>
</div>
</div><div class="sample" id="e1697cacebad05218798bf3e8a0f724517f0e8c3">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#e1697cacebad05218798bf3e8a0f724517f0e8c3">Test Screenshot Extension</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Demonstrate screenshot functionality in the chrome.tabs api.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="browserAction.html#event-onClicked">chrome.browserAction.onClicked</a></code>
</li><li>
<code><a href="extension.html#method-getURL">chrome.extension.getURL</a></code>
</li><li>
<code><a href="extension.html#method-getViews">chrome.extension.getViews</a></code>
</li><li>
<code><a href="tabs.html#method-captureVisibleTab">chrome.tabs.captureVisibleTab</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li><li>
<code><a href="tabs.html#event-onUpdated">chrome.tabs.onUpdated</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/screenshot/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/screenshot/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/screenshot/screenshot.html?content-type=text/plain">screenshot.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/screenshot/screenshot.js?content-type=text/plain">screenshot.js</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/tabs/screenshot/">Browse source</a>
- <a href="examples/api/tabs/screenshot.zip">Download source</a>
</div>
</div><div class="sample" id="b3de91ab04b7d7a2670ca7ee9d740eb42cead0b6">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#b3de91ab04b7d7a2670ca7ee9d740eb42cead0b6">Typed URL History</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>history</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>tabs</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Reads your history, and shows the top ten pages you go to by typing the URL.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="history.html#method-getVisits">chrome.history.getVisits</a></code>
</li><li>
<code><a href="history.html#method-search">chrome.history.search</a></code>
</li><li>
<code><a href="tabs.html#method-create">chrome.tabs.create</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/history/showHistory/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/history/showHistory/typedUrls.html?content-type=text/plain">typedUrls.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/history/showHistory/typedUrls.js?content-type=text/plain">typedUrls.js</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/history/showHistory/">Browse source</a>
- <a href="examples/api/history/showHistory.zip">Download source</a>
</div>
</div><div class="sample" id="a3c674f7eb93621c590562ad3fa04de4f03f53a0">
<img class="icon" style="display: none; ">
<img class="icon" src="images/sample-default-icon.png">
<h2 class="name">
<a href="#a3c674f7eb93621c590562ad3fa04de4f03f53a0">WebNavigation Tech Demo</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>background_page</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>browser_action</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>experimental</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>extension</strong><span>, </span>
<span style="display: none; "> and</span>
</span><span>
<strong>popup</strong><span style="display: none; ">, </span>
<span> and</span>
</span><span>
<strong>webNavigation</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Demonstration of the WebNavigation extension API.</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="experimental.webNavigation.html#event-onBeforeNavigate">chrome.experimental.webNavigation.onBeforeNavigate</a></code>
</li><li>
<code><a href="experimental.webNavigation.html#event-onBeforeRetarget">chrome.experimental.webNavigation.onBeforeRetarget</a></code>
</li><li>
<code><a href="experimental.webNavigation.html#event-onCommitted">chrome.experimental.webNavigation.onCommitted</a></code>
</li><li>
<code><a href="experimental.webNavigation.html#event-onCompleted">chrome.experimental.webNavigation.onCompleted</a></code>
</li><li>
<code><a href="experimental.webNavigation.html#event-onErrorOccurred">chrome.experimental.webNavigation.onErrorOccurred</a></code>
</li><li>
<code><a href="extension.html#event-onRequest">chrome.extension.onRequest</a></code>
</li><li>
<code><a href="extension.html#method-sendRequest">chrome.extension.sendRequest</a></code>
</li><li>
<code><a href="i18n.html#method-getMessage">chrome.i18n.getMessage</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/_locales/en/messages.json?content-type=text/plain">_locales/en/messages.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/background.html?content-type=text/plain">background.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/navigation_collector.js?content-type=text/plain">navigation_collector.js</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/popup.html?content-type=text/plain">popup.html</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/webNavigation/basic/">Browse source</a>
- <a href="examples/api/webNavigation/basic.zip">Download source</a>
</div>
</div><div class="sample" id="0fa4abe6545f0316fea7cfa07c53aa48c4f3d018">
<img class="icon" src="examples/api/extension/isAllowedAccess/sample-128.png">
<img class="icon" src="images/sample-default-icon.png" style="display: none; ">
<h2 class="name">
<a href="#0fa4abe6545f0316fea7cfa07c53aa48c4f3d018">`extension.isAllowed???Access` Example</a>
</h2>
<p class="metadata features">Uses
<span>
<strong>browser_action</strong><span style="display: none; ">, </span>
<span style="display: none; "> and</span>
</span>
</p>
<p>Demonstrates the `extension.isAllowed???Access` APIs</p>
<div class="apicalls"><strong>Calls:</strong>
<ul>
<li>
<code><a href="extension.html#method-isAllowedFileSchemeAccess">chrome.extension.isAllowedFileSchemeAccess</a></code>
</li><li>
<code><a href="extension.html#method-isAllowedIncognitoAccess">chrome.extension.isAllowedIncognitoAccess</a></code>
</li>
</ul>
</div>
<div class="sourcefiles"><strong>Source files:</strong>
<ul>
<li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/extension/isAllowedAccess/manifest.json?content-type=text/plain">manifest.json</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/extension/isAllowedAccess/popup.html?content-type=text/plain">popup.html</a></code>
</li><li>
<code><a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/extension/isAllowedAccess/sample.css?content-type=text/plain">sample.css</a></code>
</li>
</ul>
</div>
<div>
<a target="_blank" href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/extension/isAllowedAccess/">Browse source</a>
- <a href="examples/api/extension/isAllowedAccess.zip">Download source</a>
</div>
</div>
<div id="noresults" style="display:none">
Sorry, no results were found.
</div>
</div>
<!-- API PAGE -->
<div class="apiPage" style="display: none; ">
<a name="apiReference"></a>
<h2>API reference: chrome.apiname </h2>
<!-- PROPERTIES -->
<div class="apiGroup">
<a name="properties"></a>
<h3 id="properties">Properties</h3>
<div>
<a></a>
<h4>getLastError</h4>
<div class="summary">
<!-- Note: intentionally longer 80 columns -->
<span>chrome.extension</span><span>lastError</span>
</div>
<div>
</div>
</div>
</div> <!-- /apiGroup -->
<!-- METHODS -->
<div id="methodsTemplate" class="apiGroup">
<a></a>
<h3>Methods</h3>
<!-- iterates over all functions -->
<div class="apiItem">
<a></a> <!-- method-anchor -->
<h4>method name</h4>
<div class="summary"><span>void</span>
<!-- Note: intentionally longer 80 columns -->
<span>chrome.module.methodName</span>(<span><span>, </span><span></span>
<var><span></span></var></span>)</div>
<div class="description">
<p class="todo">Undocumented.</p>
<p>
A description from the json schema def of the function goes here.
</p>
<!-- PARAMETERS -->
<h4>Parameters</h4>
<dl>
<div>
<div>
</div>
</div>
</dl>
<!-- RETURNS -->
<h4>Returns</h4>
<dl>
<div>
<div>
</div>
</div>
</dl>
<!-- CALLBACK -->
<div>
<div>
<h4>Callback function</h4>
<p>
The callback <em>parameter</em> should specify a function
that looks like this:
</p>
<p>
If you specify the <em>callback</em> parameter, it should
specify a function that looks like this:
</p>
<!-- Note: intentionally longer 80 columns -->
<pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre>
<dl>
<div>
<div>
</div>
</div>
</dl>
</div>
</div>
<!-- MIN_VERSION -->
<p>
This function was added in version <b><span></span></b>.
If you require this function, the manifest key
<a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a>
can ensure that your extension won't be run in an earlier browser version.
</p>
</div> <!-- /description -->
</div> <!-- /apiItem -->
</div> <!-- /apiGroup -->
<!-- EVENTS -->
<div id="eventsTemplate" class="apiGroup">
<a></a>
<h3>Events</h3>
<!-- iterates over all events -->
<div class="apiItem">
<a></a>
<h4>event name</h4>
<div class="summary">
<!-- Note: intentionally longer 80 columns -->
<span class="subdued">chrome.bookmarks</span><span>onEvent</span><span class="subdued">.addListener</span>(function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>);
</div>
<div class="description">
<p class="todo">Undocumented.</p>
<p>
A description from the json schema def of the event goes here.
</p>
<!-- PARAMETERS -->
<div>
<h4>Parameters</h4>
<dl>
<div>
<div>
</div>
</div>
</dl>
</div>
</div> <!-- /decription -->
</div> <!-- /apiItem -->
</div> <!-- /apiGroup -->
<!-- TYPES -->
<div class="apiGroup">
<a name="types"></a>
<h3 id="types">Types</h3>
<!-- iterates over all types -->
<div class="apiItem">
<a></a>
<h4>type name</h4>
<div>
</div>
</div> <!-- /apiItem -->
</div> <!-- /apiGroup -->
</div> <!-- /apiPage -->
</div> <!-- /gc-pagecontent -->
</div> <!-- /g-section -->
</div> <!-- /codesiteContent -->
<div id="gc-footer" --="">
<div class="text">
<p>
Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
Attribution 3.0 License</a>, and code samples are licensed under the
<a rel="license" href="http://code.google.com/google_bsd_license.html">BSD License</a>.
</p>
<p>
©2011 Google
</p>
<!-- begin analytics -->
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
<script type="text/javascript">
// chrome doc tracking
try {
var engdocs = _gat._getTracker("YT-10763712-2");
engdocs._trackPageview();
} catch(err) {}
// code.google.com site-wide tracking
try {
_uacct="UA-18071-1";
_uanchor=1;
_uff=0;
urchinTracker();
}
catch(e) {/* urchinTracker not available. */}
</script>
<!-- end analytics -->
</div>
</div> <!-- /gc-footer -->
</div> <!-- /gc-container -->
</body></html>