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

Side by Side Diff: Source/bindings/tests/results/core/UnionTypesCore.h

Issue 727523002: IDL: Use raw pointers instead of RawPtr<> for rvalue types (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #ifndef UnionTypeCore_h 7 #ifndef UnionTypeCore_h
8 #define UnionTypeCore_h 8 #define UnionTypeCore_h
9 9
10 #include "bindings/core/v8/Dictionary.h" 10 #include "bindings/core/v8/Dictionary.h"
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 static StringOrDouble nativeValue(const v8::Handle<v8::Value>&, v8::Isolate* , ExceptionState&); 320 static StringOrDouble nativeValue(const v8::Handle<v8::Value>&, v8::Isolate* , ExceptionState&);
321 }; 321 };
322 322
323 class TestInterfaceGarbageCollectedOrString final { 323 class TestInterfaceGarbageCollectedOrString final {
324 ALLOW_ONLY_INLINE_ALLOCATION(); 324 ALLOW_ONLY_INLINE_ALLOCATION();
325 public: 325 public:
326 TestInterfaceGarbageCollectedOrString(); 326 TestInterfaceGarbageCollectedOrString();
327 bool isNull() const { return m_type == SpecificTypeNone; } 327 bool isNull() const { return m_type == SpecificTypeNone; }
328 328
329 bool isTestInterfaceGarbageCollected() const { return m_type == SpecificType TestInterfaceGarbageCollected; } 329 bool isTestInterfaceGarbageCollected() const { return m_type == SpecificType TestInterfaceGarbageCollected; }
330 RawPtr<TestInterfaceGarbageCollected> getAsTestInterfaceGarbageCollected() c onst; 330 TestInterfaceGarbageCollected* getAsTestInterfaceGarbageCollected() const;
331 void setTestInterfaceGarbageCollected(RawPtr<TestInterfaceGarbageCollected>) ; 331 void setTestInterfaceGarbageCollected(TestInterfaceGarbageCollected*);
332 332
333 bool isString() const { return m_type == SpecificTypeString; } 333 bool isString() const { return m_type == SpecificTypeString; }
334 String getAsString() const; 334 String getAsString() const;
335 void setString(String); 335 void setString(String);
336 336
337 void trace(Visitor*); 337 void trace(Visitor*);
338 338
339 private: 339 private:
340 enum SpecificTypes { 340 enum SpecificTypes {
341 SpecificTypeNone, 341 SpecificTypeNone,
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 { 514 {
515 if (isUndefinedOrNull(v8Value)) 515 if (isUndefinedOrNull(v8Value))
516 return; 516 return;
517 V8DoubleOrString::toImpl(isolate, v8Value, impl, exceptionState); 517 V8DoubleOrString::toImpl(isolate, v8Value, impl, exceptionState);
518 } 518 }
519 }; 519 };
520 520
521 } // namespace blink 521 } // namespace blink
522 522
523 #endif // UnionTypeCore_h 523 #endif // UnionTypeCore_h
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/TestDictionary.h ('k') | Source/bindings/tests/results/core/UnionTypesCore.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698