Skip to content
Snippets Groups Projects
Commit 9bb75ccc authored by derat@chromium.org's avatar derat@chromium.org
Browse files

cros: Use Vista-style window decorations.

We were previously using the Linux version's images but
drawing them in the position needed by the Views images.

BUG=40474
TEST=built the chrome os version

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45842 0039d316-1c4b-4281-b951-d872f2087c98
parent 4d44a1c2
No related merge requests found
......@@ -143,6 +143,11 @@
'action': ['<@(grit_cmd)',
'-i', '<(input_path)', 'build',
'-o', '<(grit_out_dir)/app_resources'],
'conditions': [
['toolkit_views==1', {
'action': ['-D', 'toolkit_views'],
}],
],
'message': 'Generating resources from <(input_path)',
},
],
......
......@@ -12,8 +12,8 @@
<include name="IDR_DEFAULT_FAVICON" file="default_favicon.png" type="BINDATA" />
<if expr="os == 'win32'">
<!-- Window controls for Windows, in the style of Vista -->
<if expr="pp_ifdef('toolkit_views')">
<!-- Window controls for Windows and Chrome OS, in the style of Vista -->
<include name="IDR_CLOSE" file="close.png" type="BINDATA" />
<include name="IDR_CLOSE_H" file="close_h.png" type="BINDATA" />
<include name="IDR_CLOSE_P" file="close_p.png" type="BINDATA" />
......@@ -31,7 +31,7 @@
<include name="IDR_MINIMIZE_P" file="minimize_p.png" type="BINDATA" />
</if>
<if expr="os == 'linux2' or os == 'freebsd7' or os == 'openbsd4'">
<if expr="not pp_ifdef('toolkit_views') and (os == 'linux2' or os == 'freebsd7' or os == 'openbsd4')">
<!-- Window controls for Linux/BSD, in the style of Metacity -->
<include name="IDR_CLOSE" file="linux_close.png" type="BINDATA" />
<include name="IDR_CLOSE_H" file="linux_close_h.png" type="BINDATA" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment