summaryrefslogtreecommitdiffstats
path: root/webkit/child
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-12 17:44:22 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-12 17:44:22 +0000
commitaaf8c308e9b5ca0ad771d9f6f6b951d03268d4b2 (patch)
tree2a2d4e7fc04799294c3fe479c9e14d7818d278ab /webkit/child
parente9673d51f0ec596ecbdfa3d0517952e7c3e6bcf5 (diff)
downloadchromium_src-aaf8c308e9b5ca0ad771d9f6f6b951d03268d4b2.zip
chromium_src-aaf8c308e9b5ca0ad771d9f6f6b951d03268d4b2.tar.gz
chromium_src-aaf8c308e9b5ca0ad771d9f6f6b951d03268d4b2.tar.bz2
stub webkit/child/ and webkitplatformsupport_child_impl for transition
Do-nothing for in separating webkit/glue/webkitlatformsupport_impl. glue_child depends on glue for now of course. TBR=jamesr@chromium.org BUG=237249 Review URL: https://codereview.chromium.org/16370007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205859 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/child')
-rw-r--r--webkit/child/webkit_child_export.h29
-rw-r--r--webkit/child/webkitplatformsupport_child_impl.cc15
-rw-r--r--webkit/child/webkitplatformsupport_child_impl.h22
3 files changed, 66 insertions, 0 deletions
diff --git a/webkit/child/webkit_child_export.h b/webkit/child/webkit_child_export.h
new file mode 100644
index 0000000..41ab504
--- /dev/null
+++ b/webkit/child/webkit_child_export.h
@@ -0,0 +1,29 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WEBKIT_CHILD_WEBKIT_CHILD_EXPORT_H_
+#define WEBKIT_CHILD_WEBKIT_CHILD_EXPORT_H_
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(WEBKIT_CHILD_IMPLEMENTATION)
+#define WEBKIT_CHILD_EXPORT __declspec(dllexport)
+#else
+#define WEBKIT_CHILD_EXPORT __declspec(dllimport)
+#endif // defined(WEBKIT_CHILD_IMPLEMENTATION)
+
+#else // defined(WIN32)
+#if defined(WEBKIT_CHILD_IMPLEMENTATION)
+#define WEBKIT_CHILD_EXPORT __attribute__((visibility("default")))
+#else
+#define WEBKIT_CHILD_EXPORT
+#endif
+#endif
+
+#else // defined(COMPONENT_BUILD)
+#define WEBKIT_CHILD_EXPORT
+#endif
+
+#endif // WEBKIT_CHILD_WEBKIT_CHILD_EXPORT_H_
diff --git a/webkit/child/webkitplatformsupport_child_impl.cc b/webkit/child/webkitplatformsupport_child_impl.cc
new file mode 100644
index 0000000..b9a0662
--- /dev/null
+++ b/webkit/child/webkitplatformsupport_child_impl.cc
@@ -0,0 +1,15 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "webkit/child/webkitplatformsupport_child_impl.h"
+
+namespace webkit_glue {
+
+WebKitPlatformSupportChildImpl::WebKitPlatformSupportChildImpl() {
+}
+
+WebKitPlatformSupportChildImpl::~WebKitPlatformSupportChildImpl() {
+}
+
+} // namespace webkit_glue
diff --git a/webkit/child/webkitplatformsupport_child_impl.h b/webkit/child/webkitplatformsupport_child_impl.h
new file mode 100644
index 0000000..4589906
--- /dev/null
+++ b/webkit/child/webkitplatformsupport_child_impl.h
@@ -0,0 +1,22 @@
+// // Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_
+#define WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_
+
+#include "webkit/child/webkit_child_export.h"
+#include "webkit/glue/webkitplatformsupport_impl.h"
+
+namespace webkit_glue {
+
+class WEBKIT_CHILD_EXPORT WebKitPlatformSupportChildImpl :
+ public WebKitPlatformSupportImpl {
+ public:
+ WebKitPlatformSupportChildImpl();
+ virtual ~WebKitPlatformSupportChildImpl();
+};
+
+} // namespace webkit_glue
+
+#endif // WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_