| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 /** | 138 /** |
| 139 * @param {boolean} closeableTabs | 139 * @param {boolean} closeableTabs |
| 140 */ | 140 */ |
| 141 setCloseableTabs: function(closeableTabs) | 141 setCloseableTabs: function(closeableTabs) |
| 142 { | 142 { |
| 143 this._closeableTabs = closeableTabs; | 143 this._closeableTabs = closeableTabs; |
| 144 }, | 144 }, |
| 145 | 145 |
| 146 focus: function() | 146 focus: function() |
| 147 { | 147 { |
| 148 if (this.visibleView) | 148 if (this.visibleView) { |
| 149 this.visibleView.focus(); | 149 this.visibleView.focus(); |
| 150 else | 150 } else { |
| 151 this.contentElement.focus(); | 151 this.contentElement.focus(); |
| 152 this.wasFocused(); |
| 153 } |
| 152 }, | 154 }, |
| 153 | 155 |
| 154 /** | 156 /** |
| 155 * @return {!Element} | 157 * @return {!Element} |
| 156 */ | 158 */ |
| 157 headerElement: function() | 159 headerElement: function() |
| 158 { | 160 { |
| 159 return this._headerElement; | 161 return this._headerElement; |
| 160 }, | 162 }, |
| 161 | 163 |
| (...skipping 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1240 * @param {!Array.<string>} ids | 1242 * @param {!Array.<string>} ids |
| 1241 */ | 1243 */ |
| 1242 closeTabs: function(tabbedPane, ids) { }, | 1244 closeTabs: function(tabbedPane, ids) { }, |
| 1243 | 1245 |
| 1244 /** | 1246 /** |
| 1245 * @param {string} tabId | 1247 * @param {string} tabId |
| 1246 * @param {!WebInspector.ContextMenu} contextMenu | 1248 * @param {!WebInspector.ContextMenu} contextMenu |
| 1247 */ | 1249 */ |
| 1248 onContextMenu: function(tabId, contextMenu) { } | 1250 onContextMenu: function(tabId, contextMenu) { } |
| 1249 } | 1251 } |
| OLD | NEW |