Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: tools/cc-frame-viewer/src/ui/event_target.js

Issue 12225131: [cc] Initial checkin of cc-frame-viewer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 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 /** 5 /**
6 * @fileoverview This contains an implementation of the EventTarget interface 6 * @fileoverview This contains an implementation of the EventTarget interface
7 * as defined by DOM Level 2 Events. 7 * as defined by DOM Level 2 Events.
8 */ 8 */
9 9 base.exportTo('ui', function() {
10 cr.define('cr', function() {
11 10
12 /** 11 /**
13 * Creates a new EventTarget. This class implements the DOM level 2 12 * Creates a new EventTarget. This class implements the DOM level 2
14 * EventTarget interface and can be used wherever those are used. 13 * EventTarget interface and can be used wherever those are used.
15 * @constructor 14 * @constructor
16 */ 15 */
17 function EventTarget() { 16 function EventTarget() {
18 } 17 }
19 18
20 EventTarget.prototype = { 19 EventTarget.prototype = {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 94
96 return !prevented && event.returnValue; 95 return !prevented && event.returnValue;
97 } 96 }
98 }; 97 };
99 98
100 // Export 99 // Export
101 return { 100 return {
102 EventTarget: EventTarget 101 EventTarget: EventTarget
103 }; 102 };
104 }); 103 });
OLDNEW
« no previous file with comments | « tools/cc-frame-viewer/src/ui/drag_handle.js ('k') | tools/cc-frame-viewer/src/ui/list_and_associated_view.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698