[sql] Remove _HAS_EXCEPTIONS=0 from build info.
[chromium-blink-merge.git] / chrome / browser / resources / options / supervised_user_learn_more.js
blob6b589f3b8a5edcc50e6cb7cf8b4583139d00a0a5
1 // Copyright 2014 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.
5 cr.define('options', function() {
6 var Page = cr.ui.pageManager.Page;
8 /**
9 * SupervisedUserLearnMore class.
10 * Encapsulated handling of the 'Learn more...' overlay page.
11 * @constructor
12 * @extends {cr.ui.pageManager.Page}
14 function SupervisedUserLearnMoreOverlay() {
15 Page.call(this, 'supervisedUserLearnMore',
16 loadTimeData.getString('supervisedUserLearnMoreTitle'),
17 'supervised-user-learn-more');
20 cr.addSingletonGetter(SupervisedUserLearnMoreOverlay);
22 SupervisedUserLearnMoreOverlay.prototype = {
23 // Inherit from Page.
24 __proto__: Page.prototype,
26 /** @override */
27 initializePage: function() {
28 Page.prototype.initializePage.call(this);
30 $('supervised-user-learn-more-done').onclick = function(event) {
31 cr.ui.pageManager.PageManager.closeOverlay();
36 // Export
37 return {
38 SupervisedUserLearnMoreOverlay: SupervisedUserLearnMoreOverlay,
40 });