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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp

Issue 2571063002: Remove Blink-in-JS (Closed)
Patch Set: Created 4 years 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // This file has been auto-generated by code_generator_v8.py. 5 // This file has been auto-generated by code_generator_v8.py.
6 // DO NOT MODIFY! 6 // DO NOT MODIFY!
7 7
8 // clang-format off 8 // clang-format off
9 #include "V8TestDictionary.h" 9 #include "V8TestDictionary.h"
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 } 84 }
85 85
86 v8::Local<v8::Value> deprecatedCreateMemberValue; 86 v8::Local<v8::Value> deprecatedCreateMemberValue;
87 if (!v8Object->Get(isolate->GetCurrentContext(), v8String(isolate, "deprecated CreateMember")).ToLocal(&deprecatedCreateMemberValue)) { 87 if (!v8Object->Get(isolate->GetCurrentContext(), v8String(isolate, "deprecated CreateMember")).ToLocal(&deprecatedCreateMemberValue)) {
88 exceptionState.rethrowV8Exception(block.Exception()); 88 exceptionState.rethrowV8Exception(block.Exception());
89 return; 89 return;
90 } 90 }
91 if (deprecatedCreateMemberValue.IsEmpty() || deprecatedCreateMemberValue->IsUn defined()) { 91 if (deprecatedCreateMemberValue.IsEmpty() || deprecatedCreateMemberValue->IsUn defined()) {
92 // Do nothing. 92 // Do nothing.
93 } else { 93 } else {
94 Deprecation::countDeprecationIfNotPrivateScript(isolate, currentExecutionCon text(isolate), UseCounter::CreateMember); 94 Deprecation::countDeprecation(currentExecutionContext(isolate), UseCounter:: CreateMember);
95 bool deprecatedCreateMember = toBoolean(isolate, deprecatedCreateMemberValue , exceptionState); 95 bool deprecatedCreateMember = toBoolean(isolate, deprecatedCreateMemberValue , exceptionState);
96 if (exceptionState.hadException()) 96 if (exceptionState.hadException())
97 return; 97 return;
98 impl.setCreateMember(deprecatedCreateMember); 98 impl.setCreateMember(deprecatedCreateMember);
99 } 99 }
100 100
101 v8::Local<v8::Value> dictionaryMemberValue; 101 v8::Local<v8::Value> dictionaryMemberValue;
102 if (!v8Object->Get(isolate->GetCurrentContext(), v8String(isolate, "dictionary Member")).ToLocal(&dictionaryMemberValue)) { 102 if (!v8Object->Get(isolate->GetCurrentContext(), v8String(isolate, "dictionary Member")).ToLocal(&dictionaryMemberValue)) {
103 exceptionState.rethrowV8Exception(block.Exception()); 103 exceptionState.rethrowV8Exception(block.Exception());
104 return; 104 return;
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 return true; 787 return true;
788 } 788 }
789 789
790 TestDictionary NativeValueTraits<TestDictionary>::nativeValue(v8::Isolate* isola te, v8::Local<v8::Value> value, ExceptionState& exceptionState) { 790 TestDictionary NativeValueTraits<TestDictionary>::nativeValue(v8::Isolate* isola te, v8::Local<v8::Value> value, ExceptionState& exceptionState) {
791 TestDictionary impl; 791 TestDictionary impl;
792 V8TestDictionary::toImpl(isolate, value, impl, exceptionState); 792 V8TestDictionary::toImpl(isolate, value, impl, exceptionState);
793 return impl; 793 return impl;
794 } 794 }
795 795
796 } // namespace blink 796 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698