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

Side by Side Diff: chrome/browser/resources/print_preview/data/page_number_set.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 cr.define('print_preview', function() { 5 cr.define('print_preview', function() {
6 'use strict'; 6 'use strict';
7 7
8 /** 8 /**
9 * An immutable ordered set of page numbers. 9 * An immutable ordered set of page numbers.
10 * @param {!Array<number>} pageNumberList A list of page numbers to include 10 * @param {!Array<number>} pageNumberList A list of page numbers to include
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 return this.pageNumberSet_.indexOf(pageNumber); 51 return this.pageNumberSet_.indexOf(pageNumber);
52 }, 52 },
53 53
54 /** @return {!Array<number>} Array representation of the set. */ 54 /** @return {!Array<number>} Array representation of the set. */
55 asArray: function() { 55 asArray: function() {
56 return this.pageNumberSet_.slice(0); 56 return this.pageNumberSet_.slice(0);
57 }, 57 },
58 }; 58 };
59 59
60 // Export 60 // Export
61 return { 61 return {PageNumberSet: PageNumberSet};
62 PageNumberSet: PageNumberSet
63 };
64 }); 62 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698