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

Side by Side Diff: Source/WebCore/bindings/scripts/CodeGeneratorV8.pm

Issue 12386021: Revert 144142 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1425/
Patch Set: Created 7 years, 9 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
« no previous file with comments | « no previous file | Source/WebCore/bindings/v8/custom/V8EventCustom.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 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> 1 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> 2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com>
3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> 4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org>
5 # Copyright (C) 2006 Apple Computer, Inc. 5 # Copyright (C) 2006 Apple Computer, Inc.
6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc. 6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc.
7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> 7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au>
8 # Copyright (C) Research In Motion Limited 2010. All rights reserved. 8 # Copyright (C) Research In Motion Limited 2010. All rights reserved.
9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
10 # Copyright (C) 2012 Ericsson AB. All rights reserved. 10 # Copyright (C) 2012 Ericsson AB. All rights reserved.
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 } 721 }
722 } 722 }
723 723
724 sub GenerateHeaderCustomCall 724 sub GenerateHeaderCustomCall
725 { 725 {
726 my $interface = shift; 726 my $interface = shift;
727 727
728 if ($interface->extendedAttributes->{"CustomCall"}) { 728 if ($interface->extendedAttributes->{"CustomCall"}) {
729 push(@headerContent, " static v8::Handle<v8::Value> callAsFunctionCal lback(const v8::Arguments&);\n"); 729 push(@headerContent, " static v8::Handle<v8::Value> callAsFunctionCal lback(const v8::Arguments&);\n");
730 } 730 }
731 if ($interface->name eq "Event") {
732 push(@headerContent, " static v8::Handle<v8::Value> dataTransferAttrG etterCustom(v8::Local<v8::String> name, const v8::AccessorInfo&);\n");
733 push(@headerContent, " static void valueAttrSetterCustom(v8::Local<v8 ::String> name, v8::Local<v8::Value>, const v8::AccessorInfo&);\n");
734 }
731 if ($interface->name eq "Location") { 735 if ($interface->name eq "Location") {
732 push(@headerContent, " static v8::Handle<v8::Value> assignAttrGetterC ustom(v8::Local<v8::String> name, const v8::AccessorInfo&);\n"); 736 push(@headerContent, " static v8::Handle<v8::Value> assignAttrGetterC ustom(v8::Local<v8::String> name, const v8::AccessorInfo&);\n");
733 push(@headerContent, " static v8::Handle<v8::Value> reloadAttrGetterC ustom(v8::Local<v8::String> name, const v8::AccessorInfo&);\n"); 737 push(@headerContent, " static v8::Handle<v8::Value> reloadAttrGetterC ustom(v8::Local<v8::String> name, const v8::AccessorInfo&);\n");
734 push(@headerContent, " static v8::Handle<v8::Value> replaceAttrGetter Custom(v8::Local<v8::String> name, const v8::AccessorInfo&);\n"); 738 push(@headerContent, " static v8::Handle<v8::Value> replaceAttrGetter Custom(v8::Local<v8::String> name, const v8::AccessorInfo&);\n");
735 } 739 }
736 } 740 }
737 741
738 sub IsConstructable 742 sub IsConstructable
739 { 743 {
740 my $interface = shift; 744 my $interface = shift;
(...skipping 3662 matching lines...) Expand 10 before | Expand all | Expand 10 after
4403 4407
4404 sub GetPassRefPtrType 4408 sub GetPassRefPtrType
4405 { 4409 {
4406 my $v8InterfaceName = shift; 4410 my $v8InterfaceName = shift;
4407 4411
4408 my $angleBracketSpace = $v8InterfaceName =~ />$/ ? " " : ""; 4412 my $angleBracketSpace = $v8InterfaceName =~ />$/ ? " " : "";
4409 return "PassRefPtr<${v8InterfaceName}${angleBracketSpace}>"; 4413 return "PassRefPtr<${v8InterfaceName}${angleBracketSpace}>";
4410 } 4414 }
4411 4415
4412 1; 4416 1;
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/bindings/v8/custom/V8EventCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698