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

Unified Diff: chrome/browser/resources/options.html

Issue 2872028: Modified grit to support <if expr="..."> tags within included html files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 | tools/grit/grit/format/html_inline.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options.html
===================================================================
--- chrome/browser/resources/options.html (revision 51538)
+++ chrome/browser/resources/options.html (working copy)
@@ -16,7 +16,9 @@
<script src="options/preferences.js"></script>
<script src="options/pref_ui.js"></script>
<script src="options/options_page.js"></script>
-<script src="options/chromeos_system_options.js"></script>
+<if expr="pp_ifdef('chromeos')">
+ <script src="options/chromeos_system_options.js"></script>
+</if>
<script>
///////////////////////////////////////////////////////////////////////////////
@@ -142,7 +144,9 @@
</ul>
</div>
<div id="mainview">
- <!-- include file="options/chromeos_system_options.html" -->
+ <if expr="pp_ifdef('chromeos')">
+ <include src="options/chromeos_system_options.html">
+ </if>
<div class="page hidden" id="dummyPage">
<!-- TODO(zelidrag): remove this one once we get another page here -->
Dummy page
« no previous file with comments | « no previous file | tools/grit/grit/format/html_inline.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698