| 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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 { | 806 { |
| 807 return WebInspector._currentFocusElement; | 807 return WebInspector._currentFocusElement; |
| 808 } | 808 } |
| 809 | 809 |
| 810 /** | 810 /** |
| 811 * @param {!Event} event | 811 * @param {!Event} event |
| 812 */ | 812 */ |
| 813 WebInspector._focusChanged = function(event) | 813 WebInspector._focusChanged = function(event) |
| 814 { | 814 { |
| 815 var node = event.deepActiveElement(); | 815 var node = event.deepActiveElement(); |
| 816 WebInspector.Widget.focusWidgetForNode(node); |
| 816 WebInspector.setCurrentFocusElement(node); | 817 WebInspector.setCurrentFocusElement(node); |
| 817 } | 818 } |
| 818 | 819 |
| 819 /** | 820 /** |
| 820 * @param {!Document} document | 821 * @param {!Document} document |
| 821 * @param {!Event} event | 822 * @param {!Event} event |
| 822 */ | 823 */ |
| 823 WebInspector._documentBlurred = function(document, event) | 824 WebInspector._documentBlurred = function(document, event) |
| 824 { | 825 { |
| 825 // We want to know when currentFocusElement loses focus to nowhere. | 826 // We want to know when currentFocusElement loses focus to nowhere. |
| (...skipping 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2011 * @param {string} title | 2012 * @param {string} title |
| 2012 * @return {!Element} | 2013 * @return {!Element} |
| 2013 */ | 2014 */ |
| 2014 WebInspector.linkifyDocumentationURLAsNode = function(article, title) | 2015 WebInspector.linkifyDocumentationURLAsNode = function(article, title) |
| 2015 { | 2016 { |
| 2016 return WebInspector.linkifyURLAsNode("https://developers.google.com/web/tool
s/chrome-devtools/" + article, title, undefined, true); | 2017 return WebInspector.linkifyURLAsNode("https://developers.google.com/web/tool
s/chrome-devtools/" + article, title, undefined, true); |
| 2017 } | 2018 } |
| 2018 | 2019 |
| 2019 /** @type {!WebInspector.ThemeSupport} */ | 2020 /** @type {!WebInspector.ThemeSupport} */ |
| 2020 WebInspector.themeSupport; | 2021 WebInspector.themeSupport; |
| OLD | NEW |