| 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 9fc131773e58e4d5c2a8381404921c3ba0529922..f1a3e63d52769743be97b8bcfe866088785e61fe 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
|
| @@ -1152,11 +1152,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');
|
| if (clickHandler)
|
| element.addEventListener('click', clickHandler, false);
|
| return element;
|
|
|