| Index: chrome/browser/resources/shared/js/cr/ui/repeating_button.js
|
| diff --git a/chrome/browser/resources/shared/js/cr/ui/repeating_button.js b/chrome/browser/resources/shared/js/cr/ui/repeating_button.js
|
| index 43807bbc6ad88726764b352b172ac5522c5b1616..53f4770accf53e023752f14c2df115541e5a0f10 100644
|
| --- a/chrome/browser/resources/shared/js/cr/ui/repeating_button.js
|
| +++ b/chrome/browser/resources/shared/js/cr/ui/repeating_button.js
|
| @@ -142,6 +142,22 @@ cr.define('cr.ui', function() {
|
| */
|
| buttonHeld_: function() {
|
| cr.dispatchSimpleEvent(this, RepeatingButton.Event.BUTTON_HELD);
|
| + },
|
| +
|
| + /**
|
| + * Getter for the initial delay before repeating.
|
| + * @type {number} The delay in milliseconds.
|
| + */
|
| + get repeatDelay() {
|
| + return this.holdDelayTime_;
|
| + },
|
| +
|
| + /**
|
| + * Getter for the repeat interval.
|
| + * @type {number} The repeat interval in milliseconds.
|
| + */
|
| + get repeatInterval() {
|
| + return this.holdRepeatIntervalTime_;
|
| }
|
| };
|
|
|
|
|