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

Side by Side Diff: third_party/WebKit/WebCore/dom/Worker.h

Issue 20076: WebKit merge 40500:40539 [WebKit side] (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | Annotate | Revision Log
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 29 matching lines...) Expand all
40 #include <wtf/RefPtr.h> 40 #include <wtf/RefPtr.h>
41 41
42 namespace WebCore { 42 namespace WebCore {
43 43
44 class CachedResource; 44 class CachedResource;
45 class CachedScript; 45 class CachedScript;
46 class Document; 46 class Document;
47 class ScriptExecutionContext; 47 class ScriptExecutionContext;
48 class String; 48 class String;
49 class WorkerMessagingProxy; 49 class WorkerMessagingProxy;
50 class WorkerTask;
51 50
52 typedef int ExceptionCode; 51 typedef int ExceptionCode;
53 52
54 class Worker : public RefCounted<Worker>, public ActiveDOMObject, private Ca chedResourceClient, public EventTarget { 53 class Worker : public RefCounted<Worker>, public ActiveDOMObject, private Ca chedResourceClient, public EventTarget {
55 public: 54 public:
56 static PassRefPtr<Worker> create(const String& url, Document* document, ExceptionCode& ec) { return adoptRef(new Worker(url, document, ec)); } 55 static PassRefPtr<Worker> create(const String& url, Document* document, ExceptionCode& ec) { return adoptRef(new Worker(url, document, ec)); }
57 ~Worker(); 56 ~Worker();
58 57
59 virtual ScriptExecutionContext* scriptExecutionContext() const { return ActiveDOMObject::scriptExecutionContext(); } 58 virtual ScriptExecutionContext* scriptExecutionContext() const { return ActiveDOMObject::scriptExecutionContext(); }
60 Document* document() const; 59 Document* document() const;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 EventListenersMap m_eventListeners; 105 EventListenersMap m_eventListeners;
107 }; 106 };
108 107
109 } // namespace WebCore 108 } // namespace WebCore
110 109
111 #endif // ENABLE(WORKERS) 110 #endif // ENABLE(WORKERS)
112 111
113 #endif // Worker_h 112 #endif // Worker_h
114 113
115 114
OLDNEW
« no previous file with comments | « third_party/WebKit/WebCore/dom/ScriptExecutionContext.cpp ('k') | third_party/WebKit/WebCore/dom/Worker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698