OLD | NEW |
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 function MarginTextbox(groupName) { | 8 function MarginTextbox(groupName) { |
9 var box = document.createElement('input'); | 9 var box = document.createElement('input'); |
10 box.__proto__ = MarginTextbox.prototype; | 10 box.__proto__ = MarginTextbox.prototype; |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 return; | 208 return; |
209 cr.dispatchSimpleEvent(this, customEvents.MARGINS_MAY_HAVE_CHANGED); | 209 cr.dispatchSimpleEvent(this, customEvents.MARGINS_MAY_HAVE_CHANGED); |
210 } | 210 } |
211 | 211 |
212 }; | 212 }; |
213 | 213 |
214 return { | 214 return { |
215 MarginTextbox: MarginTextbox | 215 MarginTextbox: MarginTextbox |
216 }; | 216 }; |
217 }); | 217 }); |
OLD | NEW |