| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 | 4 |
| 5 /** | 5 /** |
| 6 * @constructor | 6 * @constructor |
| 7 * @extends {WebInspector.VBox} | 7 * @extends {WebInspector.VBox} |
| 8 */ | 8 */ |
| 9 WebInspector.SensorsView = function() | 9 WebInspector.SensorsView = function() |
| 10 { | 10 { |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 | 496 |
| 497 WebInspector.SensorsView.ShowActionDelegate.prototype = { | 497 WebInspector.SensorsView.ShowActionDelegate.prototype = { |
| 498 /** | 498 /** |
| 499 * @override | 499 * @override |
| 500 * @param {!WebInspector.Context} context | 500 * @param {!WebInspector.Context} context |
| 501 * @param {string} actionId | 501 * @param {string} actionId |
| 502 * @return {boolean} | 502 * @return {boolean} |
| 503 */ | 503 */ |
| 504 handleAction: function(context, actionId) | 504 handleAction: function(context, actionId) |
| 505 { | 505 { |
| 506 WebInspector.inspectorView.showViewInDrawer("sensors"); | 506 WebInspector.viewManager.showView("sensors"); |
| 507 return true; | 507 return true; |
| 508 } | 508 } |
| 509 } | 509 } |
| 510 | 510 |
| 511 WebInspector.SensorsView.ShiftDragOrientationSpeed = 16; | 511 WebInspector.SensorsView.ShiftDragOrientationSpeed = 16; |
| OLD | NEW |