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

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

Issue 176963017: Remove WrapperWorldType from V8 binding (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/bindings/v8/DOMWrapperWorld.h ('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 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 } 628 }
629 629
630 V8TRYCATCH(uint32_t, sequenceLength, lengthValue->Int32Value()); 630 V8TRYCATCH(uint32_t, sequenceLength, lengthValue->Int32Value());
631 length = sequenceLength; 631 length = sequenceLength;
632 return v8Value; 632 return v8Value;
633 } 633 }
634 634
635 v8::Isolate* toIsolate(ExecutionContext*); 635 v8::Isolate* toIsolate(ExecutionContext*);
636 v8::Isolate* toIsolate(LocalFrame*); 636 v8::Isolate* toIsolate(LocalFrame*);
637 637
638 WrapperWorldType worldType(v8::Isolate*);
639 WrapperWorldType worldTypeInMainThread(v8::Isolate*);
640
641 DOMWindow* toDOMWindow(v8::Handle<v8::Value>, v8::Isolate*); 638 DOMWindow* toDOMWindow(v8::Handle<v8::Value>, v8::Isolate*);
642 DOMWindow* toDOMWindow(v8::Handle<v8::Context>); 639 DOMWindow* toDOMWindow(v8::Handle<v8::Context>);
643 ExecutionContext* toExecutionContext(v8::Handle<v8::Context>); 640 ExecutionContext* toExecutionContext(v8::Handle<v8::Context>);
644 641
645 DOMWindow* callingDOMWindow(v8::Isolate*); 642 DOMWindow* callingDOMWindow(v8::Isolate*);
646 ExecutionContext* callingExecutionContext(v8::Isolate*); 643 ExecutionContext* callingExecutionContext(v8::Isolate*);
647 DOMWindow* enteredDOMWindow(v8::Isolate*); 644 DOMWindow* enteredDOMWindow(v8::Isolate*);
648 Document* currentDocument(v8::Isolate*); 645 Document* currentDocument(v8::Isolate*);
649 ExecutionContext* currentExecutionContext(v8::Isolate*); 646 ExecutionContext* currentExecutionContext(v8::Isolate*);
650 647
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 v8::HandleScope m_handleScope; 741 v8::HandleScope m_handleScope;
745 v8::Handle<v8::Context> m_context; 742 v8::Handle<v8::Context> m_context;
746 v8::Context::Scope m_contextScope; 743 v8::Context::Scope m_contextScope;
747 RefPtr<DOMWrapperWorld> m_world; 744 RefPtr<DOMWrapperWorld> m_world;
748 OwnPtr<V8PerContextData> m_perContextData; 745 OwnPtr<V8PerContextData> m_perContextData;
749 }; 746 };
750 747
751 } // namespace WebCore 748 } // namespace WebCore
752 749
753 #endif // V8Binding_h 750 #endif // V8Binding_h
OLDNEW
« no previous file with comments | « Source/bindings/v8/DOMWrapperWorld.h ('k') | Source/bindings/v8/V8Binding.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698