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

Side by Side Diff: chrome/browser/resources/ntp4/dot_list.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 DotList implementation 6 * @fileoverview DotList implementation
7 */ 7 */
8 8
9 cr.define('ntp', function() { 9 cr.define('ntp', function() {
10 'use strict'; 10 'use strict';
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 newFocusIndex = (newFocusIndex + navDots.length) % navDots.length; 66 newFocusIndex = (newFocusIndex + navDots.length) % navDots.length;
67 navDots[newFocusIndex].tabIndex = 3; 67 navDots[newFocusIndex].tabIndex = 3;
68 navDots[newFocusIndex].focus(); 68 navDots[newFocusIndex].focus();
69 focusDot.tabIndex = -1; 69 focusDot.tabIndex = -1;
70 70
71 e.stopPropagation(); 71 e.stopPropagation();
72 e.preventDefault(); 72 e.preventDefault();
73 } 73 }
74 }; 74 };
75 75
76 return { 76 return {DotList: DotList};
77 DotList: DotList
78 };
79 }); 77 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698