| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007-2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2007-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 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #include "V8Document.h" | 32 #include "V8Document.h" |
| 33 | 33 |
| 34 #include "CanvasRenderingContext.h" | 34 #include "CanvasRenderingContext.h" |
| 35 #include "Document.h" | 35 #include "Document.h" |
| 36 #include "ExceptionCode.h" | 36 #include "ExceptionCode.h" |
| 37 #include "Frame.h" | 37 #include "Frame.h" |
| 38 #include "Node.h" | 38 #include "Node.h" |
| 39 #include "ScriptController.h" |
| 39 #include "TouchList.h" | 40 #include "TouchList.h" |
| 40 #include "XPathNSResolver.h" | 41 #include "XPathNSResolver.h" |
| 41 #include "XPathResult.h" | 42 #include "XPathResult.h" |
| 42 | 43 |
| 43 #include "V8Binding.h" | 44 #include "V8Binding.h" |
| 44 #include "V8CanvasRenderingContext2D.h" | 45 #include "V8CanvasRenderingContext2D.h" |
| 45 #include "V8CustomXPathNSResolver.h" | 46 #include "V8CustomXPathNSResolver.h" |
| 46 #include "V8DOMImplementation.h" | 47 #include "V8DOMImplementation.h" |
| 47 #include "V8DOMWindowShell.h" | 48 #include "V8DOMWindowShell.h" |
| 48 #include "V8DOMWrapper.h" | 49 #include "V8DOMWrapper.h" |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 for (int i = 0; i < args.Length(); i++) { | 115 for (int i = 0; i < args.Length(); i++) { |
| 115 Touch* touch = V8DOMWrapper::isWrapperOfType(args[i], &V8Touch::info) ?
V8Touch::toNative(args[i]->ToObject()) : 0; | 116 Touch* touch = V8DOMWrapper::isWrapperOfType(args[i], &V8Touch::info) ?
V8Touch::toNative(args[i]->ToObject()) : 0; |
| 116 touchList->append(touch); | 117 touchList->append(touch); |
| 117 } | 118 } |
| 118 | 119 |
| 119 return toV8(touchList.release(), args.Holder(), args.GetIsolate()); | 120 return toV8(touchList.release(), args.Holder(), args.GetIsolate()); |
| 120 } | 121 } |
| 121 #endif | 122 #endif |
| 122 | 123 |
| 123 } // namespace WebCore | 124 } // namespace WebCore |
| OLD | NEW |