| Index: Source/devtools/front_end/main/App.js
|
| diff --git a/Source/devtools/front_end/main/App.js b/Source/devtools/front_end/main/App.js
|
| index 203d651054c0c403322e8f9f0110dfd9e7431da3..ed9a8987cc0965318d886aa3acbc023b3214d970 100644
|
| --- a/Source/devtools/front_end/main/App.js
|
| +++ b/Source/devtools/front_end/main/App.js
|
| @@ -4,6 +4,7 @@
|
|
|
| /**
|
| * @constructor
|
| + * @implements {WebInspector.Console.UIDelegate}
|
| */
|
| WebInspector.App = function()
|
| {
|
| @@ -14,6 +15,7 @@ WebInspector.App = function()
|
| WebInspector.overridesSupport.addEventListener(WebInspector.OverridesSupport.Events.EmulationStateChanged, this._emulationEnabledChanged, this);
|
| WebInspector.overridesSupport.addEventListener(WebInspector.OverridesSupport.Events.OverridesWarningUpdated, this._overridesWarningUpdated, this);
|
| }
|
| + WebInspector.console.setUIDelegate(this);
|
| };
|
|
|
| WebInspector.App.prototype = {
|
| @@ -53,6 +55,11 @@ WebInspector.App.prototype = {
|
| if (!WebInspector.overridesSupport.responsiveDesignAvailable() && WebInspector.overridesSupport.emulationEnabled())
|
| WebInspector.inspectorView.showViewInDrawer("emulation", true);
|
| this._overridesWarningUpdated();
|
| + },
|
| +
|
| + showConsole: function()
|
| + {
|
| + WebInspector.Revealer.reveal(WebInspector.console);
|
| }
|
| };
|
|
|
|
|