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

Side by Side Diff: sky/engine/bindings/core/v8/ScriptController.h

Issue 723583002: Make the parser an implementation detail of the Document (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rename textPosition to parserPosition 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
« no previous file with comments | « no previous file | sky/engine/bindings/core/v8/ScriptController.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) 2008, 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2008, 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // FIXME: Get rid of extensionGroup here. 84 // FIXME: Get rid of extensionGroup here.
85 void executeScriptInIsolatedWorld(int worldID, const Vector<ScriptSourceCode >& sources, int extensionGroup, Vector<v8::Local<v8::Value> >* results); 85 void executeScriptInIsolatedWorld(int worldID, const Vector<ScriptSourceCode >& sources, int extensionGroup, Vector<v8::Local<v8::Value> >* results);
86 86
87 v8::Local<v8::Value> callFunction(v8::Handle<v8::Function>, v8::Handle<v8::V alue>, int argc, v8::Handle<v8::Value> argv[]); 87 v8::Local<v8::Value> callFunction(v8::Handle<v8::Function>, v8::Handle<v8::V alue>, int argc, v8::Handle<v8::Value> argv[]);
88 static v8::Local<v8::Value> callFunction(ExecutionContext*, v8::Handle<v8::F unction>, v8::Handle<v8::Value> receiver, int argc, v8::Handle<v8::Value> info[] , v8::Isolate*); 88 static v8::Local<v8::Value> callFunction(ExecutionContext*, v8::Handle<v8::F unction>, v8::Handle<v8::Value> receiver, int argc, v8::Handle<v8::Value> info[] , v8::Isolate*);
89 89
90 static bool canAccessFromCurrentOrigin(LocalFrame*); 90 static bool canAccessFromCurrentOrigin(LocalFrame*);
91 91
92 static void setCaptureCallStackForUncaughtExceptions(bool); 92 static void setCaptureCallStackForUncaughtExceptions(bool);
93 93
94 TextPosition eventHandlerPosition() const;
95
96 void clearWindowProxy(); 94 void clearWindowProxy();
97 void updateDocument(); 95 void updateDocument();
98 96
99 void clearForClose(); 97 void clearForClose();
100 98
101 // Registers a v8 extension to be available on webpages. Will only 99 // Registers a v8 extension to be available on webpages. Will only
102 // affect v8 contexts initialized after this call. Takes ownership of 100 // affect v8 contexts initialized after this call. Takes ownership of
103 // the v8::Extension object passed. 101 // the v8::Extension object passed.
104 static void registerExtensionIfNeeded(v8::Extension*); 102 static void registerExtensionIfNeeded(v8::Extension*);
105 static V8Extensions& registeredExtensions(); 103 static V8Extensions& registeredExtensions();
(...skipping 11 matching lines...) Expand all
117 const String* m_sourceURL; 115 const String* m_sourceURL;
118 v8::Isolate* m_isolate; 116 v8::Isolate* m_isolate;
119 117
120 OwnPtr<WindowProxy> m_windowProxy; 118 OwnPtr<WindowProxy> m_windowProxy;
121 IsolatedWorldMap m_isolatedWorlds; 119 IsolatedWorldMap m_isolatedWorlds;
122 }; 120 };
123 121
124 } // namespace blink 122 } // namespace blink
125 123
126 #endif // ScriptController_h 124 #endif // ScriptController_h
OLDNEW
« no previous file with comments | « no previous file | sky/engine/bindings/core/v8/ScriptController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698