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

Side by Side Diff: chrome/browser/resources/bug_report.html

Issue 5514001: Crash fix + OS specific ss's enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved TODO to the h file from the cc file. Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/views/browser_dialogs.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html i18n-values="dir:textdirection;"> 2 <html i18n-values="dir:textdirection;">
3 <head> 3 <head>
4 <meta charset="utf-8"/> 4 <meta charset="utf-8"/>
5 <title i18n-content="page-title"></title> 5 <title i18n-content="page-title"></title>
6 <!-- We want to keep our style in sync with the options page. --> 6 <!-- We want to keep our style in sync with the options page. -->
7 <link rel="stylesheet" href="dom_ui.css"> 7 <link rel="stylesheet" href="dom_ui.css">
8 <link rel="stylesheet" href="options/options_page.css"> 8 <link rel="stylesheet" href="options/options_page.css">
9 <link rel="stylesheet" href="bug_report.css"> 9 <link rel="stylesheet" href="bug_report.css">
10 10
11 <script src="shared/js/local_strings.js"></script> 11 <script src="shared/js/local_strings.js"></script>
12 <script src="shared/js/util.js"></script> 12 <script src="shared/js/util.js"></script>
13 <script src="bug_report.js"></script> 13 <script src="bug_report.js"></script>
14 <script> 14 <script>
15 15
16 /////////////////////////////////////////////////////////////////////////////// 16 ///////////////////////////////////////////////////////////////////////////////
17 // Document Functions: 17 // Document Functions:
18 /** 18 /**
19 * Window onload handler, sets up the page. 19 * Window onload handler, sets up the page.
20 */ 20 */
21 function load() { 21 function load() {
22 $('sysinfo-url').onclick = function(event) { 22 if ($('sysinfo-url')) {
23 chrome.send('openSystemTab'); 23 $('sysinfo-url').onclick = function(event) {
24 }; 24 chrome.send('openSystemTab');
25 };
26 }
25 27
26 var menuOffPattern = /(^\?|&)menu=off($|&)/; 28 var menuOffPattern = /(^\?|&)menu=off($|&)/;
27 var menuDisabled = menuOffPattern.test(window.location.search); 29 var menuDisabled = menuOffPattern.test(window.location.search);
28 document.documentElement.setAttribute('hide-menu', menuDisabled); 30 document.documentElement.setAttribute('hide-menu', menuDisabled);
29 31
30 32
31 // textContent on description-text textarea seems to default 33 // textContent on description-text textarea seems to default
32 // to several spaces, this resets it to empty. 34 // to several spaces, this resets it to empty.
33 $('description-text').textContent = ''; 35 $('description-text').textContent = '';
34 36
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 </span> 176 </span>
175 </td> 177 </td>
176 <td> 178 <td>
177 <input id="page-url-text" class="bug-report-field" 179 <input id="page-url-text" class="bug-report-field"
178 maxlength="200"> 180 maxlength="200">
179 </td> 181 </td>
180 </tr> 182 </tr>
181 </table> 183 </table>
182 </td> 184 </td>
183 </tr> 185 </tr>
186 <if expr="pp_ifdef('chromeos')">
184 <!-- User e-mail --> 187 <!-- User e-mail -->
185 <tr> 188 <tr>
186 <td> 189 <td>
187 <if expr="pp_ifdef('chromeos')">
188 <table id="user-email-table" class="bug-report-table"> 190 <table id="user-email-table" class="bug-report-table">
189 <tr> 191 <tr>
190 <td class="bug-report-fieldlabel"> 192 <td class="bug-report-fieldlabel">
191 <input id="user-email-checkbox" type="checkbox" 193 <input id="user-email-checkbox" type="checkbox"
192 checked> 194 checked>
193 <span id="user-email-label" 195 <span id="user-email-label"
194 i18n-content="user-email"></span> 196 i18n-content="user-email"></span>
195 </td> 197 </td>
196 <td> 198 <td>
197 <label id="user-email-text" 199 <label id="user-email-text"
198 class="bug-report-field"></label> 200 class="bug-report-field"></label>
199 </td> 201 </td>
200 </tr> 202 </tr>
201 </table> 203 </table>
202 </if>
203 </td> 204 </td>
204 </tr> 205 </tr>
205 <!-- System Information --> 206 <!-- System Information -->
206 <tr> 207 <tr>
207 <td> 208 <td>
208 <table class="bug-report-table"> 209 <table class="bug-report-table">
209 <tr> 210 <tr>
210 <td class="bug-report-fieldlabel"> 211 <td class="bug-report-fieldlabel">
211 <input id="sys-info-checkbox" type="checkbox" 212 <input id="sys-info-checkbox" type="checkbox"
212 checked> 213 checked>
213 <span id="sysinfo-label"> 214 <span id="sysinfo-label">
214 <a id="sysinfo-url" href="#" 215 <a id="sysinfo-url" href="#"
215 i18n-content="sysinfo"></a> 216 i18n-content="sysinfo"></a>
216 </span> 217 </span>
217 </td> 218 </td>
218 </tr> 219 </tr>
219 </table> 220 </table>
220 </td> 221 </td>
221 </tr> 222 </tr>
223 </if>
222 <!-- Screenshot --> 224 <!-- Screenshot -->
223 <tr> 225 <tr>
224 <td> 226 <td>
225 <table class="bug-report-table"> 227 <table class="bug-report-table">
226 <tr> 228 <tr>
227 <td class="bug-report-fieldlabel"> 229 <td class="bug-report-fieldlabel">
228 <input id="screenshot-checkbox" type="checkbox"> 230 <input id="screenshot-checkbox" type="checkbox">
229 <span id="screenshot-label-current" 231 <span id="screenshot-label-current"
230 i18n-content="current-screenshot"> 232 i18n-content="current-screenshot">
231 </span> 233 </span>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 </td> 282 </td>
281 </tr> 283 </tr>
282 </tbody> 284 </tbody>
283 </table> 285 </table>
284 </div> 286 </div>
285 </div> 287 </div>
286 </div> 288 </div>
287 </div> 289 </div>
288 </body> 290 </body>
289 </html> 291 </html>
OLDNEW
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/views/browser_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698