| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html i18n-values="dir:textdirection;" id="t"> | 2 <html i18n-values="dir:textdirection;" id="t"> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <title i18n-content="title"></title> | 5 <title i18n-content="title"></title> |
| 6 | 6 |
| 7 <!-- TODO(zelidrag) need a better icon here --> | 7 <!-- TODO(zelidrag) need a better icon here --> |
| 8 <link rel="icon" href="../../app/theme/history_favicon.png"> | 8 <link rel="icon" href="../../app/theme/history_favicon.png"> |
| 9 | 9 |
| 10 <script src="chrome://resources/js/class_list.js"></script> | 10 <script src="chrome://resources/js/class_list.js"></script> |
| 11 <script src="chrome://resources/js/cr.js"></script> | 11 <script src="chrome://resources/js/cr.js"></script> |
| 12 <script src="chrome://resources/js/cr/event_target.js"></script> | 12 <script src="chrome://resources/js/cr/event_target.js"></script> |
| 13 <script src="chrome://resources/js/cr/ui.js"></script> | 13 <script src="chrome://resources/js/cr/ui.js"></script> |
| 14 <script src="chrome://resources/js/local_strings.js"></script> | 14 <script src="chrome://resources/js/local_strings.js"></script> |
| 15 <script src="chrome://resources/js/util.js"></script> | 15 <script src="chrome://resources/js/util.js"></script> |
| 16 <script src="options/preferences.js"></script> | 16 <script src="options/preferences.js"></script> |
| 17 <script src="options/pref_ui.js"></script> | 17 <script src="options/pref_ui.js"></script> |
| 18 <script src="options/options_page.js"></script> | 18 <script src="options/options_page.js"></script> |
| 19 <script src="options/chromeos_system_options.js"></script> | 19 <if expr="pp_ifdef('chromeos')"> |
| 20 <script src="options/chromeos_system_options.js"></script> |
| 21 </if> |
| 20 <script> | 22 <script> |
| 21 | 23 |
| 22 /////////////////////////////////////////////////////////////////////////////// | 24 /////////////////////////////////////////////////////////////////////////////// |
| 23 // DummyOptions Functions: | 25 // DummyOptions Functions: |
| 24 // TODO(zelidrag): Remove DummyOptions once we put the second page in. | 26 // TODO(zelidrag): Remove DummyOptions once we put the second page in. |
| 25 | 27 |
| 26 function DummyOptions(model) { | 28 function DummyOptions(model) { |
| 27 OptionsPage.call(this, 'dummy', 'Dummy Options Page', 'dummyPage'); | 29 OptionsPage.call(this, 'dummy', 'Dummy Options Page', 'dummyPage'); |
| 28 } | 30 } |
| 29 | 31 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 </div> | 137 </div> |
| 136 <div id="main-content"> | 138 <div id="main-content"> |
| 137 <div id="navbar-container"> | 139 <div id="navbar-container"> |
| 138 <ul id="navbar"> | 140 <ul id="navbar"> |
| 139 </ul> | 141 </ul> |
| 140 <hr/> | 142 <hr/> |
| 141 <ul class="hidden"> | 143 <ul class="hidden"> |
| 142 </ul> | 144 </ul> |
| 143 </div> | 145 </div> |
| 144 <div id="mainview"> | 146 <div id="mainview"> |
| 145 <!-- include file="options/chromeos_system_options.html" --> | 147 <if expr="pp_ifdef('chromeos')"> |
| 148 <include src="options/chromeos_system_options.html"> |
| 149 </if> |
| 146 <div class="page hidden" id="dummyPage"> | 150 <div class="page hidden" id="dummyPage"> |
| 147 <!-- TODO(zelidrag): remove this one once we get another page here --> | 151 <!-- TODO(zelidrag): remove this one once we get another page here --> |
| 148 Dummy page | 152 Dummy page |
| 149 </div> | 153 </div> |
| 150 </div> | 154 </div> |
| 151 </div> | 155 </div> |
| 152 <script> | 156 <script> |
| 153 // Decorate the existing elements in the document. | 157 // Decorate the existing elements in the document. |
| 154 cr.ui.decorate('input[pref][type=checkbox]', PrefCheckbox); | 158 cr.ui.decorate('input[pref][type=checkbox]', PrefCheckbox); |
| 155 cr.ui.decorate('input[pref][type=range]', PrefRange); | 159 cr.ui.decorate('input[pref][type=range]', PrefRange); |
| 156 cr.ui.decorate('select[pref]', PrefSelect); | 160 cr.ui.decorate('select[pref]', PrefSelect); |
| 157 <!-- TODO(zelidrag) add other elements here when we implement them --> | 161 <!-- TODO(zelidrag) add other elements here when we implement them --> |
| 158 </script> | 162 </script> |
| 159 </body> | 163 </body> |
| 160 </html> | 164 </html> |
| OLD | NEW |