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

Side by Side Diff: chrome/common/extensions/docs/templates/articles/override.html

Issue 219213007: Remove .html extension from links (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
1 <h1>Override Pages</h1> 1 <h1>Override Pages</h1>
2 2
3 3
4 <style> 4 <style>
5 #pics { 5 #pics {
6 margin:2em 1em 1.5em; 6 margin:2em 1em 1.5em;
7 } 7 }
8 8
9 #pics td { 9 #pics td {
10 text-align:center; 10 text-align:center;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 <b>only one page</b>. 63 <b>only one page</b>.
64 For example, an extension can't override both 64 For example, an extension can't override both
65 the Bookmark Manager and History pages. 65 the Bookmark Manager and History pages.
66 </p> 66 </p>
67 67
68 <p> 68 <p>
69 Incognito windows are treated specially. 69 Incognito windows are treated specially.
70 New Tab pages cannot be overridden in incognito windows. 70 New Tab pages cannot be overridden in incognito windows.
71 Other override pages work in incognito windows 71 Other override pages work in incognito windows
72 as long as the 72 as long as the
73 <a href="manifest/incognito.html">incognito</a> 73 <a href="manifest/incognito">incognito</a>
74 manifest property is set to "spanning" 74 manifest property is set to "spanning"
75 (which is the default value). 75 (which is the default value).
76 See <a href="overview.html#incognito">Saving data and incognito mode</a> 76 See <a href="overview#incognito">Saving data and incognito mode</a>
77 in the Overview for more details on how you should treat 77 in the Overview for more details on how you should treat
78 incognito windows. 78 incognito windows.
79 </p> 79 </p>
80 80
81 <p> 81 <p>
82 The following screenshots show the default New Tab page 82 The following screenshots show the default New Tab page
83 next to a custom New Tab page. 83 next to a custom New Tab page.
84 </p> 84 </p>
85 85
86 <table id="pics"> 86 <table id="pics">
(...skipping 12 matching lines...) Expand all
99 alt="a blank New Tab page" 99 alt="a blank New Tab page"
100 width="200" height="173"> 100 width="200" height="173">
101 </td> 101 </td>
102 </tr> 102 </tr>
103 </table> 103 </table>
104 104
105 <h2 id="manifest">Manifest</h2> 105 <h2 id="manifest">Manifest</h2>
106 106
107 <p> 107 <p>
108 Register an override page in the 108 Register an override page in the
109 <a href="manifest.html">extension manifest</a> like this: 109 <a href="manifest">extension manifest</a> like this:
110 </p> 110 </p>
111 111
112 <pre>{ 112 <pre>{
113 "name": "My extension", 113 "name": "My extension",
114 ... 114 ...
115 115
116 <b> "chrome_url_overrides" : { 116 <b> "chrome_url_overrides" : {
117 "<em>pageToOverride</em>": "<em>myPage.html</em>" 117 "<em>pageToOverride</em>": "<em>myPage.html</em>"
118 }</b>, 118 }</b>,
119 ... 119 ...
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 Until they do, 175 Until they do,
176 you're better off trying to make something completely different. 176 you're better off trying to make something completely different.
177 </p> 177 </p>
178 </li> 178 </li>
179 </ul> 179 </ul>
180 180
181 <h2 id="examples"> Examples </h2> 181 <h2 id="examples"> Examples </h2>
182 182
183 <p> 183 <p>
184 See the 184 See the
185 <a href="samples.html#chrome_url_overrides">override samples</a>. 185 <a href="samples#chrome_url_overrides">override samples</a>.
186 </p> 186 </p>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698