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

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

Issue 2469113002: DevTools: clang format all the source + clang config landed. (Closed)
Patch Set: for landing Created 4 years, 1 month 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 * @unrestricted 5 * @unrestricted
6 */ 6 */
7 WebInspector.DeviceOrientation = class { 7 WebInspector.DeviceOrientation = class {
8 /** 8 /**
9 * @param {number} alpha 9 * @param {number} alpha
10 * @param {number} beta 10 * @param {number} beta
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 apply() { 66 apply() {
67 for (var target of WebInspector.targetManager.targets(WebInspector.Target.Ca pability.Browser)) 67 for (var target of WebInspector.targetManager.targets(WebInspector.Target.Ca pability.Browser))
68 target.deviceOrientationAgent().setDeviceOrientationOverride(this.alpha, t his.beta, this.gamma); 68 target.deviceOrientationAgent().setDeviceOrientationOverride(this.alpha, t his.beta, this.gamma);
69 } 69 }
70 70
71 clear() { 71 clear() {
72 for (var target of WebInspector.targetManager.targets(WebInspector.Target.Ca pability.Browser)) 72 for (var target of WebInspector.targetManager.targets(WebInspector.Target.Ca pability.Browser))
73 target.deviceOrientationAgent().clearDeviceOrientationOverride(); 73 target.deviceOrientationAgent().clearDeviceOrientationOverride();
74 } 74 }
75 }; 75 };
76
77
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698