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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/resources/AppManifestView.js

Issue 2440953003: DevTools: use semicolons after each statement. (Closed)
Patch Set: rebaseline 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 (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 /** 5 /**
6 * @constructor 6 * @constructor
7 * @extends {WebInspector.VBox} 7 * @extends {WebInspector.VBox}
8 * @implements {WebInspector.TargetManager.Observer} 8 * @implements {WebInspector.TargetManager.Observer}
9 */ 9 */
10 WebInspector.AppManifestView = function() 10 WebInspector.AppManifestView = function()
(...skipping 25 matching lines...) Expand all
36 themeColorField.appendChild(this._themeColorSwatch); 36 themeColorField.appendChild(this._themeColorSwatch);
37 37
38 var backgroundColorField = this._presentationSection.appendField(WebInspecto r.UIString("Background color")); 38 var backgroundColorField = this._presentationSection.appendField(WebInspecto r.UIString("Background color"));
39 this._backgroundColorSwatch = WebInspector.ColorSwatch.create(); 39 this._backgroundColorSwatch = WebInspector.ColorSwatch.create();
40 backgroundColorField.appendChild(this._backgroundColorSwatch); 40 backgroundColorField.appendChild(this._backgroundColorSwatch);
41 41
42 this._orientationField = this._presentationSection.appendField(WebInspector. UIString("Orientation")); 42 this._orientationField = this._presentationSection.appendField(WebInspector. UIString("Orientation"));
43 this._displayField = this._presentationSection.appendField(WebInspector.UISt ring("Display")); 43 this._displayField = this._presentationSection.appendField(WebInspector.UISt ring("Display"));
44 44
45 WebInspector.targetManager.observeTargets(this, WebInspector.Target.Capabili ty.DOM); 45 WebInspector.targetManager.observeTargets(this, WebInspector.Target.Capabili ty.DOM);
46 } 46 };
47 47
48 WebInspector.AppManifestView.prototype = { 48 WebInspector.AppManifestView.prototype = {
49 /** 49 /**
50 * @override 50 * @override
51 * @param {!WebInspector.Target} target 51 * @param {!WebInspector.Target} target
52 */ 52 */
53 targetAdded: function(target) 53 targetAdded: function(target)
54 { 54 {
55 if (this._resourceTreeModel) 55 if (this._resourceTreeModel)
56 return; 56 return;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 _addToHomescreen: function() 141 _addToHomescreen: function()
142 { 142 {
143 var target = WebInspector.targetManager.mainTarget(); 143 var target = WebInspector.targetManager.mainTarget();
144 if (target && target.hasBrowserCapability()) { 144 if (target && target.hasBrowserCapability()) {
145 target.pageAgent().requestAppBanner(); 145 target.pageAgent().requestAppBanner();
146 WebInspector.console.show(); 146 WebInspector.console.show();
147 } 147 }
148 }, 148 },
149 149
150 __proto__: WebInspector.VBox.prototype 150 __proto__: WebInspector.VBox.prototype
151 } 151 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698