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

Side by Side Diff: chrome/common/extensions/docs/static/ntp.html

Issue 376001: ntp.html -> override.html (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
(Empty)
1 <div id="pageData-title" class="pageData">New Tab Pages</div>
2
3 <p>
4 The New Tab Page is the page that appears
5 when the user creates a new tab or window.
6 You can override the default New Tab Page,
7 providing an HTML file to be used instead.
8 This HTML file usually has CSS and JavaScript code,
9 as well as HTML.
10 </p>
11
12 <p class="comment">
13 [PENDING: Show a screenshot here, featuring both the + and the NTP.]
14 </p>
15
16 <h2 id="manifest">Manifest</h2>
17
18 <p>
19 Register your New Tab Page in the
20 <a href="manifest.html">extension manifest</a>
21 like this:
22 </p>
23
24 <pre>
25 "chrome_url_overrides": {
26 "newtab": "newtab.html"
27 }
28 </pre>
29
30
31 <h2 id="examples">Examples</h2>
32
33 <p>
34 For an example of specifying a very simple New Tab Page,
35 see the
36 <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extens ions/samples/override_igoogle/">override_igoogle</a> example.
37 That example uses a 3-line file named <code>redirect.html</code>
38 to implement the New Tab Page.
39 </p>
40
41 <div class="comment">
42
43 <p class="tbd">
44 [PENDING: Could have Tips section with a <b>Do</b>, <b>Do not</b> list
45 similar to browser actions.
46 </p>
47
48 <p class="tbd">
49 [PENDING: Maybe have a gallery of NTPs?]
50 </p>
51
52 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698