| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 /** | 577 /** |
| 578 * @interface | 578 * @interface |
| 579 */ | 579 */ |
| 580 UI.ViewportControl.Provider = function() {}; | 580 UI.ViewportControl.Provider = function() {}; |
| 581 | 581 |
| 582 UI.ViewportControl.Provider.prototype = { | 582 UI.ViewportControl.Provider.prototype = { |
| 583 /** | 583 /** |
| 584 * @param {number} index | 584 * @param {number} index |
| 585 * @return {number} | 585 * @return {number} |
| 586 */ | 586 */ |
| 587 fastHeight: function(index) { | 587 fastHeight(index) { |
| 588 return 0; | 588 return 0; |
| 589 }, | 589 }, |
| 590 | 590 |
| 591 /** | 591 /** |
| 592 * @return {number} | 592 * @return {number} |
| 593 */ | 593 */ |
| 594 itemCount: function() { | 594 itemCount() { |
| 595 return 0; | 595 return 0; |
| 596 }, | 596 }, |
| 597 | 597 |
| 598 /** | 598 /** |
| 599 * @return {number} | 599 * @return {number} |
| 600 */ | 600 */ |
| 601 minimumRowHeight: function() { | 601 minimumRowHeight() { |
| 602 return 0; | 602 return 0; |
| 603 }, | 603 }, |
| 604 | 604 |
| 605 /** | 605 /** |
| 606 * @param {number} index | 606 * @param {number} index |
| 607 * @return {?UI.ViewportElement} | 607 * @return {?UI.ViewportElement} |
| 608 */ | 608 */ |
| 609 itemElement: function(index) { | 609 itemElement(index) { |
| 610 return null; | 610 return null; |
| 611 } | 611 } |
| 612 }; | 612 }; |
| 613 | 613 |
| 614 /** | 614 /** |
| 615 * @interface | 615 * @interface |
| 616 */ | 616 */ |
| 617 UI.ViewportElement = function() {}; | 617 UI.ViewportElement = function() {}; |
| 618 UI.ViewportElement.prototype = { | 618 UI.ViewportElement.prototype = { |
| 619 willHide: function() {}, | 619 willHide() {}, |
| 620 | 620 |
| 621 wasShown: function() {}, | 621 wasShown() {}, |
| 622 | 622 |
| 623 /** | 623 /** |
| 624 * @return {!Element} | 624 * @return {!Element} |
| 625 */ | 625 */ |
| 626 element: function() {}, | 626 element() {}, |
| 627 }; | 627 }; |
| 628 | 628 |
| 629 /** | 629 /** |
| 630 * @implements {UI.ViewportElement} | 630 * @implements {UI.ViewportElement} |
| 631 * @unrestricted | 631 * @unrestricted |
| 632 */ | 632 */ |
| 633 UI.StaticViewportElement = class { | 633 UI.StaticViewportElement = class { |
| 634 /** | 634 /** |
| 635 * @param {!Element} element | 635 * @param {!Element} element |
| 636 */ | 636 */ |
| (...skipping 14 matching lines...) Expand all Loading... |
| 651 } | 651 } |
| 652 | 652 |
| 653 /** | 653 /** |
| 654 * @override | 654 * @override |
| 655 * @return {!Element} | 655 * @return {!Element} |
| 656 */ | 656 */ |
| 657 element() { | 657 element() { |
| 658 return this._element; | 658 return this._element; |
| 659 } | 659 } |
| 660 }; | 660 }; |
| OLD | NEW |