Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: chrome/common/extensions/docs/extension.html

Issue 1783012: Cleanup pass. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note: 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc. Note:
2 1) The <head> information in this page is significant, should be uniform 2 1) The <head> information in this page is significant, should be uniform
3 across api docs and should be edited only with knowledge of the 3 across api docs and should be edited only with knowledge of the
4 templating mechanism. 4 templating mechanism.
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a
6 browser, it will be re-generated from the template, json schema and 6 browser, it will be re-generated from the template, json schema and
7 authored overview content. 7 authored overview content.
8 4) The <body>.innerHTML is also generated by an offline step so that this 8 4) The <body>.innerHTML is also generated by an offline step so that this
9 page may easily be indexed by search engines. 9 page may easily be indexed by search engines.
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head>
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 <a href="#event-onRequest">onRequest</a> 253 <a href="#event-onRequest">onRequest</a>
254 </li><li> 254 </li><li>
255 <a href="#event-onRequestExternal">onRequestExternal</a> 255 <a href="#event-onRequestExternal">onRequestExternal</a>
256 </li> 256 </li>
257 </ol> 257 </ol>
258 </li> 258 </li>
259 <li> 259 <li>
260 <a href="#types">Types</a> 260 <a href="#types">Types</a>
261 <ol> 261 <ol>
262 <li> 262 <li>
263 <a href="#type-MessageSender">MessageSender</a>
264 </li><li>
265 <a href="#type-Event">Event</a> 263 <a href="#type-Event">Event</a>
266 </li><li> 264 </li><li>
267 <a href="#type-Port">Port</a> 265 <a href="#type-Port">Port</a>
266 </li><li>
267 <a href="#type-MessageSender">MessageSender</a>
268 </li> 268 </li>
269 </ol> 269 </ol>
270 </li> 270 </li>
271 </ol> 271 </ol>
272 </li> 272 </li>
273 </ol> 273 </ol>
274 </div> 274 </div>
275 <!-- /TABLE OF CONTENTS --> 275 <!-- /TABLE OF CONTENTS -->
276 276
277 <!-- STATIC CONTENT PLACEHOLDER --> 277 <!-- STATIC CONTENT PLACEHOLDER -->
(...skipping 1678 matching lines...) Expand 10 before | Expand all | Expand 10 after
1956 1956
1957 </div> <!-- /apiGroup --> 1957 </div> <!-- /apiGroup -->
1958 1958
1959 <!-- TYPES --> 1959 <!-- TYPES -->
1960 <div class="apiGroup"> 1960 <div class="apiGroup">
1961 <a name="types.sort(sortByName)"></a> 1961 <a name="types.sort(sortByName)"></a>
1962 <h3 id="types">Types</h3> 1962 <h3 id="types">Types</h3>
1963 1963
1964 <!-- iterates over all types --> 1964 <!-- iterates over all types -->
1965 <div class="apiItem"> 1965 <div class="apiItem">
1966 <a name="type-MessageSender"></a> 1966 <a name="type-Event"></a>
1967 <h4>MessageSender</h4> 1967 <h4>Event</h4>
1968 1968
1969 <div> 1969 <div>
1970 <dt> 1970 <dt>
1971 <var style="display: none; ">paramName</var> 1971 <var style="display: none; ">paramName</var>
1972 <em> 1972 <em>
1973 1973
1974 <!-- TYPE --> 1974 <!-- TYPE -->
1975 <div style="display:inline"> 1975 <div style="display:inline">
1976 ( 1976 (
1977 <span class="optional" style="display: none; ">optional</spa n> 1977 <span class="optional" style="display: none; ">optional</spa n>
1978 <span id="typeTemplate"> 1978 <span id="typeTemplate">
1979 <span style="display: none; "> 1979 <span style="display: none; ">
1980 <a> Type</a> 1980 <a> Type</a>
1981 </span> 1981 </span>
1982 <span> 1982 <span>
1983 <span style="display: none; "> 1983 <span style="display: none; ">
1984 array of <span><span></span></span> 1984 array of <span><span></span></span>
1985 </span> 1985 </span>
1986 <span>object</span> 1986 <span>object</span>
1987 </span> 1987 </span>
1988 </span> 1988 </span>
1989 ) 1989 )
1990 </div> 1990 </div>
1991 1991
1992 </em> 1992 </em>
1993 </dt> 1993 </dt>
1994 <dd class="todo" style="display: none; "> 1994 <dd class="todo" style="display: none; ">
1995 Undocumented. 1995 Undocumented.
1996 </dd> 1996 </dd>
1997 <dd>An object containing information about the script context that sen t a message or request.</dd> 1997 <dd>An object which allows the addition and removal of listeners for a Chrome event.</dd>
1998 1998
1999 <!-- OBJECT PROPERTIES --> 1999 <!-- OBJECT PROPERTIES -->
2000 <dd> 2000 <dd>
2001 <dl> 2001 <dl>
2002 <div> 2002 <div>
2003 <div> 2003 <div>
2004 <dt> 2004 <dt>
2005 <var>tab</var> 2005 <var>addListener</var>
2006 <em> 2006 <em>
2007 2007
2008 <!-- TYPE --> 2008 <!-- TYPE -->
2009 <div style="display:inline"> 2009 <div style="display:inline">
2010 ( 2010 (
2011 <span class="optional">optional</span> 2011 <span class="optional" style="display: none; ">optional</spa n>
2012 <span id="typeTemplate"> 2012 <span id="typeTemplate">
2013 <span style="display: none; ">
2014 <a> Type</a>
2015 </span>
2013 <span> 2016 <span>
2014 <a href="tabs.html#type-Tab">Tab</a> 2017 <span style="display: none; ">
2015 </span>
2016 <span style="display: none; ">
2017 <span>
2018 array of <span><span></span></span> 2018 array of <span><span></span></span>
2019 </span> 2019 </span>
2020 <span>paramType</span> 2020 <span>function</span>
2021 </span> 2021 </span>
2022 </span> 2022 </span>
2023 ) 2023 )
2024 </div> 2024 </div>
2025 2025
2026 </em> 2026 </em>
2027 </dt> 2027 </dt>
2028 <dd class="todo" style="display: none; "> 2028 <dd class="todo">
2029 Undocumented. 2029 Undocumented.
2030 </dd> 2030 </dd>
2031 <dd>This property will <b>only</b> be present when the connection was opened from a tab or content script.</dd> 2031 <dd style="display: none; ">
2032 Description of this parameter from the json schema.
2033 </dd>
2032 2034
2033 <!-- OBJECT PROPERTIES --> 2035 <!-- OBJECT PROPERTIES -->
2034 <dd style="display: none; "> 2036 <dd style="display: none; ">
2035 <dl> 2037 <dl>
2036 <div> 2038 <div>
2037 <div> 2039 <div>
2038 </div> 2040 </div>
2039 </div> 2041 </div>
2040 </dl> 2042 </dl>
2041 </dd> 2043 </dd>
2042 </div> 2044 </div>
2043 </div><div> 2045 </div><div>
2044 <div> 2046 <div>
2045 <dt> 2047 <dt>
2046 <var>id</var> 2048 <var>removeListener</var>
2047 <em> 2049 <em>
2048 2050
2049 <!-- TYPE --> 2051 <!-- TYPE -->
2050 <div style="display:inline"> 2052 <div style="display:inline">
2051 ( 2053 (
2052 <span class="optional" style="display: none; ">optional</spa n> 2054 <span class="optional" style="display: none; ">optional</spa n>
2053 <span id="typeTemplate"> 2055 <span id="typeTemplate">
2054 <span style="display: none; "> 2056 <span style="display: none; ">
2055 <a> Type</a> 2057 <a> Type</a>
2056 </span> 2058 </span>
2057 <span> 2059 <span>
2058 <span style="display: none; "> 2060 <span style="display: none; ">
2059 array of <span><span></span></span> 2061 array of <span><span></span></span>
2060 </span> 2062 </span>
2061 <span>string</span> 2063 <span>function</span>
2062 </span> 2064 </span>
2063 </span> 2065 </span>
2064 ) 2066 )
2065 </div> 2067 </div>
2066 2068
2067 </em> 2069 </em>
2068 </dt> 2070 </dt>
2069 <dd class="todo" style="display: none; "> 2071 <dd class="todo">
2070 Undocumented. 2072 Undocumented.
2071 </dd> 2073 </dd>
2072 <dd>The extension ID of the extension that opened the connection.</dd> 2074 <dd style="display: none; ">
2075 Description of this parameter from the json schema.
2076 </dd>
2073 2077
2074 <!-- OBJECT PROPERTIES --> 2078 <!-- OBJECT PROPERTIES -->
2075 <dd style="display: none; "> 2079 <dd style="display: none; ">
2076 <dl> 2080 <dl>
2077 <div> 2081 <div>
2078 <div> 2082 <div>
2079 </div> 2083 </div>
2080 </div> 2084 </div>
2081 </dl> 2085 </dl>
2082 </dd> 2086 </dd>
2083 </div> 2087 </div>
2084 </div> 2088 </div><div>
2085 </dl> 2089 <div>
2086 </dd>
2087 </div>
2088
2089 </div><div class="apiItem">
2090 <a name="type-Event"></a>
2091 <h4>Event</h4>
2092
2093 <div>
2094 <dt> 2090 <dt>
2095 <var style="display: none; ">paramName</var> 2091 <var>hasListener</var>
2096 <em> 2092 <em>
2097 2093
2098 <!-- TYPE --> 2094 <!-- TYPE -->
2099 <div style="display:inline"> 2095 <div style="display:inline">
2100 ( 2096 (
2101 <span class="optional" style="display: none; ">optional</spa n> 2097 <span class="optional" style="display: none; ">optional</spa n>
2102 <span id="typeTemplate"> 2098 <span id="typeTemplate">
2103 <span style="display: none; "> 2099 <span style="display: none; ">
2104 <a> Type</a> 2100 <a> Type</a>
2105 </span> 2101 </span>
2106 <span> 2102 <span>
2107 <span style="display: none; "> 2103 <span style="display: none; ">
2108 array of <span><span></span></span> 2104 array of <span><span></span></span>
2109 </span> 2105 </span>
2110 <span>object</span> 2106 <span>function</span>
2111 </span> 2107 </span>
2112 </span> 2108 </span>
2113 ) 2109 )
2114 </div> 2110 </div>
2115 2111
2116 </em> 2112 </em>
2117 </dt> 2113 </dt>
2118 <dd class="todo" style="display: none; "> 2114 <dd class="todo">
2119 Undocumented. 2115 Undocumented.
2120 </dd> 2116 </dd>
2121 <dd>An object which allows the addition and removal of listeners for a Chrome event.</dd> 2117 <dd style="display: none; ">
2118 Description of this parameter from the json schema.
2119 </dd>
2122 2120
2123 <!-- OBJECT PROPERTIES --> 2121 <!-- OBJECT PROPERTIES -->
2124 <dd> 2122 <dd style="display: none; ">
2125 <dl> 2123 <dl>
2126 <div> 2124 <div>
2127 <div> 2125 <div>
2126 </div>
2127 </div>
2128 </dl>
2129 </dd>
2130 </div>
2131 </div><div>
2132 <div>
2128 <dt> 2133 <dt>
2129 <var>addListener</var> 2134 <var>hasListeners</var>
2130 <em> 2135 <em>
2131 2136
2132 <!-- TYPE --> 2137 <!-- TYPE -->
2133 <div style="display:inline"> 2138 <div style="display:inline">
2134 ( 2139 (
2135 <span class="optional" style="display: none; ">optional</spa n> 2140 <span class="optional" style="display: none; ">optional</spa n>
2136 <span id="typeTemplate"> 2141 <span id="typeTemplate">
2137 <span style="display: none; "> 2142 <span style="display: none; ">
2138 <a> Type</a> 2143 <a> Type</a>
2139 </span> 2144 </span>
(...skipping 19 matching lines...) Expand all
2159 <!-- OBJECT PROPERTIES --> 2164 <!-- OBJECT PROPERTIES -->
2160 <dd style="display: none; "> 2165 <dd style="display: none; ">
2161 <dl> 2166 <dl>
2162 <div> 2167 <div>
2163 <div> 2168 <div>
2164 </div> 2169 </div>
2165 </div> 2170 </div>
2166 </dl> 2171 </dl>
2167 </dd> 2172 </dd>
2168 </div> 2173 </div>
2169 </div><div> 2174 </div>
2170 <div> 2175 </dl>
2176 </dd>
2177 </div>
2178
2179 </div><div class="apiItem">
2180 <a name="type-Port"></a>
2181 <h4>Port</h4>
2182
2183 <div>
2171 <dt> 2184 <dt>
2172 <var>removeListener</var> 2185 <var style="display: none; ">paramName</var>
2173 <em> 2186 <em>
2174 2187
2175 <!-- TYPE --> 2188 <!-- TYPE -->
2176 <div style="display:inline"> 2189 <div style="display:inline">
2177 ( 2190 (
2178 <span class="optional" style="display: none; ">optional</spa n> 2191 <span class="optional" style="display: none; ">optional</spa n>
2179 <span id="typeTemplate"> 2192 <span id="typeTemplate">
2180 <span style="display: none; "> 2193 <span style="display: none; ">
2181 <a> Type</a> 2194 <a> Type</a>
2182 </span> 2195 </span>
2183 <span> 2196 <span>
2184 <span style="display: none; "> 2197 <span style="display: none; ">
2185 array of <span><span></span></span> 2198 array of <span><span></span></span>
2186 </span> 2199 </span>
2187 <span>function</span> 2200 <span>object</span>
2188 </span> 2201 </span>
2189 </span> 2202 </span>
2190 ) 2203 )
2191 </div> 2204 </div>
2192 2205
2193 </em> 2206 </em>
2194 </dt> 2207 </dt>
2195 <dd class="todo"> 2208 <dd class="todo" style="display: none; ">
2196 Undocumented. 2209 Undocumented.
2197 </dd> 2210 </dd>
2198 <dd style="display: none; "> 2211 <dd>An object which allows two way communication with other pages.</dd >
2199 Description of this parameter from the json schema.
2200 </dd>
2201 2212
2202 <!-- OBJECT PROPERTIES --> 2213 <!-- OBJECT PROPERTIES -->
2203 <dd style="display: none; "> 2214 <dd>
2204 <dl> 2215 <dl>
2205 <div> 2216 <div>
2206 <div> 2217 <div>
2207 </div>
2208 </div>
2209 </dl>
2210 </dd>
2211 </div>
2212 </div><div>
2213 <div>
2214 <dt> 2218 <dt>
2215 <var>hasListener</var> 2219 <var>name</var>
2216 <em> 2220 <em>
2217 2221
2218 <!-- TYPE --> 2222 <!-- TYPE -->
2219 <div style="display:inline"> 2223 <div style="display:inline">
2220 ( 2224 (
2221 <span class="optional" style="display: none; ">optional</spa n> 2225 <span class="optional" style="display: none; ">optional</spa n>
2222 <span id="typeTemplate"> 2226 <span id="typeTemplate">
2223 <span style="display: none; "> 2227 <span style="display: none; ">
2224 <a> Type</a> 2228 <a> Type</a>
2225 </span> 2229 </span>
2226 <span> 2230 <span>
2227 <span style="display: none; "> 2231 <span style="display: none; ">
2228 array of <span><span></span></span> 2232 array of <span><span></span></span>
2229 </span> 2233 </span>
2230 <span>function</span> 2234 <span>string</span>
2231 </span> 2235 </span>
2232 </span> 2236 </span>
2233 ) 2237 )
2234 </div> 2238 </div>
2235 2239
2236 </em> 2240 </em>
2237 </dt> 2241 </dt>
2238 <dd class="todo"> 2242 <dd class="todo">
2239 Undocumented. 2243 Undocumented.
2240 </dd> 2244 </dd>
2241 <dd style="display: none; "> 2245 <dd style="display: none; ">
2242 Description of this parameter from the json schema. 2246 Description of this parameter from the json schema.
2243 </dd> 2247 </dd>
2244 2248
2245 <!-- OBJECT PROPERTIES --> 2249 <!-- OBJECT PROPERTIES -->
2246 <dd style="display: none; "> 2250 <dd style="display: none; ">
2247 <dl> 2251 <dl>
2248 <div> 2252 <div>
2249 <div> 2253 <div>
2250 </div> 2254 </div>
2251 </div> 2255 </div>
2252 </dl> 2256 </dl>
2253 </dd> 2257 </dd>
2254 </div> 2258 </div>
2255 </div><div> 2259 </div><div>
2256 <div> 2260 <div>
2257 <dt> 2261 <dt>
2258 <var>hasListeners</var> 2262 <var>onDisconnect</var>
2259 <em> 2263 <em>
2260 2264
2261 <!-- TYPE --> 2265 <!-- TYPE -->
2262 <div style="display:inline"> 2266 <div style="display:inline">
2263 ( 2267 (
2264 <span class="optional" style="display: none; ">optional</spa n> 2268 <span class="optional" style="display: none; ">optional</spa n>
2265 <span id="typeTemplate"> 2269 <span id="typeTemplate">
2270 <span>
2271 <a href="extension.html#type-Event">Event</a>
2272 </span>
2266 <span style="display: none; "> 2273 <span style="display: none; ">
2267 <a> Type</a> 2274 <span>
2268 </span>
2269 <span>
2270 <span style="display: none; ">
2271 array of <span><span></span></span> 2275 array of <span><span></span></span>
2272 </span> 2276 </span>
2273 <span>function</span> 2277 <span>paramType</span>
2274 </span> 2278 </span>
2275 </span> 2279 </span>
2276 ) 2280 )
2277 </div> 2281 </div>
2278 2282
2279 </em> 2283 </em>
2280 </dt> 2284 </dt>
2281 <dd class="todo"> 2285 <dd class="todo">
2282 Undocumented. 2286 Undocumented.
2283 </dd> 2287 </dd>
2284 <dd style="display: none; "> 2288 <dd style="display: none; ">
2285 Description of this parameter from the json schema. 2289 Description of this parameter from the json schema.
2286 </dd> 2290 </dd>
2287 2291
2288 <!-- OBJECT PROPERTIES --> 2292 <!-- OBJECT PROPERTIES -->
2289 <dd style="display: none; "> 2293 <dd style="display: none; ">
2290 <dl> 2294 <dl>
2291 <div> 2295 <div>
2292 <div> 2296 <div>
2293 </div> 2297 </div>
2294 </div> 2298 </div>
2295 </dl> 2299 </dl>
2296 </dd> 2300 </dd>
2297 </div> 2301 </div>
2298 </div> 2302 </div><div>
2299 </dl> 2303 <div>
2300 </dd>
2301 </div>
2302
2303 </div><div class="apiItem">
2304 <a name="type-Port"></a>
2305 <h4>Port</h4>
2306
2307 <div>
2308 <dt> 2304 <dt>
2309 <var style="display: none; ">paramName</var> 2305 <var>onMessage</var>
2310 <em> 2306 <em>
2311 2307
2312 <!-- TYPE --> 2308 <!-- TYPE -->
2313 <div style="display:inline"> 2309 <div style="display:inline">
2314 ( 2310 (
2315 <span class="optional" style="display: none; ">optional</spa n> 2311 <span class="optional" style="display: none; ">optional</spa n>
2316 <span id="typeTemplate"> 2312 <span id="typeTemplate">
2313 <span>
2314 <a href="extension.html#type-Event">Event</a>
2315 </span>
2317 <span style="display: none; "> 2316 <span style="display: none; ">
2318 <a> Type</a> 2317 <span>
2319 </span>
2320 <span>
2321 <span style="display: none; ">
2322 array of <span><span></span></span> 2318 array of <span><span></span></span>
2323 </span> 2319 </span>
2324 <span>object</span> 2320 <span>paramType</span>
2325 </span> 2321 </span>
2326 </span> 2322 </span>
2327 ) 2323 )
2328 </div> 2324 </div>
2329 2325
2330 </em> 2326 </em>
2331 </dt> 2327 </dt>
2332 <dd class="todo" style="display: none; "> 2328 <dd class="todo">
2333 Undocumented. 2329 Undocumented.
2334 </dd> 2330 </dd>
2335 <dd>An object which allows two way communication with other pages.</dd > 2331 <dd style="display: none; ">
2332 Description of this parameter from the json schema.
2333 </dd>
2336 2334
2337 <!-- OBJECT PROPERTIES --> 2335 <!-- OBJECT PROPERTIES -->
2338 <dd> 2336 <dd style="display: none; ">
2339 <dl> 2337 <dl>
2340 <div> 2338 <div>
2341 <div> 2339 <div>
2340 </div>
2341 </div>
2342 </dl>
2343 </dd>
2344 </div>
2345 </div><div>
2346 <div>
2342 <dt> 2347 <dt>
2343 <var>name</var> 2348 <var>postMessage</var>
2344 <em> 2349 <em>
2345 2350
2346 <!-- TYPE --> 2351 <!-- TYPE -->
2347 <div style="display:inline"> 2352 <div style="display:inline">
2348 ( 2353 (
2349 <span class="optional" style="display: none; ">optional</spa n> 2354 <span class="optional" style="display: none; ">optional</spa n>
2350 <span id="typeTemplate"> 2355 <span id="typeTemplate">
2351 <span style="display: none; "> 2356 <span style="display: none; ">
2352 <a> Type</a> 2357 <a> Type</a>
2353 </span> 2358 </span>
2354 <span> 2359 <span>
2355 <span style="display: none; "> 2360 <span style="display: none; ">
2356 array of <span><span></span></span> 2361 array of <span><span></span></span>
2357 </span> 2362 </span>
2358 <span>string</span> 2363 <span>function</span>
2359 </span> 2364 </span>
2360 </span> 2365 </span>
2361 ) 2366 )
2362 </div> 2367 </div>
2363 2368
2364 </em> 2369 </em>
2365 </dt> 2370 </dt>
2366 <dd class="todo"> 2371 <dd class="todo">
2367 Undocumented. 2372 Undocumented.
2368 </dd> 2373 </dd>
2369 <dd style="display: none; "> 2374 <dd style="display: none; ">
2370 Description of this parameter from the json schema. 2375 Description of this parameter from the json schema.
2371 </dd> 2376 </dd>
2372 2377
2373 <!-- OBJECT PROPERTIES --> 2378 <!-- OBJECT PROPERTIES -->
2374 <dd style="display: none; "> 2379 <dd style="display: none; ">
2375 <dl> 2380 <dl>
2376 <div> 2381 <div>
2377 <div> 2382 <div>
2378 </div> 2383 </div>
2379 </div> 2384 </div>
2380 </dl> 2385 </dl>
2381 </dd> 2386 </dd>
2382 </div> 2387 </div>
2383 </div><div> 2388 </div><div>
2384 <div> 2389 <div>
2385 <dt> 2390 <dt>
2386 <var>onDisconnect</var> 2391 <var>sender</var>
2387 <em> 2392 <em>
2388 2393
2389 <!-- TYPE --> 2394 <!-- TYPE -->
2390 <div style="display:inline"> 2395 <div style="display:inline">
2391 ( 2396 (
2392 <span class="optional" style="display: none; ">optional</spa n> 2397 <span class="optional">optional</span>
2393 <span id="typeTemplate"> 2398 <span id="typeTemplate">
2394 <span> 2399 <span>
2395 <a href="extension.html#type-Event">Event</a> 2400 <a href="extension.html#type-MessageSender">MessageSende r</a>
2396 </span> 2401 </span>
2397 <span style="display: none; "> 2402 <span style="display: none; ">
2398 <span> 2403 <span>
2399 array of <span><span></span></span> 2404 array of <span><span></span></span>
2400 </span> 2405 </span>
2401 <span>paramType</span> 2406 <span>paramType</span>
2402 </span> 2407 </span>
2403 </span> 2408 </span>
2404 ) 2409 )
2405 </div> 2410 </div>
2406 2411
2407 </em> 2412 </em>
2408 </dt> 2413 </dt>
2409 <dd class="todo"> 2414 <dd class="todo" style="display: none; ">
2410 Undocumented. 2415 Undocumented.
2411 </dd> 2416 </dd>
2412 <dd style="display: none; "> 2417 <dd>This property will <b>only</b> be present on ports passed to onCon nect/onConnectExternal listeners.</dd>
2413 Description of this parameter from the json schema.
2414 </dd>
2415 2418
2416 <!-- OBJECT PROPERTIES --> 2419 <!-- OBJECT PROPERTIES -->
2417 <dd style="display: none; "> 2420 <dd style="display: none; ">
2418 <dl> 2421 <dl>
2419 <div> 2422 <div>
2420 <div> 2423 <div>
2421 </div> 2424 </div>
2422 </div> 2425 </div>
2423 </dl> 2426 </dl>
2424 </dd> 2427 </dd>
2425 </div> 2428 </div>
2426 </div><div> 2429 </div>
2427 <div> 2430 </dl>
2431 </dd>
2432 </div>
2433
2434 </div><div class="apiItem">
2435 <a name="type-MessageSender"></a>
2436 <h4>MessageSender</h4>
2437
2438 <div>
2428 <dt> 2439 <dt>
2429 <var>onMessage</var> 2440 <var style="display: none; ">paramName</var>
2430 <em> 2441 <em>
2431 2442
2432 <!-- TYPE --> 2443 <!-- TYPE -->
2433 <div style="display:inline"> 2444 <div style="display:inline">
2434 ( 2445 (
2435 <span class="optional" style="display: none; ">optional</spa n> 2446 <span class="optional" style="display: none; ">optional</spa n>
2436 <span id="typeTemplate"> 2447 <span id="typeTemplate">
2448 <span style="display: none; ">
2449 <a> Type</a>
2450 </span>
2437 <span> 2451 <span>
2438 <a href="extension.html#type-Event">Event</a> 2452 <span style="display: none; ">
2439 </span>
2440 <span style="display: none; ">
2441 <span>
2442 array of <span><span></span></span> 2453 array of <span><span></span></span>
2443 </span> 2454 </span>
2444 <span>paramType</span> 2455 <span>object</span>
2445 </span> 2456 </span>
2446 </span> 2457 </span>
2447 ) 2458 )
2448 </div> 2459 </div>
2449 2460
2450 </em> 2461 </em>
2451 </dt> 2462 </dt>
2452 <dd class="todo"> 2463 <dd class="todo" style="display: none; ">
2453 Undocumented. 2464 Undocumented.
2454 </dd> 2465 </dd>
2455 <dd style="display: none; "> 2466 <dd>An object containing information about the script context that sen t a message or request.</dd>
2456 Description of this parameter from the json schema.
2457 </dd>
2458 2467
2459 <!-- OBJECT PROPERTIES --> 2468 <!-- OBJECT PROPERTIES -->
2460 <dd style="display: none; "> 2469 <dd>
2461 <dl> 2470 <dl>
2462 <div> 2471 <div>
2463 <div> 2472 <div>
2464 </div>
2465 </div>
2466 </dl>
2467 </dd>
2468 </div>
2469 </div><div>
2470 <div>
2471 <dt> 2473 <dt>
2472 <var>postMessage</var> 2474 <var>tab</var>
2473 <em> 2475 <em>
2474 2476
2475 <!-- TYPE --> 2477 <!-- TYPE -->
2476 <div style="display:inline"> 2478 <div style="display:inline">
2477 ( 2479 (
2478 <span class="optional" style="display: none; ">optional</spa n> 2480 <span class="optional">optional</span>
2479 <span id="typeTemplate"> 2481 <span id="typeTemplate">
2482 <span>
2483 <a href="tabs.html#type-Tab">Tab</a>
2484 </span>
2480 <span style="display: none; "> 2485 <span style="display: none; ">
2481 <a> Type</a> 2486 <span>
2482 </span>
2483 <span>
2484 <span style="display: none; ">
2485 array of <span><span></span></span> 2487 array of <span><span></span></span>
2486 </span> 2488 </span>
2487 <span>function</span> 2489 <span>paramType</span>
2488 </span> 2490 </span>
2489 </span> 2491 </span>
2490 ) 2492 )
2491 </div> 2493 </div>
2492 2494
2493 </em> 2495 </em>
2494 </dt> 2496 </dt>
2495 <dd class="todo"> 2497 <dd class="todo" style="display: none; ">
2496 Undocumented. 2498 Undocumented.
2497 </dd> 2499 </dd>
2498 <dd style="display: none; "> 2500 <dd>This property will <b>only</b> be present when the connection was opened from a tab or content script.</dd>
2499 Description of this parameter from the json schema.
2500 </dd>
2501 2501
2502 <!-- OBJECT PROPERTIES --> 2502 <!-- OBJECT PROPERTIES -->
2503 <dd style="display: none; "> 2503 <dd style="display: none; ">
2504 <dl> 2504 <dl>
2505 <div> 2505 <div>
2506 <div> 2506 <div>
2507 </div> 2507 </div>
2508 </div> 2508 </div>
2509 </dl> 2509 </dl>
2510 </dd> 2510 </dd>
2511 </div> 2511 </div>
2512 </div><div> 2512 </div><div>
2513 <div> 2513 <div>
2514 <dt> 2514 <dt>
2515 <var>sender</var> 2515 <var>id</var>
2516 <em> 2516 <em>
2517 2517
2518 <!-- TYPE --> 2518 <!-- TYPE -->
2519 <div style="display:inline"> 2519 <div style="display:inline">
2520 ( 2520 (
2521 <span class="optional">optional</span> 2521 <span class="optional" style="display: none; ">optional</spa n>
2522 <span id="typeTemplate"> 2522 <span id="typeTemplate">
2523 <span style="display: none; ">
2524 <a> Type</a>
2525 </span>
2523 <span> 2526 <span>
2524 <a href="extension.html#type-MessageSender">MessageSende r</a> 2527 <span style="display: none; ">
2525 </span>
2526 <span style="display: none; ">
2527 <span>
2528 array of <span><span></span></span> 2528 array of <span><span></span></span>
2529 </span> 2529 </span>
2530 <span>paramType</span> 2530 <span>string</span>
2531 </span> 2531 </span>
2532 </span> 2532 </span>
2533 ) 2533 )
2534 </div> 2534 </div>
2535 2535
2536 </em> 2536 </em>
2537 </dt> 2537 </dt>
2538 <dd class="todo" style="display: none; "> 2538 <dd class="todo" style="display: none; ">
2539 Undocumented. 2539 Undocumented.
2540 </dd> 2540 </dd>
2541 <dd>This property will <b>only</b> be present on ports passed to onCon nect/onConnectExternal listeners.</dd> 2541 <dd>The extension ID of the extension that opened the connection.</dd>
2542 2542
2543 <!-- OBJECT PROPERTIES --> 2543 <!-- OBJECT PROPERTIES -->
2544 <dd style="display: none; "> 2544 <dd style="display: none; ">
2545 <dl> 2545 <dl>
2546 <div> 2546 <div>
2547 <div> 2547 <div>
2548 </div> 2548 </div>
2549 </div> 2549 </div>
2550 </dl> 2550 </dl>
2551 </dd> 2551 </dd>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
2593 _uff=0; 2593 _uff=0;
2594 urchinTracker(); 2594 urchinTracker();
2595 } 2595 }
2596 catch(e) {/* urchinTracker not available. */} 2596 catch(e) {/* urchinTracker not available. */}
2597 </script> 2597 </script>
2598 <!-- end analytics --> 2598 <!-- end analytics -->
2599 </div> 2599 </div>
2600 </div> <!-- /gc-footer --> 2600 </div> <!-- /gc-footer -->
2601 </div> <!-- /gc-container --> 2601 </div> <!-- /gc-container -->
2602 </body></html> 2602 </body></html>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/devguide.html ('k') | chrome/common/extensions/docs/packaging.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698