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

Side by Side Diff: WebCore/workers/WorkerContext.idl

Issue 602013: Implement Web Worker access to the SQL database. (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/
Patch Set: '' Created 10 years, 10 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
« no previous file with comments | « WebCore/workers/WorkerContext.cpp ('k') | no next file » | 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 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT 42 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
43 attribute [Replaceable] WorkerContext self; 43 attribute [Replaceable] WorkerContext self;
44 #endif 44 #endif
45 attribute [Replaceable] WorkerLocation location; 45 attribute [Replaceable] WorkerLocation location;
46 void close(); 46 void close();
47 attribute EventListener onerror; 47 attribute EventListener onerror;
48 48
49 // WorkerUtils 49 // WorkerUtils
50 [Custom] void importScripts(/*[Variadic] in DOMString urls */); 50 [Custom] void importScripts(/*[Variadic] in DOMString urls */);
51 attribute [Replaceable] WorkerNavigator navigator; 51 attribute [Replaceable] WorkerNavigator navigator;
52 // Database openDatabase(in DOMString name, in DOMString version, in DOM String displayName, in unsigned long estimatedSize); 52 #if defined(ENABLE_DATABASE) && ENABLE_DATABASE
53 [EnabledAtRuntime] Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize)
54 raises(DOMException);
55 #endif
53 // DatabaseSync openDatabaseSync(in DOMString name, in DOMString version , in DOMString displayName, in unsigned long estimatedSize); 56 // DatabaseSync openDatabaseSync(in DOMString name, in DOMString version , in DOMString displayName, in unsigned long estimatedSize);
54 57
55 // Timers 58 // Timers
56 [Custom] long setTimeout(in TimeoutHandler handler, in long timeout); 59 [Custom] long setTimeout(in TimeoutHandler handler, in long timeout);
57 // [Custom] long setTimeout(in DOMString code, in long timeout); 60 // [Custom] long setTimeout(in DOMString code, in long timeout);
58 void clearTimeout(in long handle); 61 void clearTimeout(in long handle);
59 [Custom] long setInterval(in TimeoutHandler handler, in long timeout); 62 [Custom] long setInterval(in TimeoutHandler handler, in long timeout);
60 // [Custom] long setInterval(in DOMString code, in long timeout); 63 // [Custom] long setInterval(in DOMString code, in long timeout);
61 void clearInterval(in long handle); 64 void clearInterval(in long handle);
62 65
(...skipping 23 matching lines...) Expand all
86 #if ENABLE_EVENTSOURCE 89 #if ENABLE_EVENTSOURCE
87 attribute [JSCCustomGetter] EventSourceConstructor EventSource; 90 attribute [JSCCustomGetter] EventSourceConstructor EventSource;
88 #endif 91 #endif
89 attribute [JSCCustomGetter] XMLHttpRequestConstructor XMLHttpRequest; 92 attribute [JSCCustomGetter] XMLHttpRequestConstructor XMLHttpRequest;
90 #if defined(ENABLE_WEB_SOCKETS) && ENABLE_WEB_SOCKETS 93 #if defined(ENABLE_WEB_SOCKETS) && ENABLE_WEB_SOCKETS
91 attribute [JSCCustomGetter,EnabledAtRuntime] WebSocketConstructor WebSoc ket; // Usable with the new operator 94 attribute [JSCCustomGetter,EnabledAtRuntime] WebSocketConstructor WebSoc ket; // Usable with the new operator
92 #endif 95 #endif
93 }; 96 };
94 97
95 } 98 }
OLDNEW
« no previous file with comments | « WebCore/workers/WorkerContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698