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

Side by Side Diff: chrome/common/extensions/docs/apps/app_hardware.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>
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 <h2 id="usb">Accessing USB devices</h2> 234 <h2 id="usb">Accessing USB devices</h2>
235 <p> 235 <p>
236 You can use the USB API to send messages to any connected device. 236 You can use the USB API to send messages to any connected device.
237 </p> 237 </p>
238 <a name="H3-1"></a><h3>Manifest requirement</h3> 238 <a name="H3-1"></a><h3>Manifest requirement</h3>
239 <p> 239 <p>
240 You must add the "usb" permission 240 You must add the "usb" permission
241 to the manifest file: 241 to the manifest file:
242 </p> 242 </p>
243 <pre>"permissions": [ 243 <pre>"permissions": [
244 "appWindow", 244 "app.window",
245 "experimental", 245 "experimental",
246 "usb" 246 "usb"
247 ] 247 ]
248 </pre> 248 </pre>
249 <a name="H3-2"></a><h3>Finding a device</h3> 249 <a name="H3-2"></a><h3>Finding a device</h3>
250 <p> 250 <p>
251 Every device in a USB bus is identified 251 Every device in a USB bus is identified
252 by its vendor and product IDs. 252 by its vendor and product IDs.
253 To find a device, 253 To find a device,
254 use the <code>findDevice()</code> method 254 use the <code>findDevice()</code> method
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 _uff=0; 807 _uff=0;
808 urchinTracker(); 808 urchinTracker();
809 } 809 }
810 catch(e) {/* urchinTracker not available. */} 810 catch(e) {/* urchinTracker not available. */}
811 </script> 811 </script>
812 <!-- end analytics --> 812 <!-- end analytics -->
813 </div> 813 </div>
814 </div> <!-- /gc-footer --> 814 </div> <!-- /gc-footer -->
815 </div> <!-- /gc-container --> 815 </div> <!-- /gc-container -->
816 </body></html> 816 </body></html>
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/apps/app_external.html ('k') | chrome/common/extensions/docs/apps/app_lifecycle.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698