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

Side by Side Diff: Source/bindings/scripts/deprecated_code_generator_v8.pm

Issue 19675008: Move btoa() / atob() implementation out of DOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Take Kentaro's feedback into consideration Created 7 years, 5 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) 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 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after
1103 { 1103 {
1104 my $interfaceOrAttributeOrFunction = shift; 1104 my $interfaceOrAttributeOrFunction = shift;
1105 return $interfaceOrAttributeOrFunction->extendedAttributes->{"ImplementedAs" } || $interfaceOrAttributeOrFunction->name; 1105 return $interfaceOrAttributeOrFunction->extendedAttributes->{"ImplementedAs" } || $interfaceOrAttributeOrFunction->name;
1106 } 1106 }
1107 1107
1108 sub GetImplNameFromImplementedBy 1108 sub GetImplNameFromImplementedBy
1109 { 1109 {
1110 my $implementedBy = shift; 1110 my $implementedBy = shift;
1111 1111
1112 my $interface = ParseInterface($implementedBy); 1112 my $interface = ParseInterface($implementedBy);
1113
1113 return $interface->extendedAttributes->{"ImplementedAs"} || $implementedBy; 1114 return $interface->extendedAttributes->{"ImplementedAs"} || $implementedBy;
1114 } 1115 }
1115 1116
1116 sub GenerateDomainSafeFunctionGetter 1117 sub GenerateDomainSafeFunctionGetter
1117 { 1118 {
1118 my $function = shift; 1119 my $function = shift;
1119 my $interface = shift; 1120 my $interface = shift;
1120 1121
1121 my $implClassName = GetImplName($interface); 1122 my $implClassName = GetImplName($interface);
1122 my $v8ClassName = GetV8ClassName($interface); 1123 my $v8ClassName = GetV8ClassName($interface);
(...skipping 4852 matching lines...) Expand 10 before | Expand all | Expand 10 after
5975 if ($currentInterface->extendedAttributes->{$extendedAttribute}) { 5976 if ($currentInterface->extendedAttributes->{$extendedAttribute}) {
5976 $found = 1; 5977 $found = 1;
5977 } 5978 }
5978 return 1 if $found; 5979 return 1 if $found;
5979 }, 0); 5980 }, 0);
5980 5981
5981 return $found; 5982 return $found;
5982 } 5983 }
5983 5984
5984 1; 5985 1;
OLDNEW
« no previous file with comments | « Source/bindings/scripts/IDLAttributes.txt ('k') | Source/bindings/scripts/deprecated_generate_bindings.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698