| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 4 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). | 4 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). |
| 5 * Copyright (C) 2009 Joseph Pecoraro | 5 * Copyright (C) 2009 Joseph Pecoraro |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * | 10 * |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 if (WebInspector.GlassPane.DefaultFocusedViewStack.length) | 217 if (WebInspector.GlassPane.DefaultFocusedViewStack.length) |
| 218 WebInspector.GlassPane.DefaultFocusedViewStack.peekLast().focus(); | 218 WebInspector.GlassPane.DefaultFocusedViewStack.peekLast().focus(); |
| 219 this.element.remove(); | 219 this.element.remove(); |
| 220 } | 220 } |
| 221 } | 221 } |
| 222 | 222 |
| 223 /** @type {!WebInspector.GlassPane|undefined} */ | 223 /** @type {!WebInspector.GlassPane|undefined} */ |
| 224 WebInspector._glassPane; | 224 WebInspector._glassPane; |
| 225 | 225 |
| 226 /** | 226 /** |
| 227 * @type {!Array.<!WebInspector.Widget|!WebInspector.Dialog>} | 227 * @type {!Array.<!WebInspector.Widget|!Node>} |
| 228 */ | 228 */ |
| 229 WebInspector.GlassPane.DefaultFocusedViewStack = []; | 229 WebInspector.GlassPane.DefaultFocusedViewStack = []; |
| 230 | 230 |
| 231 /** | 231 /** |
| 232 * @param {?Node=} node | 232 * @param {?Node=} node |
| 233 * @return {boolean} | 233 * @return {boolean} |
| 234 */ | 234 */ |
| 235 WebInspector.isBeingEdited = function(node) | 235 WebInspector.isBeingEdited = function(node) |
| 236 { | 236 { |
| 237 if (!node || node.nodeType !== Node.ELEMENT_NODE) | 237 if (!node || node.nodeType !== Node.ELEMENT_NODE) |
| (...skipping 1597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1835 [NetworkAgent.ResourcePriority.High, WebInspector.UIString("High")], | 1835 [NetworkAgent.ResourcePriority.High, WebInspector.UIString("High")], |
| 1836 [NetworkAgent.ResourcePriority.VeryHigh, WebInspector.UIString("High
est")] | 1836 [NetworkAgent.ResourcePriority.VeryHigh, WebInspector.UIString("High
est")] |
| 1837 ]); | 1837 ]); |
| 1838 WebInspector.uiLabelForPriority._priorityToUILabel = labelMap; | 1838 WebInspector.uiLabelForPriority._priorityToUILabel = labelMap; |
| 1839 } | 1839 } |
| 1840 return labelMap.get(priority) || WebInspector.UIString("Unknown"); | 1840 return labelMap.get(priority) || WebInspector.UIString("Unknown"); |
| 1841 } | 1841 } |
| 1842 | 1842 |
| 1843 /** @type {!WebInspector.ThemeSupport} */ | 1843 /** @type {!WebInspector.ThemeSupport} */ |
| 1844 WebInspector.themeSupport; | 1844 WebInspector.themeSupport; |
| OLD | NEW |