OLD | NEW |
| (Empty) |
1 // Copyright 2015 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 This file provides the DomEvent class. | |
7 */ | |
8 | |
9 goog.provide('image.collections.extension.DomEvent'); | |
10 | |
11 goog.require('goog.events.Event'); | |
12 | |
13 goog.scope(function() { | |
14 | |
15 | |
16 | |
17 /** | |
18 * Represents the content script DOM event. | |
19 * @param {!DomEvent.Type} type The type of this event. | |
20 * @extends {goog.events.Event} | |
21 * @constructor | |
22 */ | |
23 image.collections.extension.DomEvent = function(type) { | |
24 DomEvent.base(this, 'constructor', type); | |
25 }; | |
26 goog.inherits(image.collections.extension.DomEvent, goog.events.Event); | |
27 var DomEvent = image.collections.extension.DomEvent; | |
28 | |
29 | |
30 /** @enum {string} */ | |
31 DomEvent.Type = { | |
32 DOM_INITIALIZED: 'dom_initialized', | |
33 INITIALIZE_DOM: 'initialize_dom' | |
34 }; | |
35 | |
36 }); // goog.scope | |
OLD | NEW |