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

Unified Diff: app/resources/app_resources.grd

Issue 159859: linux: use linux-specific window control graphics from glen (Closed)
Patch Set: Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | app/resources/linux_close.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/resources/app_resources.grd
diff --git a/app/resources/app_resources.grd b/app/resources/app_resources.grd
index 820283cc81d0c6da4804411440a698caa182dfc7..9c404cf70b1fde29c4b99f8dc8fd3350be7e3b40 100644
--- a/app/resources/app_resources.grd
+++ b/app/resources/app_resources.grd
@@ -12,26 +12,43 @@
<include name="IDR_DEFAULT_FAVICON" file="default_favicon.png" type="BINDATA" />
- <!-- Window Controls -->
- <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" />
- <include name="IDR_CLOSE_SA" file="close_sa.png" type="BINDATA" />
- <include name="IDR_CLOSE_SA_H" file="close_sa_h.png" type="BINDATA" />
- <include name="IDR_CLOSE_SA_P" file="close_sa_p.png" type="BINDATA" />
- <include name="IDR_RESTORE" file="restore.png" type="BINDATA" />
- <include name="IDR_RESTORE_H" file="restore_h.png" type="BINDATA" />
- <include name="IDR_RESTORE_P" file="restore_p.png" type="BINDATA" />
- <include name="IDR_MAXIMIZE" file="maximize.png" type="BINDATA" />
- <include name="IDR_MAXIMIZE_H" file="maximize_h.png" type="BINDATA" />
- <include name="IDR_MAXIMIZE_P" file="maximize_p.png" type="BINDATA" />
- <include name="IDR_MINIMIZE" file="minimize.png" type="BINDATA" />
- <include name="IDR_MINIMIZE_H" file="minimize_h.png" type="BINDATA" />
- <include name="IDR_MINIMIZE_P" file="minimize_p.png" type="BINDATA" />
+ <if expr="os == 'windows'">
tony 2009/08/04 17:11:09 'win32'. This is the value of sys.platform (which
+ <!-- Window controls for Windows, 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" />
+ <include name="IDR_CLOSE_SA" file="close_sa.png" type="BINDATA" />
+ <include name="IDR_CLOSE_SA_H" file="close_sa_h.png" type="BINDATA" />
+ <include name="IDR_CLOSE_SA_P" file="close_sa_p.png" type="BINDATA" />
+ <include name="IDR_RESTORE" file="restore.png" type="BINDATA" />
+ <include name="IDR_RESTORE_H" file="restore_h.png" type="BINDATA" />
+ <include name="IDR_RESTORE_P" file="restore_p.png" type="BINDATA" />
+ <include name="IDR_MAXIMIZE" file="maximize.png" type="BINDATA" />
+ <include name="IDR_MAXIMIZE_H" file="maximize_h.png" type="BINDATA" />
+ <include name="IDR_MAXIMIZE_P" file="maximize_p.png" type="BINDATA" />
+ <include name="IDR_MINIMIZE" file="minimize.png" type="BINDATA" />
+ <include name="IDR_MINIMIZE_H" file="minimize_h.png" type="BINDATA" />
+ <include name="IDR_MINIMIZE_P" file="minimize_p.png" type="BINDATA" />
+ </if>
- <include name="IDR_LINUX_CLOSE" file="linux_close.png" type="BINDATA" />
- <include name="IDR_LINUX_CLOSE_H" file="linux_close.png" type="BINDATA" />
- <include name="IDR_LINUX_CLOSE_P" file="linux_close.png" type="BINDATA" />
+ <if expr="os == 'linux2'">
+ <!-- Window controls for Linux, 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" />
+ <include name="IDR_CLOSE_P" file="linux_close_p.png" type="BINDATA" />
+ <!-- <include name="IDR_CLOSE_SA" file="linux_close_sa.png" type="BINDATA" />
tony 2009/08/04 17:11:09 Remove these?
+ <include name="IDR_CLOSE_SA_H" file="linux_close_sa_h.png" type="BINDATA" />
+ <include name="IDR_CLOSE_SA_P" file="linux_close_sa_p.png" type="BINDATA" /> -->
+ <include name="IDR_RESTORE" file="linux_restore.png" type="BINDATA" />
+ <include name="IDR_RESTORE_H" file="linux_restore_h.png" type="BINDATA" />
+ <include name="IDR_RESTORE_P" file="linux_restore_p.png" type="BINDATA" />
+ <include name="IDR_MAXIMIZE" file="linux_maximize.png" type="BINDATA" />
+ <include name="IDR_MAXIMIZE_H" file="linux_maximize_h.png" type="BINDATA" />
+ <include name="IDR_MAXIMIZE_P" file="linux_maximize_p.png" type="BINDATA" />
+ <include name="IDR_MINIMIZE" file="linux_minimize.png" type="BINDATA" />
+ <include name="IDR_MINIMIZE_H" file="linux_minimize_h.png" type="BINDATA" />
+ <include name="IDR_MINIMIZE_P" file="linux_minimize_p.png" type="BINDATA" />
+ </if>
<!-- Frame Images -->
<include name="IDR_FRAME" file="frame_default.png" type="BINDATA" />
« no previous file with comments | « no previous file | app/resources/linux_close.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698