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

Side by Side Diff: Source/web/WebWorkerClientImpl.cpp

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebWorkerClientImpl.h ('k') | Source/web/WebWorkerInfo.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #include "WebViewImpl.h" 45 #include "WebViewImpl.h"
46 #include "WorkerFileSystemClient.h" 46 #include "WorkerFileSystemClient.h"
47 #include "WorkerPermissionClient.h" 47 #include "WorkerPermissionClient.h"
48 #include "public/platform/WebString.h" 48 #include "public/platform/WebString.h"
49 #include "public/web/WebFrameClient.h" 49 #include "public/web/WebFrameClient.h"
50 #include "public/web/WebSecurityOrigin.h" 50 #include "public/web/WebSecurityOrigin.h"
51 #include "public/web/WebWorkerPermissionClientProxy.h" 51 #include "public/web/WebWorkerPermissionClientProxy.h"
52 52
53 using namespace WebCore; 53 using namespace WebCore;
54 54
55 namespace WebKit { 55 namespace blink {
56 56
57 // Chromium-specific decorator of WorkerMessagingProxy. 57 // Chromium-specific decorator of WorkerMessagingProxy.
58 58
59 // static 59 // static
60 WorkerGlobalScopeProxy* WebWorkerClientImpl::createWorkerGlobalScopeProxy(Worker * worker) 60 WorkerGlobalScopeProxy* WebWorkerClientImpl::createWorkerGlobalScopeProxy(Worker * worker)
61 { 61 {
62 if (worker->executionContext()->isDocument()) { 62 if (worker->executionContext()->isDocument()) {
63 Document* document = toDocument(worker->executionContext()); 63 Document* document = toDocument(worker->executionContext());
64 WebFrameImpl* webFrame = WebFrameImpl::fromFrame(document->frame()); 64 WebFrameImpl* webFrame = WebFrameImpl::fromFrame(document->frame());
65 OwnPtr<WorkerClients> workerClients = WorkerClients::create(); 65 OwnPtr<WorkerClients> workerClients = WorkerClients::create();
(...skipping 15 matching lines...) Expand all
81 WebWorkerClientImpl::WebWorkerClientImpl(Worker* worker, WebFrameImpl* webFrame, PassOwnPtr<WorkerClients> workerClients) 81 WebWorkerClientImpl::WebWorkerClientImpl(Worker* worker, WebFrameImpl* webFrame, PassOwnPtr<WorkerClients> workerClients)
82 : WebCore::WorkerMessagingProxy(worker, workerClients) 82 : WebCore::WorkerMessagingProxy(worker, workerClients)
83 , m_webFrame(webFrame) 83 , m_webFrame(webFrame)
84 { 84 {
85 } 85 }
86 86
87 WebWorkerClientImpl::~WebWorkerClientImpl() 87 WebWorkerClientImpl::~WebWorkerClientImpl()
88 { 88 {
89 } 89 }
90 90
91 } // namespace WebKit 91 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebWorkerClientImpl.h ('k') | Source/web/WebWorkerInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698