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

Side by Side Diff: chrome/common/extensions/docs/apps/app.window.html

Issue 10659021: Move chrome.appWindow to chrome.app.window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 5 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>
11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
12 <link href="../css/print.css" rel="stylesheet" type="text/css" media="print" > 12 <link href="../css/print.css" rel="stylesheet" type="text/css" media="print" >
13 <script type="text/javascript" src="../../../../third_party/jstemplate/jstem plate_compiled.js"> 13 <script type="text/javascript" src="../../../../third_party/jstemplate/jstem plate_compiled.js">
14 </script> 14 </script>
15 <script type="text/javascript" src="../../../../../third_party/json_minify/m inify-sans-regexp.js"> 15 <script type="text/javascript" src="../../../../../third_party/json_minify/m inify-sans-regexp.js">
16 </script> 16 </script>
17 <script type="text/javascript" src="../js/api_page_generator.js"></script> 17 <script type="text/javascript" src="../js/api_page_generator.js"></script>
18 <script type="text/javascript" src="../js/bootstrap.js"></script> 18 <script type="text/javascript" src="../js/bootstrap.js"></script>
19 <script type="text/javascript" src="../js/sidebar.js"></script> 19 <script type="text/javascript" src="../js/sidebar.js"></script>
20 <meta name="description" content="Documentation for the chrome.appWindow modul e, which is part of the Google Chrome extension APIs."><title>chrome.appWindow - Google Chrome Extensions - Google Code</title></head> 20 <meta name="description" content="Documentation for the chrome.app.window modu le, which is part of the Google Chrome extension APIs."><title>chrome.app.windo w - Google Chrome Extensions - Google Code</title></head>
21 <body doc-family="apps"> <link href="../css/ApiRefStyles_apps.css" rel="style sheet" type="text/css"> 21 <body doc-family="apps"> <link href="../css/ApiRefStyles_apps.css" rel="style sheet" type="text/css">
22 <link href="../css/prettify.css" rel="stylesheet" type="text/css"> 22 <link href="../css/prettify.css" rel="stylesheet" type="text/css">
23 <link href="../css/shared.css" rel="stylesheet" type="text/css"> 23 <link href="../css/shared.css" rel="stylesheet" type="text/css">
24 <div id="devModeWarning" class="displayModeWarning"> 24 <div id="devModeWarning" class="displayModeWarning">
25 You are viewing extension docs in chrome via the 'file:' scheme: are you exp ecting to see local changes when you refresh? You'll need run chrome with --allo w-file-access-from-files. 25 You are viewing extension docs in chrome via the 'file:' scheme: are you exp ecting to see local changes when you refresh? You'll need run chrome with --allo w-file-access-from-files.
26 </div> 26 </div>
27 <div id="branchWarning" class="displayModeWarning"> 27 <div id="branchWarning" class="displayModeWarning">
28 <span>WARNING: This is the <span id="branchName">BETA</span> documentation. 28 <span>WARNING: This is the <span id="branchName">BETA</span> documentation.
29 It may not work with the stable release of Chrome.</span> 29 It may not work with the stable release of Chrome.</span>
30 <select id="branchChooser"> 30 <select id="branchChooser">
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 </li> 150 </li>
151 <li><h2><a href="https://github.com/GoogleChrome/chrome-app-samples">S amples</a></h2></li> 151 <li><h2><a href="https://github.com/GoogleChrome/chrome-app-samples">S amples</a></h2></li>
152 <li><h2><a href="app_known_issues.html">Known Issues</a></h2></li> 152 <li><h2><a href="app_known_issues.html">Known Issues</a></h2></li>
153 </ul> 153 </ul>
154 </div> 154 </div>
155 <script> 155 <script>
156 initToggles(); 156 initToggles();
157 </script> 157 </script>
158 <div class="g-unit" id="gc-pagecontent"> 158 <div class="g-unit" id="gc-pagecontent">
159 <div id="pageTitle"> 159 <div id="pageTitle">
160 <h1 class="page_title">chrome.appWindow</h1> 160 <h1 class="page_title">chrome.app.window</h1>
161 </div> 161 </div>
162 <!-- TABLE OF CONTENTS --> 162 <!-- TABLE OF CONTENTS -->
163 <div id="toc"> 163 <div id="toc">
164 <h2>Contents</h2> 164 <h2>Contents</h2>
165 <ol> 165 <ol>
166 <li> 166 <li>
167 <a href="#apiReference">API reference: chrome.appWindow</a> 167 <a href="#apiReference">API reference: chrome.app.window</a>
168 <ol> 168 <ol>
169 <li> 169 <li>
170 <a href="#global-methods">Methods</a> 170 <a href="#global-methods">Methods</a>
171 <ol> 171 <ol>
172 <li> 172 <li>
173 <a href="#method-create">create</a> 173 <a href="#method-create">create</a>
174 </li><li> 174 </li><li>
175 <a href="#method-focus">focus</a> 175 <a href="#method-focus">focus</a>
176 </li><li> 176 </li><li>
177 <a href="#method-maximize">maximize</a> 177 <a href="#method-maximize">maximize</a>
178 </li><li> 178 </li><li>
179 <a href="#method-minimize">minimize</a> 179 <a href="#method-minimize">minimize</a>
180 </li><li> 180 </li><li>
181 <a href="#method-moveTo">moveTo</a> 181 <a href="#method-moveTo">moveTo</a>
182 </li><li> 182 </li><li>
183 <a href="#method-resizeTo">resizeTo</a> 183 <a href="#method-resizeTo">resizeTo</a>
184 </li><li> 184 </li><li>
185 <a href="#method-restore">restore</a> 185 <a href="#method-restore">restore</a>
186 </li> 186 </li>
187 </ol> 187 </ol>
188 </li> 188 </li>
189 <li> 189 <li>
190 <a href="#types">Types</a> 190 <a href="#types">Types</a>
191 <ol> 191 <ol>
192 <li> 192 <li>
193 <a href="#type-appWindow.CreateWindowOptions">appWindow.CreateWi ndowOptions</a> 193 <a href="#type-app.window.CreateWindowOptions">app.window.Create WindowOptions</a>
194 <ol> 194 <ol>
195 </ol> 195 </ol>
196 </li> 196 </li>
197 </ol> 197 </ol>
198 </li> 198 </li>
199 </ol> 199 </ol>
200 </li> 200 </li>
201 </ol> 201 </ol>
202 </div> 202 </div>
203 <!-- /TABLE OF CONTENTS --> 203 <!-- /TABLE OF CONTENTS -->
204 <!-- Standard content lead-in for experimental API pages --> 204 <!-- Standard content lead-in for experimental API pages -->
205 <p class="warning"> 205 <p class="warning">
206 <!-- Standard content lead-in for APIs that are not yet available on 206 <!-- Standard content lead-in for APIs that are not yet available on
207 the stable channel. --> 207 the stable channel. -->
208 <em>Warning:</em> This API is still under development. It is only 208 <em>Warning:</em> This API is still under development. It is only
209 available for Chrome users on the 209 available for Chrome users on the
210 <span> 210 <span>
211 <strong>dev</strong> 211 <strong>dev</strong>
212 <a href="http://www.chromium.org/getting-involved/dev-channel">ear ly 212 <a href="http://www.chromium.org/getting-involved/dev-channel">ear ly
213 release channel</a>.</span> 213 release channel</a>.</span>
214 <a href="TODO">Learn more</a>. 214 <a href="TODO">Learn more</a>.
215 </p> 215 </p>
216 <!-- STATIC CONTENT PLACEHOLDER --> 216 <!-- STATIC CONTENT PLACEHOLDER -->
217 <div id="static"></div> 217 <div id="static"></div>
218 <!-- API PAGE --> 218 <!-- API PAGE -->
219 <div class="apiPage"> 219 <div class="apiPage">
220 <a name="apiReference"></a> 220 <a name="apiReference"></a>
221 <h2>API reference: chrome.appWindow</h2> 221 <h2>API reference: chrome.app.window</h2>
222 <!-- PROPERTIES --> 222 <!-- PROPERTIES -->
223 <!-- /apiGroup --> 223 <!-- /apiGroup -->
224 <!-- METHODS --> 224 <!-- METHODS -->
225 <div id="methodsTemplate" class="apiGroup"> 225 <div id="methodsTemplate" class="apiGroup">
226 <a name="global-methods"></a> 226 <a name="global-methods"></a>
227 <h3>Methods</h3> 227 <h3>Methods</h3>
228 <!-- iterates over all functions --> 228 <!-- iterates over all functions -->
229 <div class="apiItem"> 229 <div class="apiItem">
230 <a name="method-create"></a> <!-- method-anchor --> 230 <a name="method-create"></a> <!-- method-anchor -->
231 <h4>create</h4> 231 <h4>create</h4>
232 <div class="summary"> 232 <div class="summary">
233 <!-- Note: intentionally longer 80 columns --> 233 <!-- Note: intentionally longer 80 columns -->
234 <span>chrome.appWindow.create</span>(<span class="null"><span> string</span> 234 <span>chrome.app.window.create</span>(<span class="null"><span >string</span>
235 <var><span>url</span></var></span><span class="optional">< span>, </span><span>appWindow.CreateWindowOptions</span> 235 <var><span>url</span></var></span><span class="optional">< span>, </span><span>app.window.CreateWindowOptions</span>
236 <var><span>options</span></var></span><span class="optiona l"><span>, </span><span>function</span> 236 <var><span>options</span></var></span><span class="optiona l"><span>, </span><span>function</span>
237 <var><span>CreateWindowCallback</span></var></span>)</div> 237 <var><span>CreateWindowCallback</span></var></span>)</div>
238 <div class="description"> 238 <div class="description">
239 <!-- PARAMETERS --> 239 <!-- PARAMETERS -->
240 <h4>Parameters</h4> 240 <h4>Parameters</h4>
241 <dl> 241 <dl>
242 <div> 242 <div>
243 <div> 243 <div>
244 <dt> 244 <dt>
245 <var>url</var> 245 <var>url</var>
(...skipping 22 matching lines...) Expand all
268 <div> 268 <div>
269 <dt> 269 <dt>
270 <var>options</var> 270 <var>options</var>
271 <em> 271 <em>
272 <!-- TYPE --> 272 <!-- TYPE -->
273 <div style="display:inline"> 273 <div style="display:inline">
274 ( 274 (
275 <span class="optional">optional</span> 275 <span class="optional">optional</span>
276 <span id="typeTemplate"> 276 <span id="typeTemplate">
277 <span> 277 <span>
278 <a href="appWindow.html#type-appWindow.CreateWindowOptio ns">appWindow.CreateWindowOptions</a> 278 <a href="app.window.html#type-app.window.CreateWindowOpt ions">app.window.CreateWindowOptions</a>
279 </span> 279 </span>
280 </span> 280 </span>
281 ) 281 )
282 </div> 282 </div>
283 </em> 283 </em>
284 </dt> 284 </dt>
285 <dd class="todo"> 285 <dd class="todo">
286 Undocumented. 286 Undocumented.
287 </dd> 287 </dd>
288 <!-- OBJECT PROPERTIES --> 288 <!-- OBJECT PROPERTIES -->
(...skipping 26 matching lines...) Expand all
315 <!-- OBJECT METHODS --> 315 <!-- OBJECT METHODS -->
316 <!-- OBJECT EVENT FIELDS --> 316 <!-- OBJECT EVENT FIELDS -->
317 <!-- FUNCTION PARAMETERS --> 317 <!-- FUNCTION PARAMETERS -->
318 <dd> 318 <dd>
319 <div> 319 <div>
320 <h5>Parameters</h5> 320 <h5>Parameters</h5>
321 <dl> 321 <dl>
322 <div> 322 <div>
323 <div> 323 <div>
324 <dt> 324 <dt>
325 <var>view_id</var> 325 <var>created_window</var>
326 <em> 326 <em>
327 <!-- TYPE --> 327 <!-- TYPE -->
328 <div style="display:inline"> 328 <div style="display:inline">
329 ( 329 (
330 <span id="typeTemplate"> 330 <span id="typeTemplate">
331 <span> 331 <span>
332 <span>integer</span> 332 <span>global</span>
333 </span> 333 </span>
334 </span> 334 </span>
335 ) 335 )
336 </div> 336 </div>
337 </em> 337 </em>
338 </dt> 338 </dt>
339 <dd class="todo"> 339 <dd class="todo">
340 Undocumented. 340 Undocumented.
341 </dd> 341 </dd>
342 <!-- OBJECT PROPERTIES --> 342 <!-- OBJECT PROPERTIES -->
(...skipping 12 matching lines...) Expand all
355 <dl> 355 <dl>
356 </dl> 356 </dl>
357 <!-- CALLBACK --> 357 <!-- CALLBACK -->
358 <!-- MIN_VERSION --> 358 <!-- MIN_VERSION -->
359 </div> <!-- /description --> 359 </div> <!-- /description -->
360 </div><div class="apiItem"> 360 </div><div class="apiItem">
361 <a name="method-focus"></a> <!-- method-anchor --> 361 <a name="method-focus"></a> <!-- method-anchor -->
362 <h4>focus</h4> 362 <h4>focus</h4>
363 <div class="summary"> 363 <div class="summary">
364 <!-- Note: intentionally longer 80 columns --> 364 <!-- Note: intentionally longer 80 columns -->
365 <span>chrome.appWindow.focus</span>()</div> 365 <span>chrome.app.window.focus</span>()</div>
366 <div class="description"> 366 <div class="description">
367 <!-- PARAMETERS --> 367 <!-- PARAMETERS -->
368 <dl> 368 <dl>
369 </dl> 369 </dl>
370 <!-- RETURNS --> 370 <!-- RETURNS -->
371 <dl> 371 <dl>
372 </dl> 372 </dl>
373 <!-- CALLBACK --> 373 <!-- CALLBACK -->
374 <!-- MIN_VERSION --> 374 <!-- MIN_VERSION -->
375 </div> <!-- /description --> 375 </div> <!-- /description -->
376 </div><div class="apiItem"> 376 </div><div class="apiItem">
377 <a name="method-maximize"></a> <!-- method-anchor --> 377 <a name="method-maximize"></a> <!-- method-anchor -->
378 <h4>maximize</h4> 378 <h4>maximize</h4>
379 <div class="summary"> 379 <div class="summary">
380 <!-- Note: intentionally longer 80 columns --> 380 <!-- Note: intentionally longer 80 columns -->
381 <span>chrome.appWindow.maximize</span>()</div> 381 <span>chrome.app.window.maximize</span>()</div>
382 <div class="description"> 382 <div class="description">
383 <!-- PARAMETERS --> 383 <!-- PARAMETERS -->
384 <dl> 384 <dl>
385 </dl> 385 </dl>
386 <!-- RETURNS --> 386 <!-- RETURNS -->
387 <dl> 387 <dl>
388 </dl> 388 </dl>
389 <!-- CALLBACK --> 389 <!-- CALLBACK -->
390 <!-- MIN_VERSION --> 390 <!-- MIN_VERSION -->
391 </div> <!-- /description --> 391 </div> <!-- /description -->
392 </div><div class="apiItem"> 392 </div><div class="apiItem">
393 <a name="method-minimize"></a> <!-- method-anchor --> 393 <a name="method-minimize"></a> <!-- method-anchor -->
394 <h4>minimize</h4> 394 <h4>minimize</h4>
395 <div class="summary"> 395 <div class="summary">
396 <!-- Note: intentionally longer 80 columns --> 396 <!-- Note: intentionally longer 80 columns -->
397 <span>chrome.appWindow.minimize</span>()</div> 397 <span>chrome.app.window.minimize</span>()</div>
398 <div class="description"> 398 <div class="description">
399 <!-- PARAMETERS --> 399 <!-- PARAMETERS -->
400 <dl> 400 <dl>
401 </dl> 401 </dl>
402 <!-- RETURNS --> 402 <!-- RETURNS -->
403 <dl> 403 <dl>
404 </dl> 404 </dl>
405 <!-- CALLBACK --> 405 <!-- CALLBACK -->
406 <!-- MIN_VERSION --> 406 <!-- MIN_VERSION -->
407 </div> <!-- /description --> 407 </div> <!-- /description -->
408 </div><div class="apiItem"> 408 </div><div class="apiItem">
409 <a name="method-moveTo"></a> <!-- method-anchor --> 409 <a name="method-moveTo"></a> <!-- method-anchor -->
410 <h4>moveTo</h4> 410 <h4>moveTo</h4>
411 <div class="summary"> 411 <div class="summary">
412 <!-- Note: intentionally longer 80 columns --> 412 <!-- Note: intentionally longer 80 columns -->
413 <span>chrome.appWindow.moveTo</span>(<span class="null"><span> integer</span> 413 <span>chrome.app.window.moveTo</span>(<span class="null"><span >integer</span>
414 <var><span>x</span></var></span><span class="null"><span>, </span><span>integer</span> 414 <var><span>x</span></var></span><span class="null"><span>, </span><span>integer</span>
415 <var><span>y</span></var></span>)</div> 415 <var><span>y</span></var></span>)</div>
416 <div class="description"> 416 <div class="description">
417 <!-- PARAMETERS --> 417 <!-- PARAMETERS -->
418 <h4>Parameters</h4> 418 <h4>Parameters</h4>
419 <dl> 419 <dl>
420 <div> 420 <div>
421 <div> 421 <div>
422 <dt> 422 <dt>
423 <var>x</var> 423 <var>x</var>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 <dl> 473 <dl>
474 </dl> 474 </dl>
475 <!-- CALLBACK --> 475 <!-- CALLBACK -->
476 <!-- MIN_VERSION --> 476 <!-- MIN_VERSION -->
477 </div> <!-- /description --> 477 </div> <!-- /description -->
478 </div><div class="apiItem"> 478 </div><div class="apiItem">
479 <a name="method-resizeTo"></a> <!-- method-anchor --> 479 <a name="method-resizeTo"></a> <!-- method-anchor -->
480 <h4>resizeTo</h4> 480 <h4>resizeTo</h4>
481 <div class="summary"> 481 <div class="summary">
482 <!-- Note: intentionally longer 80 columns --> 482 <!-- Note: intentionally longer 80 columns -->
483 <span>chrome.appWindow.resizeTo</span>(<span class="null"><spa n>integer</span> 483 <span>chrome.app.window.resizeTo</span>(<span class="null"><sp an>integer</span>
484 <var><span>width</span></var></span><span class="null"><sp an>, </span><span>integer</span> 484 <var><span>width</span></var></span><span class="null"><sp an>, </span><span>integer</span>
485 <var><span>height</span></var></span>)</div> 485 <var><span>height</span></var></span>)</div>
486 <div class="description"> 486 <div class="description">
487 <!-- PARAMETERS --> 487 <!-- PARAMETERS -->
488 <h4>Parameters</h4> 488 <h4>Parameters</h4>
489 <dl> 489 <dl>
490 <div> 490 <div>
491 <div> 491 <div>
492 <dt> 492 <dt>
493 <var>width</var> 493 <var>width</var>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 <dl> 543 <dl>
544 </dl> 544 </dl>
545 <!-- CALLBACK --> 545 <!-- CALLBACK -->
546 <!-- MIN_VERSION --> 546 <!-- MIN_VERSION -->
547 </div> <!-- /description --> 547 </div> <!-- /description -->
548 </div><div class="apiItem"> 548 </div><div class="apiItem">
549 <a name="method-restore"></a> <!-- method-anchor --> 549 <a name="method-restore"></a> <!-- method-anchor -->
550 <h4>restore</h4> 550 <h4>restore</h4>
551 <div class="summary"> 551 <div class="summary">
552 <!-- Note: intentionally longer 80 columns --> 552 <!-- Note: intentionally longer 80 columns -->
553 <span>chrome.appWindow.restore</span>()</div> 553 <span>chrome.app.window.restore</span>()</div>
554 <div class="description"> 554 <div class="description">
555 <!-- PARAMETERS --> 555 <!-- PARAMETERS -->
556 <dl> 556 <dl>
557 </dl> 557 </dl>
558 <!-- RETURNS --> 558 <!-- RETURNS -->
559 <dl> 559 <dl>
560 </dl> 560 </dl>
561 <!-- CALLBACK --> 561 <!-- CALLBACK -->
562 <!-- MIN_VERSION --> 562 <!-- MIN_VERSION -->
563 </div> <!-- /description --> 563 </div> <!-- /description -->
564 </div> <!-- /apiItem --> 564 </div> <!-- /apiItem -->
565 </div> <!-- /apiGroup --> 565 </div> <!-- /apiGroup -->
566 <!-- EVENTS --> 566 <!-- EVENTS -->
567 <!-- /apiGroup --> 567 <!-- /apiGroup -->
568 <!-- TYPES --> 568 <!-- TYPES -->
569 <div class="apiGroup"> 569 <div class="apiGroup">
570 <a name="types"></a> 570 <a name="types"></a>
571 <h3 id="types">Types</h3> 571 <h3 id="types">Types</h3>
572 <!-- iterates over all types --> 572 <!-- iterates over all types -->
573 <div class="apiItem"> 573 <div class="apiItem">
574 <a name="type-appWindow.CreateWindowOptions"></a> 574 <a name="type-app.window.CreateWindowOptions"></a>
575 <h4>appWindow.CreateWindowOptions</h4> 575 <h4>app.window.CreateWindowOptions</h4>
576 <div> 576 <div>
577 <dt> 577 <dt>
578 <em> 578 <em>
579 <!-- TYPE --> 579 <!-- TYPE -->
580 <div style="display:inline"> 580 <div style="display:inline">
581 ( 581 (
582 <span id="typeTemplate"> 582 <span id="typeTemplate">
583 <span> 583 <span>
584 <span>object</span> 584 <span>object</span>
585 </span> 585 </span>
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 _uff=0; 883 _uff=0;
884 urchinTracker(); 884 urchinTracker();
885 } 885 }
886 catch(e) {/* urchinTracker not available. */} 886 catch(e) {/* urchinTracker not available. */}
887 </script> 887 </script>
888 <!-- end analytics --> 888 <!-- end analytics -->
889 </div> 889 </div>
890 </div> <!-- /gc-footer --> 890 </div> <!-- /gc-footer -->
891 </div> <!-- /gc-container --> 891 </div> <!-- /gc-container -->
892 </body></html> 892 </body></html>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/apps/api_index.html ('k') | chrome/common/extensions/docs/apps/appWindow.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698