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('options', function() { | 5 cr.define('options', function() { |
6 var OptionsPage = options.OptionsPage; | 6 var OptionsPage = options.OptionsPage; |
7 | 7 |
8 // The scale ratio of the display rectangle to its original size. | 8 // The scale ratio of the display rectangle to its original size. |
9 /** @const */ var VISUAL_SCALE = 1 / 10; | 9 /** @const */ var VISUAL_SCALE = 1 / 10; |
10 | 10 |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 mirroring, displays, layout, offset) { | 445 mirroring, displays, layout, offset) { |
446 DisplayOptions.getInstance().onDisplayChanged_( | 446 DisplayOptions.getInstance().onDisplayChanged_( |
447 mirroring, displays, layout, offset); | 447 mirroring, displays, layout, offset); |
448 }; | 448 }; |
449 | 449 |
450 // Export | 450 // Export |
451 return { | 451 return { |
452 DisplayOptions: DisplayOptions | 452 DisplayOptions: DisplayOptions |
453 }; | 453 }; |
454 }); | 454 }); |
OLD | NEW |