Chromium Code Reviews| 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 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 816 this._rightToolbar = new UI.Toolbar('tabbed-pane-right-toolbar'); | 816 this._rightToolbar = new UI.Toolbar('tabbed-pane-right-toolbar'); |
| 817 this._headerElement.appendChild(this._rightToolbar.element); | 817 this._headerElement.appendChild(this._rightToolbar.element); |
| 818 } | 818 } |
| 819 return this._rightToolbar; | 819 return this._rightToolbar; |
| 820 } | 820 } |
| 821 | 821 |
| 822 renderWithNoHeaderBackground() { | 822 renderWithNoHeaderBackground() { |
| 823 this._headerElement.classList.add('tabbed-pane-no-header-background'); | 823 this._headerElement.classList.add('tabbed-pane-no-header-background'); |
| 824 } | 824 } |
| 825 | 825 |
| 826 renderWithNoTabBorders() { | |
|
pfeldman
2016/12/10 02:15:59
Same as slider?
| |
| 827 this._headerElement.classList.add('tabbed-pane-no-tab-borders'); | |
| 828 } | |
| 829 | |
| 826 /** | 830 /** |
| 827 * @param {boolean} allow | 831 * @param {boolean} allow |
| 828 * @param {boolean=} automatic | 832 * @param {boolean=} automatic |
| 829 */ | 833 */ |
| 830 setAllowTabReorder(allow, automatic) { | 834 setAllowTabReorder(allow, automatic) { |
| 831 this._allowTabReorder = allow; | 835 this._allowTabReorder = allow; |
| 832 this._automaticReorder = automatic; | 836 this._automaticReorder = automatic; |
| 833 } | 837 } |
| 834 }; | 838 }; |
| 835 | 839 |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1209 * @param {!Array.<string>} ids | 1213 * @param {!Array.<string>} ids |
| 1210 */ | 1214 */ |
| 1211 closeTabs(tabbedPane, ids) {}, | 1215 closeTabs(tabbedPane, ids) {}, |
| 1212 | 1216 |
| 1213 /** | 1217 /** |
| 1214 * @param {string} tabId | 1218 * @param {string} tabId |
| 1215 * @param {!UI.ContextMenu} contextMenu | 1219 * @param {!UI.ContextMenu} contextMenu |
| 1216 */ | 1220 */ |
| 1217 onContextMenu(tabId, contextMenu) {} | 1221 onContextMenu(tabId, contextMenu) {} |
| 1218 }; | 1222 }; |
| OLD | NEW |