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

Side by Side Diff: Source/bindings/v8/custom/V8MessageEventCustom.cpp

Issue 26558004: Revert 158219 "Move dom/*Event* to events to match the DOM vs. E..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1651/
Patch Set: Created 7 years, 2 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
« no previous file with comments | « Source/bindings/v8/custom/V8EventCustom.cpp ('k') | Source/bindings/v8/custom/V8NodeCustom.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 20 matching lines...) Expand all
31 #include "config.h" 31 #include "config.h"
32 #include "V8MessageEvent.h" 32 #include "V8MessageEvent.h"
33 33
34 #include "V8Blob.h" 34 #include "V8Blob.h"
35 #include "V8MessagePort.h" 35 #include "V8MessagePort.h"
36 #include "V8Window.h" 36 #include "V8Window.h"
37 #include "bindings/v8/SerializedScriptValue.h" 37 #include "bindings/v8/SerializedScriptValue.h"
38 #include "bindings/v8/V8Binding.h" 38 #include "bindings/v8/V8Binding.h"
39 #include "bindings/v8/V8HiddenPropertyName.h" 39 #include "bindings/v8/V8HiddenPropertyName.h"
40 #include "bindings/v8/custom/V8ArrayBufferCustom.h" 40 #include "bindings/v8/custom/V8ArrayBufferCustom.h"
41 #include "core/events/MessageEvent.h" 41 #include "core/dom/MessageEvent.h"
42 42
43 namespace WebCore { 43 namespace WebCore {
44 44
45 void V8MessageEvent::dataAttributeGetterCustom(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 45 void V8MessageEvent::dataAttributeGetterCustom(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
46 { 46 {
47 MessageEvent* event = V8MessageEvent::toNative(info.Holder()); 47 MessageEvent* event = V8MessageEvent::toNative(info.Holder());
48 48
49 v8::Handle<v8::Value> result; 49 v8::Handle<v8::Value> result;
50 switch (event->dataType()) { 50 switch (event->dataType()) {
51 case MessageEvent::DataTypeScriptValue: { 51 case MessageEvent::DataTypeScriptValue: {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 } 130 }
131 } 131 }
132 132
133 void V8MessageEvent::webkitInitMessageEventMethodCustom(const v8::FunctionCallba ckInfo<v8::Value>& args) 133 void V8MessageEvent::webkitInitMessageEventMethodCustom(const v8::FunctionCallba ckInfo<v8::Value>& args)
134 { 134 {
135 initMessageEventMethodCustom(args); 135 initMessageEventMethodCustom(args);
136 } 136 }
137 137
138 138
139 } // namespace WebCore 139 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/v8/custom/V8EventCustom.cpp ('k') | Source/bindings/v8/custom/V8NodeCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698