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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9a4c7ff1035f4206bce6e7f498921c3dcc714a61 |
--- /dev/null |
+++ b/Source/devtools/front_end/main/App.js |
@@ -0,0 +1,45 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+/** |
+ * @constructor |
+ */ |
+WebInspector.App = function() |
+{ |
+}; |
+ |
+WebInspector.App.prototype = { |
+ createRootView: function() |
+ { |
+ }, |
+ |
+ createGlobalStatusBarItems: function() |
+ { |
+ }, |
+ |
+ presentUI: function() |
+ { |
+ WebInspector.inspectorView.showInitialPanel(); |
+ |
+ WebInspector.overridesSupport.applyInitialOverrides(); |
+ if (WebInspector.overridesSupport.hasActiveOverrides()) |
+ WebInspector.inspectorView.showViewInDrawer("emulation", true); |
+ }, |
+ |
+ appendInspectStatusBarItem: function() |
+ { |
+ if (WebInspector.inspectElementModeController) |
+ WebInspector.inspectorView.appendToLeftToolbar(WebInspector.inspectElementModeController.toggleSearchButton.element); |
+ }, |
+ |
+ appendSettingsStatusBarItem: function() |
+ { |
+ WebInspector.inspectorView.appendToRightToolbar(WebInspector.settingsController.statusBarItem); |
+ } |
+}; |
+ |
+/** |
+ * @type {!WebInspector.App} |
+ */ |
+WebInspector.app; |