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

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

Issue 304353015: Remove unused Isolate* parameters from toV8Context() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/ScriptState.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 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 DOMWindow* callingDOMWindow(v8::Isolate*); 763 DOMWindow* callingDOMWindow(v8::Isolate*);
764 ExecutionContext* toExecutionContext(v8::Handle<v8::Context>); 764 ExecutionContext* toExecutionContext(v8::Handle<v8::Context>);
765 ExecutionContext* currentExecutionContext(v8::Isolate*); 765 ExecutionContext* currentExecutionContext(v8::Isolate*);
766 ExecutionContext* callingExecutionContext(v8::Isolate*); 766 ExecutionContext* callingExecutionContext(v8::Isolate*);
767 767
768 // Returns a V8 context associated with a ExecutionContext and a DOMWrapperWorld . 768 // Returns a V8 context associated with a ExecutionContext and a DOMWrapperWorld .
769 // This method returns an empty context if there is no frame or the frame is alr eady detached. 769 // This method returns an empty context if there is no frame or the frame is alr eady detached.
770 v8::Local<v8::Context> toV8Context(ExecutionContext*, DOMWrapperWorld&); 770 v8::Local<v8::Context> toV8Context(ExecutionContext*, DOMWrapperWorld&);
771 // Returns a V8 context associated with a LocalFrame and a DOMWrapperWorld. 771 // Returns a V8 context associated with a LocalFrame and a DOMWrapperWorld.
772 // This method returns an empty context if the frame is already detached. 772 // This method returns an empty context if the frame is already detached.
773 v8::Local<v8::Context> toV8Context(v8::Isolate*, LocalFrame*, DOMWrapperWorld&); 773 v8::Local<v8::Context> toV8Context(LocalFrame*, DOMWrapperWorld&);
774 774
775 // Returns the frame object of the window object associated with 775 // Returns the frame object of the window object associated with
776 // a context, if the window is currently being displayed in the LocalFrame. 776 // a context, if the window is currently being displayed in the LocalFrame.
777 LocalFrame* toFrameIfNotDetached(v8::Handle<v8::Context>); 777 LocalFrame* toFrameIfNotDetached(v8::Handle<v8::Context>);
778 778
779 // If the current context causes out of memory, JavaScript setting 779 // If the current context causes out of memory, JavaScript setting
780 // is disabled and it returns true. 780 // is disabled and it returns true.
781 bool handleOutOfMemory(); 781 bool handleOutOfMemory();
782 v8::Local<v8::Value> handleMaxRecursionDepthExceeded(v8::Isolate*); 782 v8::Local<v8::Value> handleMaxRecursionDepthExceeded(v8::Isolate*);
783 void crashIfV8IsDead(); 783 void crashIfV8IsDead();
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 m_block.Reset(); 960 m_block.Reset();
961 } 961 }
962 962
963 private: 963 private:
964 v8::TryCatch& m_block; 964 v8::TryCatch& m_block;
965 }; 965 };
966 966
967 } // namespace WebCore 967 } // namespace WebCore
968 968
969 #endif // V8Binding_h 969 #endif // V8Binding_h
OLDNEW
« no previous file with comments | « Source/bindings/v8/ScriptState.cpp ('k') | Source/bindings/v8/V8Binding.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698