Commit f9667134 authored by mhm@chromium.org's avatar mhm@chromium.org

Extension - Docs - Fix broken link to theme resource.

The location of:
 /chrome/browser/browser_theme_provider.cc

Changed to:
 /chrome/browser/themes/browser_theme_provider.cc

BUG=None
TEST=Visit the link now, it will work.

Review URL: http://codereview.chromium.org/6338007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71728 0039d316-1c4b-4281-b951-d872f2087c98
parent 5bf6a91e
...@@ -66,7 +66,7 @@ file for a theme: ...@@ -66,7 +66,7 @@ file for a theme:
Colors are in RGB format. Colors are in RGB format.
To find the strings you can use within the "colors" field, To find the strings you can use within the "colors" field,
look for kColor* strings in look for kColor* strings in
<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>. <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/themes/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>.
</p> </p>
<h3 id="images">images</h3> <h3 id="images">images</h3>
...@@ -75,7 +75,7 @@ look for kColor* strings in ...@@ -75,7 +75,7 @@ look for kColor* strings in
Image resources use paths relative to the root of the extension. Image resources use paths relative to the root of the extension.
You can override any of the images that are specified by You can override any of the images that are specified by
<code>kThemeableImages</code> in <code>kThemeableImages</code> in
<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>. <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/themes/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>.
Just remove the "IDR_" Just remove the "IDR_"
and convert the remaining characters to lowercase. and convert the remaining characters to lowercase.
For example, <code>IDR_THEME_NTP_BACKGROUND</code> For example, <code>IDR_THEME_NTP_BACKGROUND</code>
...@@ -92,7 +92,7 @@ properties such as background alignment, ...@@ -92,7 +92,7 @@ properties such as background alignment,
background repeat, background repeat,
and an alternate logo. and an alternate logo.
To see the properties and the values they can have, see To see the properties and the values they can have, see
<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>. <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/themes/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>.
<!-- [PENDING: We should flesh this out.] --> <!-- [PENDING: We should flesh this out.] -->
</p> </p>
...@@ -106,7 +106,7 @@ because images don't work across platforms ...@@ -106,7 +106,7 @@ because images don't work across platforms
and are brittle in the case of adding new buttons. and are brittle in the case of adding new buttons.
To find the strings you can use within the "tints" field, To find the strings you can use within the "tints" field,
look for kTint* strings in look for kTint* strings in
<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>. <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/themes/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>.
</p> </p>
<p> <p>
......
...@@ -379,7 +379,7 @@ file for a theme: ...@@ -379,7 +379,7 @@ file for a theme:
Colors are in RGB format. Colors are in RGB format.
To find the strings you can use within the "colors" field, To find the strings you can use within the "colors" field,
look for kColor* strings in look for kColor* strings in
<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>. <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/themes/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>.
</p> </p>
<h3 id="images">images</h3> <h3 id="images">images</h3>
...@@ -388,7 +388,7 @@ look for kColor* strings in ...@@ -388,7 +388,7 @@ look for kColor* strings in
Image resources use paths relative to the root of the extension. Image resources use paths relative to the root of the extension.
You can override any of the images that are specified by You can override any of the images that are specified by
<code>kThemeableImages</code> in <code>kThemeableImages</code> in
<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>. <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/themes/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>.
Just remove the "IDR_" Just remove the "IDR_"
and convert the remaining characters to lowercase. and convert the remaining characters to lowercase.
For example, <code>IDR_THEME_NTP_BACKGROUND</code> For example, <code>IDR_THEME_NTP_BACKGROUND</code>
...@@ -405,7 +405,7 @@ properties such as background alignment, ...@@ -405,7 +405,7 @@ properties such as background alignment,
background repeat, background repeat,
and an alternate logo. and an alternate logo.
To see the properties and the values they can have, see To see the properties and the values they can have, see
<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>. <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/themes/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>.
<!-- [PENDING: We should flesh this out.] --> <!-- [PENDING: We should flesh this out.] -->
</p> </p>
...@@ -419,7 +419,7 @@ because images don't work across platforms ...@@ -419,7 +419,7 @@ because images don't work across platforms
and are brittle in the case of adding new buttons. and are brittle in the case of adding new buttons.
To find the strings you can use within the "tints" field, To find the strings you can use within the "tints" field,
look for kTint* strings in look for kTint* strings in
<a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>. <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/themes/browser_theme_provider.cc"><code>browser_theme_provider.cc</code></a>.
</p> </p>
<p> <p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment