| Index: third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js b/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
|
| index a15b39a0ccea3dff0f1e678ed7805db4dbfe87d2..ea802e7262d229e5ac74b1919a90fcd7454bac06 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
|
| @@ -50,7 +50,6 @@ WebInspector.Dialog = function()
|
| }
|
|
|
| /**
|
| - * TODO(dgozman): remove this method (it's only used for shortcuts handling).
|
| * @return {boolean}
|
| */
|
| WebInspector.Dialog.hasInstance = function()
|
| @@ -58,6 +57,12 @@ WebInspector.Dialog.hasInstance = function()
|
| return !!WebInspector.Dialog._instance;
|
| }
|
|
|
| +WebInspector.Dialog.focus = function()
|
| +{
|
| + if (WebInspector.Dialog._instance)
|
| + WebInspector.Dialog._instance.focus();
|
| +}
|
| +
|
| WebInspector.Dialog.prototype = {
|
| /**
|
| * @override
|
|
|