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

Unified Diff: webkit/pending/Node.h

Issue 4097: Implement better JS exception handling by abstracting KJS::ExecState into an ... (Closed) Base URL: svn://chrome-svn/chrome/branches/chrome_webkit_merge_branch/
Patch Set: '' Created 12 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/pending/NSResolver.h ('k') | webkit/pending/Node.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/pending/Node.h
===================================================================
--- webkit/pending/Node.h (revision 2614)
+++ webkit/pending/Node.h (working copy)
@@ -56,6 +56,7 @@
class RenderObject;
class RenderStyle;
class StringBuilder;
+class ExceptionContext;
struct NodeListsNodeData;
@@ -480,15 +481,12 @@
PassRefPtr<NodeList> getElementsByName(const String& elementName);
PassRefPtr<NodeList> getElementsByClassName(const String& classNames);
-#if USE(JSC)
- PassRefPtr<Element> querySelector(const String& selectors, NSResolver*, ExceptionCode&, KJS::ExecState*);
- PassRefPtr<NodeList> querySelectorAll(const String& selectors, NSResolver*, ExceptionCode&, KJS::ExecState*);
-
+ PassRefPtr<Element> querySelector(const String& selectors, NSResolver*, ExceptionCode&, ExceptionContext*);
+ PassRefPtr<NodeList> querySelectorAll(const String& selectors, NSResolver*, ExceptionCode&, ExceptionContext*);
// For non-JS bindings. Silently ignores the JavaScript exception if any.
// FIXME: We should support the NSResolver interface for non-JS bindings.
PassRefPtr<Element> querySelector(const String& selectors, ExceptionCode&);
PassRefPtr<NodeList> querySelectorAll(const String& selectors, ExceptionCode&);
-#endif
unsigned short compareDocumentPosition(Node*);
« no previous file with comments | « webkit/pending/NSResolver.h ('k') | webkit/pending/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698