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

Side by Side Diff: chrome/browser/resources/settings/on_startup_page/startup_url_entry.js

Issue 2617663002: WIP: run clang-format-js on lots of things (Closed)
Patch Set: merge Created 3 years, 11 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 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 /** 5 /**
6 * @fileoverview settings-startup-url-entry represents a UI component that 6 * @fileoverview settings-startup-url-entry represents a UI component that
7 * displayes a URL that is loaded during startup. It includes a menu that allows 7 * displayes a URL that is loaded during startup. It includes a menu that allows
8 * the user to edit/remove the entry. 8 * the user to edit/remove the entry.
9 */ 9 */
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 * @private 51 * @private
52 */ 52 */
53 onEditTap_: function(e) { 53 onEditTap_: function(e) {
54 e.preventDefault(); 54 e.preventDefault();
55 this.$$('dialog[is=cr-action-menu]').close(); 55 this.$$('dialog[is=cr-action-menu]').close();
56 this.fire(settings.EDIT_STARTUP_URL_EVENT, this.model); 56 this.fire(settings.EDIT_STARTUP_URL_EVENT, this.model);
57 }, 57 },
58 58
59 /** @private */ 59 /** @private */
60 onDotsTap_: function() { 60 onDotsTap_: function() {
61 var actionMenu = /** @type {!CrActionMenuElement} */( 61 var actionMenu =
62 this.$$('#menu').get()); 62 /** @type {!CrActionMenuElement} */ (this.$$('#menu').get());
63 actionMenu.showAt(assert(this.$$('#dots'))); 63 actionMenu.showAt(assert(this.$$('#dots')));
64 }, 64 },
65 }); 65 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698