OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 /** |
| 6 * @fileoverview AppListView implementation. |
| 7 */ |
| 8 |
| 9 cr.define('appList', function() { |
| 10 'use strict'; |
| 11 |
| 12 /** |
| 13 * Creates an AppsView object. |
| 14 * @constructor |
| 15 * @extends {PageListView} |
| 16 */ |
| 17 function AppsView() { |
| 18 this.initialize(getRequiredElement('page-list'), |
| 19 getRequiredElement('dot-list'), |
| 20 getRequiredElement('card-slider-frame')); |
| 21 } |
| 22 |
| 23 AppsView.prototype = { |
| 24 __proto__: ntp4.PageListView.prototype |
| 25 }; |
| 26 |
| 27 // Return an object with all the exports |
| 28 return { |
| 29 AppsView: AppsView |
| 30 }; |
| 31 }); |
OLD | NEW |