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

Side by Side Diff: Source/bindings/v8/V8Binding.h

Issue 109473008: Remove custom signatures from V8 bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 12 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
« no previous file with comments | « Source/bindings/v8/Dictionary.cpp ('k') | Source/bindings/v8/V8Binding.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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Ericsson AB. All rights reserved. 3 * Copyright (C) 2012 Ericsson AB. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 } 554 }
555 555
556 V8TRYCATCH(uint32_t, sequenceLength, lengthValue->Int32Value()); 556 V8TRYCATCH(uint32_t, sequenceLength, lengthValue->Int32Value());
557 length = sequenceLength; 557 length = sequenceLength;
558 558
559 return v8Value; 559 return v8Value;
560 } 560 }
561 561
562 PassRefPtr<NodeFilter> toNodeFilter(v8::Handle<v8::Value>, v8::Isolate*); 562 PassRefPtr<NodeFilter> toNodeFilter(v8::Handle<v8::Value>, v8::Isolate*);
563 563
564 DOMWindow* toNativeDOMWindow(v8::Handle<v8::Value>, v8::Isolate*);
565
564 inline bool isUndefinedOrNull(v8::Handle<v8::Value> value) 566 inline bool isUndefinedOrNull(v8::Handle<v8::Value> value)
565 { 567 {
566 return value->IsNull() || value->IsUndefined(); 568 return value->IsNull() || value->IsUndefined();
567 } 569 }
568 570
569 // Returns true if the provided object is to be considered a 'host object', as used in the 571 // Returns true if the provided object is to be considered a 'host object', as used in the
570 // HTML5 structured clone algorithm. 572 // HTML5 structured clone algorithm.
571 inline bool isHostObject(v8::Handle<v8::Object> object) 573 inline bool isHostObject(v8::Handle<v8::Object> object)
572 { 574 {
573 // If the object has any internal fields, then we won't be able to seria lize or deserialize 575 // If the object has any internal fields, then we won't be able to seria lize or deserialize
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 // Result values for platform object 'deleter' methods, 702 // Result values for platform object 'deleter' methods,
701 // http://www.w3.org/TR/WebIDL/#delete 703 // http://www.w3.org/TR/WebIDL/#delete
702 enum DeleteResult { 704 enum DeleteResult {
703 DeleteSuccess, 705 DeleteSuccess,
704 DeleteReject, 706 DeleteReject,
705 DeleteUnknownProperty 707 DeleteUnknownProperty
706 }; 708 };
707 } // namespace WebCore 709 } // namespace WebCore
708 710
709 #endif // V8Binding_h 711 #endif // V8Binding_h
OLDNEW
« no previous file with comments | « Source/bindings/v8/Dictionary.cpp ('k') | Source/bindings/v8/V8Binding.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698