| Index: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
|
| index 13125efcf06748cf6851afa7b85e67f57636e3ac..1133f04a519ffc6ec3d482fa816ac4d863880636 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
|
| @@ -1170,11 +1170,14 @@ UI.registerCustomElement = function(localName, typeExtension, prototype) {
|
| * @param {string} text
|
| * @param {function(!Event)=} clickHandler
|
| * @param {string=} className
|
| + * @param {boolean=} primary
|
| * @return {!Element}
|
| */
|
| -UI.createTextButton = function(text, clickHandler, className) {
|
| +UI.createTextButton = function(text, clickHandler, className, primary) {
|
| var element = createElementWithClass('button', className || '', 'text-button');
|
| element.textContent = text;
|
| + if (primary)
|
| + element.classList.add('primary-button');
|
| if (clickHandler)
|
| element.addEventListener('click', clickHandler, false);
|
| return element;
|
|
|