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

Side by Side Diff: WebCore/dom/WorkerContext.cpp

Issue 28077: WebKit side of merge from r41149 to r41181. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/WebKit/
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
« no previous file with comments | « WebCore/dom/Element.cpp ('k') | WebCore/dom/WorkerRunLoop.h » ('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 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2009 Google Inc. All Rights Reserved. 3 * Copyright (C) 2009 Google Inc. 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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 22 matching lines...) Expand all
33 33
34 #include "ActiveDOMObject.h" 34 #include "ActiveDOMObject.h"
35 #include "DOMTimer.h" 35 #include "DOMTimer.h"
36 #include "DOMWindow.h" 36 #include "DOMWindow.h"
37 #include "Event.h" 37 #include "Event.h"
38 #include "EventException.h" 38 #include "EventException.h"
39 #include "MessageEvent.h" 39 #include "MessageEvent.h"
40 #include "NotImplemented.h" 40 #include "NotImplemented.h"
41 #include "SecurityOrigin.h" 41 #include "SecurityOrigin.h"
42 #include "WorkerLocation.h" 42 #include "WorkerLocation.h"
43 #include "WorkerMessagingProxy.h"
44 #include "WorkerNavigator.h" 43 #include "WorkerNavigator.h"
44 #include "WorkerObjectProxy.h"
45 #include "WorkerThread.h" 45 #include "WorkerThread.h"
46 #include <wtf/RefPtr.h> 46 #include <wtf/RefPtr.h>
47 47
48 namespace WebCore { 48 namespace WebCore {
49 49
50 WorkerContext::WorkerContext(const KURL& url, const String& userAgent, WorkerThr ead* thread) 50 WorkerContext::WorkerContext(const KURL& url, const String& userAgent, WorkerThr ead* thread)
51 : m_url(url) 51 : m_url(url)
52 , m_userAgent(userAgent) 52 , m_userAgent(userAgent)
53 , m_location(WorkerLocation::create(url)) 53 , m_location(WorkerLocation::create(url))
54 , m_script(new WorkerScriptController(this)) 54 , m_script(new WorkerScriptController(this))
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 dispatchEvent(evt.release(), ec); 213 dispatchEvent(evt.release(), ec);
214 ASSERT(!ec); 214 ASSERT(!ec);
215 } 215 }
216 216
217 } // namespace WebCore 217 } // namespace WebCore
218 218
219 #endif // ENABLE(WORKERS) 219 #endif // ENABLE(WORKERS)
220 220
221 221
222 222
OLDNEW
« no previous file with comments | « WebCore/dom/Element.cpp ('k') | WebCore/dom/WorkerRunLoop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698