| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @param {!Element} root | 6 * @param {!Element} root |
| 7 * @param {?Element} boundary | 7 * @param {?Element} boundary |
| 8 * @param {cr.ui.FocusRow.Delegate} delegate | 8 * @param {cr.ui.FocusRow.Delegate} delegate |
| 9 * @constructor | 9 * @constructor |
| 10 * @extends {cr.ui.FocusRow} | 10 * @extends {cr.ui.FocusRow} |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 isCardStart: { | 93 isCardStart: { |
| 94 type: Boolean, | 94 type: Boolean, |
| 95 reflectToAttribute: true, | 95 reflectToAttribute: true, |
| 96 }, | 96 }, |
| 97 | 97 |
| 98 isCardEnd: { | 98 isCardEnd: { |
| 99 type: Boolean, | 99 type: Boolean, |
| 100 reflectToAttribute: true, | 100 reflectToAttribute: true, |
| 101 }, | 101 }, |
| 102 | 102 |
| 103 // True if the item is being displayed embedded in another element and | |
| 104 // should not manage its own borders or size. | |
| 105 embedded: { | |
| 106 type: Boolean, | |
| 107 reflectToAttribute: true, | |
| 108 }, | |
| 109 | |
| 110 /** @type {Element} */ | 103 /** @type {Element} */ |
| 111 lastFocused: { | 104 lastFocused: { |
| 112 type: Object, | 105 type: Object, |
| 113 notify: true, | 106 notify: true, |
| 114 }, | 107 }, |
| 115 | 108 |
| 116 ironListTabIndex: { | 109 ironListTabIndex: { |
| 117 type: Number, | 110 type: Number, |
| 118 observer: 'ironListTabIndexChanged_', | 111 observer: 'ironListTabIndexChanged_', |
| 119 }, | 112 }, |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 */ | 356 */ |
| 364 HistoryItem.searchResultsTitle = function(numberOfResults, searchTerm) { | 357 HistoryItem.searchResultsTitle = function(numberOfResults, searchTerm) { |
| 365 var resultId = numberOfResults == 1 ? 'searchResult' : 'searchResults'; | 358 var resultId = numberOfResults == 1 ? 'searchResult' : 'searchResults'; |
| 366 return loadTimeData.getStringF( | 359 return loadTimeData.getStringF( |
| 367 'foundSearchResults', numberOfResults, loadTimeData.getString(resultId), | 360 'foundSearchResults', numberOfResults, loadTimeData.getString(resultId), |
| 368 searchTerm); | 361 searchTerm); |
| 369 }; | 362 }; |
| 370 | 363 |
| 371 return {HistoryItem: HistoryItem}; | 364 return {HistoryItem: HistoryItem}; |
| 372 }); | 365 }); |
| OLD | NEW |