| Index: Source/devtools/front_end/InspectorView.js
|
| diff --git a/Source/devtools/front_end/InspectorView.js b/Source/devtools/front_end/InspectorView.js
|
| index e27be2eac39882241984bb9f676782db40c000f5..4e55123d16531acc6d061209c5cea9dd959d5341 100644
|
| --- a/Source/devtools/front_end/InspectorView.js
|
| +++ b/Source/devtools/front_end/InspectorView.js
|
| @@ -433,6 +433,32 @@ WebInspector.inspectorView;
|
|
|
| /**
|
| * @constructor
|
| + * @implements {WebInspector.ActionDelegate}
|
| + */
|
| +WebInspector.InspectorView.DrawerToggleActionDelegate = function()
|
| +{
|
| +}
|
| +
|
| +WebInspector.InspectorView.DrawerToggleActionDelegate.prototype = {
|
| + /**
|
| + * @return {boolean}
|
| + */
|
| + handleAction: function()
|
| + {
|
| + if (WebInspector.inspectorView.drawerVisible()) {
|
| + WebInspector.inspectorView.closeDrawer();
|
| + return true;
|
| + }
|
| + if (!WebInspector.experimentsSettings.doNotOpenDrawerOnEsc.isEnabled()) {
|
| + WebInspector.inspectorView.showDrawer();
|
| + return true;
|
| + }
|
| + return false;
|
| + }
|
| +}
|
| +
|
| +/**
|
| + * @constructor
|
| * @extends {WebInspector.VBox}
|
| */
|
| WebInspector.RootView = function()
|
|
|