Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/emulation/SensorsView.js

Issue 2205123003: DevTools: introduce view locations, allow opening views by id. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698