| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Joseph Pecoraro | 3 * Copyright (C) 2009 Joseph Pecoraro |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 */ | 125 */ |
| 126 _tabSelected: function(event) | 126 _tabSelected: function(event) |
| 127 { | 127 { |
| 128 this._firstTabSelected = true; | 128 this._firstTabSelected = true; |
| 129 var tabId = this._tabbedPane.selectedTabId; | 129 var tabId = this._tabbedPane.selectedTabId; |
| 130 if (tabId && event.data["isUserGesture"]) | 130 if (tabId && event.data["isUserGesture"]) |
| 131 this._lastSelectedViewSetting.set(tabId); | 131 this._lastSelectedViewSetting.set(tabId); |
| 132 }, | 132 }, |
| 133 | 133 |
| 134 /** | 134 /** |
| 135 * @override |
| 136 * @return {!Element} |
| 137 */ |
| 138 defaultFocusedElement: function() |
| 139 { |
| 140 return this._tabbedPane.defaultFocusedElement(); |
| 141 }, |
| 142 |
| 143 /** |
| 135 * @return {?string} | 144 * @return {?string} |
| 136 */ | 145 */ |
| 137 selectedViewId: function() | 146 selectedViewId: function() |
| 138 { | 147 { |
| 139 return this._tabbedPane.selectedTabId; | 148 return this._tabbedPane.selectedTabId; |
| 140 }, | 149 }, |
| 141 | 150 |
| 142 initialPanelShown: function() | 151 initialPanelShown: function() |
| 143 { | 152 { |
| 144 this._initialPanelWasShown = true; | 153 this._initialPanelWasShown = true; |
| 145 }, | 154 }, |
| 146 | 155 |
| 147 __proto__: WebInspector.VBox.prototype | 156 __proto__: WebInspector.VBox.prototype |
| 148 } | 157 } |
| OLD | NEW |