Commit 2ebe3671 authored by slangley's avatar slangley Committed by Commit bot

Move SharedWorkerRepositoryClientImpl from web/ to core/exported/.

SharedWorkerRepositoryClientImpl implements classes defined in public/web/
(WebSharedWorkerConnectListener, WebSharedWorkerRepositoryClient) so it is being
moved to core/exported.

SharedWorkerRepositoryClientImpl.cpp did include WebLocalFrameImpl but luckily
enough didn't use it so we could just break this dependency.

BUG=708879

Review-Url: https://codereview.chromium.org/2833693002
Cr-Commit-Position: refs/heads/master@{#468274}
parent 7f022a2c
...@@ -5,6 +5,8 @@ import("//third_party/WebKit/Source/core/core.gni") ...@@ -5,6 +5,8 @@ import("//third_party/WebKit/Source/core/core.gni")
blink_core_sources("exported") { blink_core_sources("exported") {
sources = [ sources = [
"SharedWorkerRepositoryClientImpl.cpp",
"SharedWorkerRepositoryClientImpl.h",
"WebAssociatedURLLoaderImpl.cpp", "WebAssociatedURLLoaderImpl.cpp",
"WebAssociatedURLLoaderImpl.h", "WebAssociatedURLLoaderImpl.h",
"WebBlob.cpp", "WebBlob.cpp",
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "web/SharedWorkerRepositoryClientImpl.h" #include "core/exported/SharedWorkerRepositoryClientImpl.h"
#include <memory> #include <memory>
#include <utility> #include <utility>
...@@ -44,13 +44,11 @@ ...@@ -44,13 +44,11 @@
#include "public/platform/WebMessagePortChannel.h" #include "public/platform/WebMessagePortChannel.h"
#include "public/platform/WebString.h" #include "public/platform/WebString.h"
#include "public/platform/WebURL.h" #include "public/platform/WebURL.h"
#include "public/web/WebFrameClient.h"
#include "public/web/WebKit.h" #include "public/web/WebKit.h"
#include "public/web/WebSharedWorker.h" #include "public/web/WebSharedWorker.h"
#include "public/web/WebSharedWorkerConnectListener.h" #include "public/web/WebSharedWorkerConnectListener.h"
#include "public/web/WebSharedWorkerCreationErrors.h" #include "public/web/WebSharedWorkerCreationErrors.h"
#include "public/web/WebSharedWorkerRepositoryClient.h" #include "public/web/WebSharedWorkerRepositoryClient.h"
#include "web/WebLocalFrameImpl.h"
namespace blink { namespace blink {
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#define SharedWorkerRepositoryClientImpl_h #define SharedWorkerRepositoryClientImpl_h
#include <memory> #include <memory>
#include "core/CoreExport.h"
#include "core/workers/SharedWorkerRepositoryClient.h" #include "core/workers/SharedWorkerRepositoryClient.h"
#include "platform/wtf/Noncopyable.h" #include "platform/wtf/Noncopyable.h"
#include "platform/wtf/PassRefPtr.h" #include "platform/wtf/PassRefPtr.h"
...@@ -41,7 +42,7 @@ namespace blink { ...@@ -41,7 +42,7 @@ namespace blink {
class WebSharedWorkerRepositoryClient; class WebSharedWorkerRepositoryClient;
class SharedWorkerRepositoryClientImpl final class CORE_EXPORT SharedWorkerRepositoryClientImpl final
: public SharedWorkerRepositoryClient { : public SharedWorkerRepositoryClient {
WTF_MAKE_NONCOPYABLE(SharedWorkerRepositoryClientImpl); WTF_MAKE_NONCOPYABLE(SharedWorkerRepositoryClientImpl);
USING_FAST_MALLOC(SharedWorkerRepositoryClientImpl); USING_FAST_MALLOC(SharedWorkerRepositoryClientImpl);
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#ifndef SharedWorkerRepositoryClient_h #ifndef SharedWorkerRepositoryClient_h
#define SharedWorkerRepositoryClient_h #define SharedWorkerRepositoryClient_h
#include "core/CoreExport.h"
#include "platform/heap/Handle.h" #include "platform/heap/Handle.h"
#include "platform/wtf/Forward.h" #include "platform/wtf/Forward.h"
#include "platform/wtf/Noncopyable.h" #include "platform/wtf/Noncopyable.h"
...@@ -42,7 +43,7 @@ class Document; ...@@ -42,7 +43,7 @@ class Document;
class KURL; class KURL;
class SharedWorker; class SharedWorker;
class SharedWorkerRepositoryClient { class CORE_EXPORT SharedWorkerRepositoryClient {
WTF_MAKE_NONCOPYABLE(SharedWorkerRepositoryClient); WTF_MAKE_NONCOPYABLE(SharedWorkerRepositoryClient);
DISALLOW_NEW(); DISALLOW_NEW();
......
...@@ -106,8 +106,6 @@ component("web") { ...@@ -106,8 +106,6 @@ component("web") {
"ServiceWorkerGlobalScopeClientImpl.h", "ServiceWorkerGlobalScopeClientImpl.h",
"ServiceWorkerGlobalScopeProxy.cpp", "ServiceWorkerGlobalScopeProxy.cpp",
"ServiceWorkerGlobalScopeProxy.h", "ServiceWorkerGlobalScopeProxy.h",
"SharedWorkerRepositoryClientImpl.cpp",
"SharedWorkerRepositoryClientImpl.h",
"SpeechRecognitionClientProxy.cpp", "SpeechRecognitionClientProxy.cpp",
"SpeechRecognitionClientProxy.h", "SpeechRecognitionClientProxy.h",
"SpellCheckerClientImpl.cpp", "SpellCheckerClientImpl.cpp",
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include "core/events/MessageEvent.h" #include "core/events/MessageEvent.h"
#include "core/events/MouseEvent.h" #include "core/events/MouseEvent.h"
#include "core/events/UIEventWithKeyState.h" #include "core/events/UIEventWithKeyState.h"
#include "core/exported/SharedWorkerRepositoryClientImpl.h"
#include "core/exported/WebDataSourceImpl.h" #include "core/exported/WebDataSourceImpl.h"
#include "core/exported/WebViewBase.h" #include "core/exported/WebViewBase.h"
#include "core/frame/FrameView.h" #include "core/frame/FrameView.h"
...@@ -101,7 +102,6 @@ ...@@ -101,7 +102,6 @@
#include "public/web/WebViewClient.h" #include "public/web/WebViewClient.h"
#include "v8/include/v8.h" #include "v8/include/v8.h"
#include "web/DevToolsEmulator.h" #include "web/DevToolsEmulator.h"
#include "web/SharedWorkerRepositoryClientImpl.h"
#include "web/WebDevToolsAgentImpl.h" #include "web/WebDevToolsAgentImpl.h"
#include "web/WebDevToolsFrontendImpl.h" #include "web/WebDevToolsFrontendImpl.h"
#include "web/WebLocalFrameImpl.h" #include "web/WebLocalFrameImpl.h"
......
...@@ -121,6 +121,7 @@ ...@@ -121,6 +121,7 @@
#include "core/editing/markers/DocumentMarkerController.h" #include "core/editing/markers/DocumentMarkerController.h"
#include "core/editing/serializers/Serialization.h" #include "core/editing/serializers/Serialization.h"
#include "core/editing/spellcheck/SpellChecker.h" #include "core/editing/spellcheck/SpellChecker.h"
#include "core/exported/SharedWorkerRepositoryClientImpl.h"
#include "core/exported/WebAssociatedURLLoaderImpl.h" #include "core/exported/WebAssociatedURLLoaderImpl.h"
#include "core/exported/WebDataSourceImpl.h" #include "core/exported/WebDataSourceImpl.h"
#include "core/exported/WebViewBase.h" #include "core/exported/WebViewBase.h"
...@@ -224,7 +225,6 @@ ...@@ -224,7 +225,6 @@
#include "public/web/WebTreeScopeType.h" #include "public/web/WebTreeScopeType.h"
#include "skia/ext/platform_canvas.h" #include "skia/ext/platform_canvas.h"
#include "web/RemoteFrameOwner.h" #include "web/RemoteFrameOwner.h"
#include "web/SharedWorkerRepositoryClientImpl.h"
#include "web/TextCheckerClientImpl.h" #include "web/TextCheckerClientImpl.h"
#include "web/TextFinder.h" #include "web/TextFinder.h"
#include "web/WebDevToolsAgentImpl.h" #include "web/WebDevToolsAgentImpl.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment