OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 Components.reload = function() { | 4 Main.reload = function() { |
5 if (Components.dockController.canDock() && | 5 if (Components.dockController.canDock() && |
6 Components.dockController.dockSide() === Components.DockController.State.U
ndocked) | 6 Components.dockController.dockSide() === Components.DockController.State.U
ndocked) |
7 InspectorFrontendHost.setIsDocked(true, function() {}); | 7 InspectorFrontendHost.setIsDocked(true, function() {}); |
8 window.location.reload(); | 8 window.location.reload(); |
9 }; | 9 }; |
OLD | NEW |