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

Side by Side Diff: chrome/browser/resources/print_preview/data/margins.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 * Creates a Margins object that holds four margin values in points. 9 * Creates a Margins object that holds four margin values in points.
10 * @param {number} top The top margin in pts. 10 * @param {number} top The top margin in pts.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 clone_: function() { 100 clone_: function() {
101 var clone = {}; 101 var clone = {};
102 for (var o in this.value_) { 102 for (var o in this.value_) {
103 clone[o] = this.value_[o]; 103 clone[o] = this.value_[o];
104 } 104 }
105 return clone; 105 return clone;
106 } 106 }
107 }; 107 };
108 108
109 // Export 109 // Export
110 return { 110 return {Margins: Margins};
111 Margins: Margins
112 };
113 }); 111 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698