diff options
author | kathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-24 15:53:22 +0000 |
---|---|---|
committer | kathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-24 15:53:22 +0000 |
commit | 4f48e5f82280a06f10134c34a2e4d217c3b8ce7c (patch) | |
tree | a80866ca94211e75dcc052e98fc0dbbf9f0331d5 /chrome/common | |
parent | d2d808639adbe59b8ea045a92ace5a5a7ec0eca8 (diff) | |
download | chromium_src-4f48e5f82280a06f10134c34a2e4d217c3b8ce7c.zip chromium_src-4f48e5f82280a06f10134c34a2e4d217c3b8ce7c.tar.gz chromium_src-4f48e5f82280a06f10134c34a2e4d217c3b8ce7c.tar.bz2 |
Placeholders for major doc pages. Also a few minor doc fixes.
TESTS=none
BUGS=none
Review URL: http://codereview.chromium.org/159309
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21530 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rwxr-xr-x | chrome/common/extensions/docs/css/ApiRefStyles.css | 5 | ||||
-rwxr-xr-x | chrome/common/extensions/docs/devguide.html | 89 | ||||
-rwxr-xr-x | chrome/common/extensions/docs/helloworld.html | 79 | ||||
-rwxr-xr-x | chrome/common/extensions/docs/index.html | 119 | ||||
-rwxr-xr-x | chrome/common/extensions/docs/overview.html | 139 | ||||
-rwxr-xr-x | chrome/common/extensions/docs/reference/bookmarks_overview.html | 6 | ||||
-rwxr-xr-x | chrome/common/extensions/docs/reference/chrome-api-index.html | 94 | ||||
-rwxr-xr-x | chrome/common/extensions/docs/reference/images/bookmark-hierarchy.png | bin | 0 -> 50904 bytes | |||
-rwxr-xr-x | chrome/common/extensions/docs/reference/images/bookmarks.png | bin | 0 -> 21105 bytes | |||
-rwxr-xr-x | chrome/common/extensions/docs/reference/index.html | 91 | ||||
-rwxr-xr-x | chrome/common/extensions/docs/stylesheet.css | 85 | ||||
-rwxr-xr-x | chrome/common/extensions/docs/template/api_template.html | 19 |
12 files changed, 611 insertions, 115 deletions
diff --git a/chrome/common/extensions/docs/css/ApiRefStyles.css b/chrome/common/extensions/docs/css/ApiRefStyles.css index 37bd248..fa46943 100755 --- a/chrome/common/extensions/docs/css/ApiRefStyles.css +++ b/chrome/common/extensions/docs/css/ApiRefStyles.css @@ -1,3 +1,8 @@ +/* + * PENDING: This file has styles that aren't used by handwritten pages. + * So we should probably have a common CSS file, plus this one, and then + * one for handwritten pages. + */ .todo { color: red; } diff --git a/chrome/common/extensions/docs/devguide.html b/chrome/common/extensions/docs/devguide.html new file mode 100755 index 0000000..0aefc51 --- /dev/null +++ b/chrome/common/extensions/docs/devguide.html @@ -0,0 +1,89 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Extensions: Developer's Guide</title> + <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css"> +</head> +<body> + + <div id="container"> + <a name="top"> </a> + + <!-- API HEADER --> + <div id="pageHeader"> + <!-- BREADCRUMB --> + <!-- TODO: Fix these hrefs --> + <div id="breadcrumbs"> + <a href="./index.html">Google Chrome Extensions</a> > + Developer's Guide + </div> + <div id="pageTitle"> + <h1>Developer's Guide</h1> + </div> + </div> <!-- /pageHeader --> + + <div id="pageContent"> + <!-- SIDENAV --> + <div id="leftNav"> + <ul> + <li> Overview </li> + <li> Get Started </li> + <li> Developer's Guide </li> + <li> Reference + <ul> + <li> chrome.* APIs + </li> + </ul> + </li> + </ul> + </div> + + <div id="mainColumn"> + + <!-- CONTENT --> +<p> +[PENDING: intro to the guide goes here. say where to go. lots o' links.] +</p> + +<p> +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sed +elit felis. Vestibulum porta mauris eget mi placerat a condimentum leo +semper. Ut scelerisque, ipsum in cursus semper, lectus enim molestie +ante, a porttitor dolor neque sit amet lorem. Integer dignissim gravida +eros ac rhoncus. Curabitur porttitor hendrerit dolor nec aliquam. Ut +vulputate ultrices eros eu ultrices. Pellentesque tempor mattis +odio in blandit. Proin nulla metus, tristique eget iaculis gravida, +varius at leo. Ut dolor mi, auctor et scelerisque vitae, volutpat +eleifend magna. Pellentesque habitant morbi tristique senectus et +netus et malesuada fames ac turpis egestas. Morbi ut risus nec massa +consectetur accumsan sed non est. Fusce ornare eros et felis dignissim +convallis. Maecenas condimentum purus eget nisl condimentum vitae ornare +diam sollicitudin. Nulla et dictum ante. In lacus odio, dapibus vel +faucibus at, posuere id enim. Nulla tincidunt felis id lectus convallis +vulputate. Phasellus libero dui, posuere sollicitudin egestas eget, +blandit in urna. Sed cursus tellus sed diam hendrerit pulvinar. +</p> + +<p> +Nam tincidunt mollis aliquam. Suspendisse bibendum dignissim dui, +ac mollis ligula fringilla sit amet. Pellentesque dapibus lobortis +dignissim. Cras eu lorem a ligula imperdiet ultricies. Phasellus ipsum +mi, accumsan quis dignissim eu, commodo ut mi. Nulla sagittis aliquet +malesuada. Ut lobortis tellus vitae dolor venenatis eu ullamcorper +lorem gravida. Quisque non pharetra velit. Maecenas elit risus, +ultricies in sagittis eget, facilisis sed neque. Quisque feugiat porta +pharetra. Vestibulum lorem magna, pellentesque et mattis sit amet, +euismod et dui. +</p> + + </div> <!-- /mainColumn --> + </div> <!-- /pageContent --> + <div id="pageFooter" --> + Copyright 2009 + <br /> + TBD: copyright/license should be automatically included here + </div> <!-- /pageFooter --> + </div> <!-- /container --> +</body> +</html> diff --git a/chrome/common/extensions/docs/helloworld.html b/chrome/common/extensions/docs/helloworld.html index 61db8f3..af5471c 100755 --- a/chrome/common/extensions/docs/helloworld.html +++ b/chrome/common/extensions/docs/helloworld.html @@ -1,32 +1,66 @@ -<!DOCTYPE HTML> -<html> -<head> -<meta charset="utf-8"> -<title>Extensions: Hello, World</title> -<link href="stylesheet.css" rel="stylesheet" type="text/css"> +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Extensions: Getting Started</title> + <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css"> </head> - <body> -<h1>Hello, World</h1> - -<p> -This tutorial walks you through creating a simple extension. -To complete this tutorial, you must have Windows; -Linux and Mac don't yet support extensions. -</p> -<h4> Contents </h4> + <div id="container"> + <a name="top"> </a> -<ul> + <!-- API HEADER --> + <div id="pageHeader"> + <!-- BREADCRUMB --> + <!-- TODO: Fix these hrefs --> + <div id="breadcrumbs"> + <a href="./index.html">Google Chrome Extensions</a> > + <a href="devguide.html">Developer's Guide</a> > + Get Started (Hello, World!) + </div> + <div id="pageTitle"> + <h1>Get Started (Hello, World!) + </div> + </div> <!-- /pageHeader --> + + <div id="pageContent"> + <!-- SIDENAV --> + <div id="leftNav"> + <ul> + <li> Overview </li> + <li> Get Started </li> + <li> Developer's Guide </li> + <li> Reference + <ul> + <li> chrome.* APIs + </li> + </ul> + </li> + </ul> + </div> + + <div id="mainColumn"> + <!-- TABLE OF CONTENTS --> + <div id="toc"> + <p>Contents</p> +<ol> <li> <a href="#browser">Get your browser ready</a> </li> <li> <a href="#load">Create and load an extension</a> </li> <li> <a href="#code">Add code to the extension</a> </li> <li> <a href="#debug">Debug the extension</a> </li> <li> <a href="#summary">Summary</a> </li> -</ul> +</ol> + </div> + <!-- /TABLE OF CONTENTS --> + + + <!-- CONTENT --> <p> -[PENDING: automate the TOC; add navigation links to other pages] +This tutorial walks you through creating a simple extension. +To complete this tutorial, you must have Windows; +Linux and Mac don't yet support extensions. </p> <h2 id="browser">Get your browser ready</h2> @@ -299,5 +333,14 @@ what else we would've done if this were a real extension (e.g. package it), and where to find more information. Suggest where to go next.]</p> + + </div> <!-- /mainColumn --> + </div> <!-- /pageContent --> + <div id="pageFooter" --> + Copyright 2009 + <br /> + TBD: copyright/license should be automatically included here + </div> <!-- /pageFooter --> + </div> <!-- /container --> </body> </html> diff --git a/chrome/common/extensions/docs/index.html b/chrome/common/extensions/docs/index.html new file mode 100755 index 0000000..84012ff --- /dev/null +++ b/chrome/common/extensions/docs/index.html @@ -0,0 +1,119 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Extensions</title> + <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css"> +</head> +<body> + + <div id="container"> + <a name="top"> </a> + + <!-- API HEADER --> + <div id="pageHeader"> + <!-- BREADCRUMB --> + <!-- TODO: Fix these hrefs --> + <div id="breadcrumbs"> + Google Chrome Extensions + </div> + <div id="pageTitle"> + <h1>Google Chrome Extensions</h1> + </div> + </div> <!-- /pageHeader --> + + <div id="pageContent"> + <!-- SIDENAV --> + <div id="leftNav"> + <ul> + <li> Overview </li> + <li> Get Started </li> + <li> Developer's Guide </li> + <li> Reference + <ul> + <li> chrome.* APIs + </li> + </ul> + </li> + </ul> + </div> + + <div id="mainColumn"> + + <!-- CONTENT --> +<p> If you want to customize Google Chrome, you've come to the right place. An <em>extension</em> is a bundle of web code (HTML, JavaScript, perhaps some CSS) that lets you add functionality or a bit of user interface (usually both) to the browser. <a href="http://dev.chromium.org/developers/design-documents/extensions/samples">Examples of extensions</a> include a mail checker, a newsfeed subscriber, and a status monitor.<br> + </p> + +<h3>Contents</h3> + <p> + This documentation is just being written; here's what we have so far. + You might also want to look at <a href="#other">Other resources</a>. + If you just want to <em>make</em> something, + go to <a href="helloworld.html">Get Started</a>. + </p> + + <ul> + <li><a href="overview.html">Overview</a></li> + <li><a href="helloworld.html">Get Started</a> (Hello, World!)</li> + <li><a href="devguide.html">Developer's Guide</a></li> + <li><a href="reference/index.html">Reference</a></li> + <ul> + <li>Supported APIs</li> + <ul> + <li>standard JavaScript libraries</li> + <li>XMLHttpRequest</li> + <li>anything in WebKit</li> + <li>anything in V8</li> + <li>anything you put in your zipfile</li> + </ul> + <li><a href="reference/chrome-api-index.html">chrome.* APIs</a> + <ul> + <li>[PENDING: fill this out automatically. In the meantime, start at the <a href="reference/bookmarks.html">chrome.bookmarks</a> page and click the links in the left column.]</li> + </ul> + </li> + </ul> + <li>Samples</li> + <ul> + <li>#1</li> + <li>#2</li> + </ul> + </ul> + + <h3 id="other">Other resources</h3> + + <ul> + <li><a href="http://dev.chromium.org/developers/design-documents/extensions">Design documents</a>:</li> + <ul> + <li><a href="http://dev.chromium.org/developers/design-documents/extensions/howto">HOWTO</a>: The precursor to Get Started [PENDING: make sure it's still useful]</li> + <li><a href="http://dev.chromium.org/developers/design-documents/extensions/packaging">Packaging</a>: [PENDING: might be obsolete]</li> + <li>APIs:</li> + <ul> + <li><a href="http://dev.chromium.org/developers/design-documents/extensions/bookmarks-api">Bookmarks</a></li> + <li><a href="http://dev.chromium.org/developers/design-documents/extensions/events">Events</a></li> + </ul> + <ul> + <li><a href="http://dev.chromium.org/developers/design-documents/extensions/tabs-api">Tabs</a></li> + </ul> + <ul> + <li><a href="http://dev.chromium.org/developers/design-documents/extensions/windows-api">Windows</a></li> + </ul> + <li>Features:</li> + <ul> + <li><a href="http://dev.chromium.org/developers/design-documents/extensions/toolstrips">Toolstrips</a>: Add UI to the toolbar area</li> + <li><a href="http://dev.chromium.org/developers/design-documents/extensions/content-scripts">Content scripts</a>: Run code within the context of web pages</li> + <li><a href="http://dev.chromium.org/developers/design-documents/extensions/background-pages">Background pages</a>: Run code that's not directly related to the UI</li> + <li><a href="http://dev.chromium.org/developers/design-documents/extensions/cross-origin-xhr">Cross-Origin XMLHttpRequest</a>: Communicate with multiple domains</li> + </ul> + </ul> + <li><a href="http://groups.google.com/group/chromium-extensions">chromium-extensions</a> (discussion group)</li> + </ul> + </div> <!-- /mainColumn --> + </div> <!-- /pageContent --> + <div id="pageFooter" --> + Copyright 2009 + <br /> + TBD: copyright/license should be automatically included here + </div> <!-- /pageFooter --> + </div> <!-- /container --> +</body> +</html> diff --git a/chrome/common/extensions/docs/overview.html b/chrome/common/extensions/docs/overview.html new file mode 100755 index 0000000..4264bde --- /dev/null +++ b/chrome/common/extensions/docs/overview.html @@ -0,0 +1,139 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Extensions: Overview</title> + <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css"> +</head> +<body> + + <div id="container"> + <a name="top"> </a> + + <!-- API HEADER --> + <div id="pageHeader"> + <!-- BREADCRUMB --> + <!-- TODO: Fix these hrefs --> + <div id="breadcrumbs"> + <a href="./index.html">Google Chrome Extensions</a> > + Overview + </div> + <div id="pageTitle"> + <h1>Overview</h1> + </div> + </div> <!-- /pageHeader --> + + <div id="pageContent"> + <!-- SIDENAV --> + <div id="leftNav"> + <ul> + <li> Overview </li> + <li> Get Started </li> + <li> Developer's Guide </li> + <li> Reference + <ul> + <li> chrome.* APIs + </li> + </ul> + </li> + </ul> + </div> + + <div id="mainColumn"> + <!-- TABLE OF CONTENTS --> + <div id="toc"> + <p>Contents</p> + [PENDING: links to all h2s and h3s should go here] + </div> + <!-- /TABLE OF CONTENTS --> + + + <!-- CONTENT --> +<p> +[PENDING: technical overview to be provided] +</p> + +<p> +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sed +elit felis. Vestibulum porta mauris eget mi placerat a condimentum leo +semper. Ut scelerisque, ipsum in cursus semper, lectus enim molestie +ante, a porttitor dolor neque sit amet lorem. Integer dignissim gravida +eros ac rhoncus. Curabitur porttitor hendrerit dolor nec aliquam. Ut +vulputate ultrices eros eu ultrices. Pellentesque tempor mattis +odio in blandit. Proin nulla metus, tristique eget iaculis gravida, +varius at leo. Ut dolor mi, auctor et scelerisque vitae, volutpat +eleifend magna. Pellentesque habitant morbi tristique senectus et +netus et malesuada fames ac turpis egestas. Morbi ut risus nec massa +consectetur accumsan sed non est. Fusce ornare eros et felis dignissim +convallis. Maecenas condimentum purus eget nisl condimentum vitae ornare +diam sollicitudin. Nulla et dictum ante. In lacus odio, dapibus vel +faucibus at, posuere id enim. Nulla tincidunt felis id lectus convallis +vulputate. Phasellus libero dui, posuere sollicitudin egestas eget, +blandit in urna. Sed cursus tellus sed diam hendrerit pulvinar. +</p> + +<p> +Nam tincidunt mollis aliquam. Suspendisse bibendum dignissim dui, +ac mollis ligula fringilla sit amet. Pellentesque dapibus lobortis +dignissim. Cras eu lorem a ligula imperdiet ultricies. Phasellus ipsum +mi, accumsan quis dignissim eu, commodo ut mi. Nulla sagittis aliquet +malesuada. Ut lobortis tellus vitae dolor venenatis eu ullamcorper +lorem gravida. Quisque non pharetra velit. Maecenas elit risus, +ultricies in sagittis eget, facilisis sed neque. Quisque feugiat porta +pharetra. Vestibulum lorem magna, pellentesque et mattis sit amet, +euismod et dui. +</p> + +<p> +Phasellus consectetur dolor auctor mi luctus eu auctor velit +aliquam. Donec malesuada laoreet risus, et facilisis massa rhoncus sit +amet. Vivamus sit amet fermentum lorem. Morbi nulla quam, ultricies +malesuada scelerisque a, convallis vitae nisl. Pellentesque consequat +libero sit amet lectus convallis varius. Donec at mi orci. Duis malesuada +massa nulla. Nam vel tellus mauris. Suspendisse potenti. Cras euismod, +orci volutpat ornare condimentum, eros nibh iaculis lectus, ac euismod +nibh eros nec turpis. Nullam at est elit, quis sagittis est. +</p> + +<p> +Donec aliquet, velit in elementum semper, purus metus laoreet +nisl, in aliquet nulla erat eu quam. Fusce iaculis, augue quis +tristique posuere, massa tortor congue lacus, ac scelerisque +velit tortor eget lorem. Praesent in massa enim, fermentum imperdiet +ligula. Suspendisse purus sapien, sagittis eu condimentum ut, scelerisque +vel purus. Vestibulum ornare faucibus metus eu rutrum. Maecenas convallis +felis vitae lorem tincidunt vitae interdum nunc adipiscing. Proin +a egestas enim. Proin mattis mollis urna id lobortis. Sed id libero +nec purus sollicitudin tristique id vitae purus. Duis rutrum semper +mollis. Nam posuere nulla at mi egestas nec auctor mauris pretium. Ut nec +quam lectus. Vivamus laoreet ligula ut odio ultricies aliquet. Aliquam +erat volutpat. Nunc quis lectus vitae massa consectetur tempus vitae +eu mi. +</p> + +<p> +Duis vel nunc ut orci pretium eleifend ac posuere nisi. Curabitur in +lorem in sapien lobortis facilisis. Vestibulum varius sapien lacus. Morbi +urna sapien, iaculis a mollis eget, pharetra id sapien. Nulla bibendum, +tellus non tristique sodales, eros erat elementum nisl, et ultricies velit +mauris nec odio. Aliquam nisi turpis, accumsan sit amet condimentum non, +volutpat eget arcu. Praesent euismod elementum lorem, in mollis justo +lacinia ut. Cum sociis natoque penatibus et magnis dis parturient montes, +nascetur ridiculus mus. Mauris aliquet elit sit amet dolor iaculis +viverra vehicula magna accumsan. Praesent tempor imperdiet mauris, eu +viverra mauris ultricies sed. In quam lacus, porttitor in facilisis id, +blandit vel massa. Maecenas rutrum ullamcorper enim eu bibendum. Fusce +mauris velit, eleifend vitae consectetur et, condimentum at nunc. Proin +id hendrerit turpis. +</p> + + </div> <!-- /mainColumn --> + </div> <!-- /pageContent --> + <div id="pageFooter" --> + Copyright 2009 + <br /> + TBD: copyright/license should be automatically included here + </div> <!-- /pageFooter --> + </div> <!-- /container --> +</body> +</html> diff --git a/chrome/common/extensions/docs/reference/bookmarks_overview.html b/chrome/common/extensions/docs/reference/bookmarks_overview.html index 3cd3686..073f1ca 100755 --- a/chrome/common/extensions/docs/reference/bookmarks_overview.html +++ b/chrome/common/extensions/docs/reference/bookmarks_overview.html @@ -18,7 +18,7 @@ Each bookmark object represents either a URL or a group of bookmarks, as you can alt="2 kinds of bookmark objects" width="415" height="123" - src="https://sites.google.com/a/google.com/kathys-drafts/Chrome/chrome-extensions-drafts/api-mock-doc/chrome-bookmarks-final-mock/bookmarks.png"></a> + src="images/bookmarks.png"></a> <h3 id="overview-properties">Properties</h3> @@ -104,7 +104,9 @@ Here's how those bookmarks might be represented with bookmark objects:</p> <img alt="a hierarchy of bookmarks" - src="https://sites.google.com/a/google.com/kathys-drafts/Chrome/chrome-extensions-drafts/api-mock-doc/chrome-bookmarks-final-mock/bookmark-hierarchy.png"> + width="522" + height="594" + src="images/bookmark-hierarchy.png"> <p> Here's some code you could use to create that hierarchy:</p> diff --git a/chrome/common/extensions/docs/reference/chrome-api-index.html b/chrome/common/extensions/docs/reference/chrome-api-index.html new file mode 100755 index 0000000..f0368b6 --- /dev/null +++ b/chrome/common/extensions/docs/reference/chrome-api-index.html @@ -0,0 +1,94 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Extensions: chrome.* APIs</title> + <link href="../css/ApiRefStyles.css" rel="stylesheet" type="text/css"> +</head> +<body> + + <div id="container"> + <a name="top"> </a> + + <!-- API HEADER --> + <div id="pageHeader"> + <!-- BREADCRUMB --> + <!-- TODO: Fix these hrefs --> + <div id="breadcrumbs"> + <a href="../index.html">Google Chrome Extensions</a> > + <a href="./index.html">Reference</a> > + chrome.* APIs + </div> + <div id="pageTitle"> + <h1>chrome.* APIs</h1> + </div> + </div> <!-- /pageHeader --> + + <div id="pageContent"> + <!-- SIDENAV --> + <div id="leftNav"> + <ul> + <li> Overview </li> + <li> Get Started </li> + <li> Developer's Guide </li> + <li> Reference + <ul> + <li> chrome.* APIs + </li> + </ul> + </li> + </ul> + </div> + + <div id="mainColumn"> + + <!-- CONTENT --> +<p> +[PENDING: links to reference doc — +for example, <a href="bookmarks.html">chrome.bookmarks</a> +— go here. +Discuss conventions -- e.g. how to handle events, +how almost all methods are asynchronous, etc.] +</p> + +<p> +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sed +elit felis. Vestibulum porta mauris eget mi placerat a condimentum leo +semper. Ut scelerisque, ipsum in cursus semper, lectus enim molestie +ante, a porttitor dolor neque sit amet lorem. Integer dignissim gravida +eros ac rhoncus. Curabitur porttitor hendrerit dolor nec aliquam. Ut +vulputate ultrices eros eu ultrices. Pellentesque tempor mattis +odio in blandit. Proin nulla metus, tristique eget iaculis gravida, +varius at leo. Ut dolor mi, auctor et scelerisque vitae, volutpat +eleifend magna. Pellentesque habitant morbi tristique senectus et +netus et malesuada fames ac turpis egestas. Morbi ut risus nec massa +consectetur accumsan sed non est. Fusce ornare eros et felis dignissim +convallis. Maecenas condimentum purus eget nisl condimentum vitae ornare +diam sollicitudin. Nulla et dictum ante. In lacus odio, dapibus vel +faucibus at, posuere id enim. Nulla tincidunt felis id lectus convallis +vulputate. Phasellus libero dui, posuere sollicitudin egestas eget, +blandit in urna. Sed cursus tellus sed diam hendrerit pulvinar. +</p> + +<p> +Nam tincidunt mollis aliquam. Suspendisse bibendum dignissim dui, +ac mollis ligula fringilla sit amet. Pellentesque dapibus lobortis +dignissim. Cras eu lorem a ligula imperdiet ultricies. Phasellus ipsum +mi, accumsan quis dignissim eu, commodo ut mi. Nulla sagittis aliquet +malesuada. Ut lobortis tellus vitae dolor venenatis eu ullamcorper +lorem gravida. Quisque non pharetra velit. Maecenas elit risus, +ultricies in sagittis eget, facilisis sed neque. Quisque feugiat porta +pharetra. Vestibulum lorem magna, pellentesque et mattis sit amet, +euismod et dui. +</p> + + </div> <!-- /mainColumn --> + </div> <!-- /pageContent --> + <div id="pageFooter" --> + Copyright 2009 + <br /> + TBD: copyright/license should be automatically included here + </div> <!-- /pageFooter --> + </div> <!-- /container --> +</body> +</html> diff --git a/chrome/common/extensions/docs/reference/images/bookmark-hierarchy.png b/chrome/common/extensions/docs/reference/images/bookmark-hierarchy.png Binary files differnew file mode 100755 index 0000000..a3902ae --- /dev/null +++ b/chrome/common/extensions/docs/reference/images/bookmark-hierarchy.png diff --git a/chrome/common/extensions/docs/reference/images/bookmarks.png b/chrome/common/extensions/docs/reference/images/bookmarks.png Binary files differnew file mode 100755 index 0000000..a4d2ca2 --- /dev/null +++ b/chrome/common/extensions/docs/reference/images/bookmarks.png diff --git a/chrome/common/extensions/docs/reference/index.html b/chrome/common/extensions/docs/reference/index.html new file mode 100755 index 0000000..d30dc7f --- /dev/null +++ b/chrome/common/extensions/docs/reference/index.html @@ -0,0 +1,91 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Extensions: Reference</title> + <link href="../css/ApiRefStyles.css" rel="stylesheet" type="text/css"> +</head> +<body> + + <div id="container"> + <a name="top"> </a> + + <!-- API HEADER --> + <div id="pageHeader"> + <!-- BREADCRUMB --> + <!-- TODO: Fix these hrefs --> + <div id="breadcrumbs"> + <a href="./index.html">Google Chrome Extensions</a> > + Reference + </div> + <div id="pageTitle"> + <h1>Reference</h1> + </div> + </div> <!-- /pageHeader --> + + <div id="pageContent"> + <!-- SIDENAV --> + <div id="leftNav"> + <ul> + <li> Overview </li> + <li> Get Started </li> + <li> Developer's Guide </li> + <li> Reference + <ul> + <li> chrome.* APIs + </li> + </ul> + </li> + </ul> + </div> + + <div id="mainColumn"> + + <!-- CONTENT --> +<p> +[PENDING: links to reference doc — +for example, <a href="chrome-api-index.html">chrome.* APIs</a> +— go here.] +</p> + +<p> +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sed +elit felis. Vestibulum porta mauris eget mi placerat a condimentum leo +semper. Ut scelerisque, ipsum in cursus semper, lectus enim molestie +ante, a porttitor dolor neque sit amet lorem. Integer dignissim gravida +eros ac rhoncus. Curabitur porttitor hendrerit dolor nec aliquam. Ut +vulputate ultrices eros eu ultrices. Pellentesque tempor mattis +odio in blandit. Proin nulla metus, tristique eget iaculis gravida, +varius at leo. Ut dolor mi, auctor et scelerisque vitae, volutpat +eleifend magna. Pellentesque habitant morbi tristique senectus et +netus et malesuada fames ac turpis egestas. Morbi ut risus nec massa +consectetur accumsan sed non est. Fusce ornare eros et felis dignissim +convallis. Maecenas condimentum purus eget nisl condimentum vitae ornare +diam sollicitudin. Nulla et dictum ante. In lacus odio, dapibus vel +faucibus at, posuere id enim. Nulla tincidunt felis id lectus convallis +vulputate. Phasellus libero dui, posuere sollicitudin egestas eget, +blandit in urna. Sed cursus tellus sed diam hendrerit pulvinar. +</p> + +<p> +Nam tincidunt mollis aliquam. Suspendisse bibendum dignissim dui, +ac mollis ligula fringilla sit amet. Pellentesque dapibus lobortis +dignissim. Cras eu lorem a ligula imperdiet ultricies. Phasellus ipsum +mi, accumsan quis dignissim eu, commodo ut mi. Nulla sagittis aliquet +malesuada. Ut lobortis tellus vitae dolor venenatis eu ullamcorper +lorem gravida. Quisque non pharetra velit. Maecenas elit risus, +ultricies in sagittis eget, facilisis sed neque. Quisque feugiat porta +pharetra. Vestibulum lorem magna, pellentesque et mattis sit amet, +euismod et dui. +</p> + + </div> <!-- /mainColumn --> + </div> <!-- /pageContent --> + <div id="pageFooter" --> + Copyright 2009 + <br /> + TBD: copyright/license should be automatically included here + </div> <!-- /pageFooter --> + </div> <!-- /container --> +</body> +</html> diff --git a/chrome/common/extensions/docs/stylesheet.css b/chrome/common/extensions/docs/stylesheet.css deleted file mode 100755 index a764843..0000000 --- a/chrome/common/extensions/docs/stylesheet.css +++ /dev/null @@ -1,85 +0,0 @@ -@charset "UTF-8"; -body { - font-family:Arial, Helvetica, sans-serif; - font-size: 13px; -} -h2,h3 { - margin-top: 2em; -} -.comment { - color: rgb(255, 0, 0); -} -.optional { - color: rgb(125, 125, 125); -} -.apiGroup div.description { - margin-left: 2em; -} -.apiGroup div.summary { - border: 1px solid rgb(147, 180, 217); - font-family: "Courier New", Courier, monospace; - padding: 0.5em; - background-color: rgb(202, 222, 244); - /* white-space: pre; */ -} -div.summary div { - margin-bottom: 0.5em; -} -pre .newCode { - background-color: rgb(255, 255, 0); -} -pre { - border: 1px solid rgb(187, 187, 187); - padding: 0.5em; - background-color: rgb(250, 250, 250); -} -div#toc { - background-color: rgb(232, 237, 235); - border: 1px solid rgb(176, 189, 204); - display: inline; - float: right; - margin: 5px 0px 5px 20px; - padding: 5px; - width: 250px; -} -#toc p { - font-weight: bold; - margin: 0px; -} -#toc ol { - list-style-image: none; - list-style-type: none; - padding-left: 1em; - /* margin-top: 1em; //PROBABLY NEED TO SET THIS */ -} -#breadcrumbs { - font-size: 80%; -} -.exampleLink { - font-size: 80%; -} -dd { - margin-bottom: 0.75em; -} -table { - margin-top: 1em; -} -ol li { - margin-top: 1em; -} -/* no styles, for now at least */ -.example { -} -p#classSummary { -} -.apiItem { -} -div.note { - background-color: rgb(202, 222, 244); - border: 1px solid rgb(147, 180, 217); - padding: 0.5em; - margin: 1em 0px; -} -img { - border-width: 0px; -}
\ No newline at end of file diff --git a/chrome/common/extensions/docs/template/api_template.html b/chrome/common/extensions/docs/template/api_template.html index fb96a77..fd3c465 100755 --- a/chrome/common/extensions/docs/template/api_template.html +++ b/chrome/common/extensions/docs/template/api_template.html @@ -6,9 +6,10 @@ <!-- BREADCRUMB --> <!-- TODO: Fix these hrefs --> <div id="breadcrumbs"> - <a href="../index.html">Chrome Extensions</a> > + <a href="../index.html">Google Chrome Extensions</a> > <a href="./index.html">Reference</a> > - <a href="chrome-api-index.html">chrome.* API</a> + <a href="chrome-api-index.html">chrome.* APIs</a> > + <span jscontent="namespace">chrome.apiname</span> </div> <div id="pageTitle"> <h1 jscontent="namespace">chrome.apiname</h1> @@ -20,12 +21,8 @@ <div id="leftNav"> <ul> <li> Overview </li> - <li> Programmer's Guide - <ul> - <li> Getting Started </li> - <li> ... </li> - </ul> - </li> + <li> Get Started </li> + <li> Developer's Guide </li> <li> Reference <ul> <li> chrome.* APIs @@ -268,6 +265,8 @@ </div> <!-- /mainColumn --> </div> <!-- /pageContent --> <div id="pageFooter" --> - TBD: copyright/license goes here + Copyright 2009 + <br /> + TBD: copyright/license should be automatically included here </div> <!-- /pageFooter --> - </div> <!-- /container -->
\ No newline at end of file + </div> <!-- /container --> |