summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkit_client_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webkit_client_impl.cc')
-rw-r--r--webkit/glue/webkit_client_impl.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/webkit/glue/webkit_client_impl.cc b/webkit/glue/webkit_client_impl.cc
new file mode 100644
index 0000000..721dcde
--- /dev/null
+++ b/webkit/glue/webkit_client_impl.cc
@@ -0,0 +1,15 @@
+// Copyright (c) 2009 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/glue/webkit_client_impl.h"
+
+namespace webkit_glue {
+
+WebKit::WebClipboard* WebKitClientImpl::clipboard() {
+ if (!clipboard_.get())
+ clipboard_.reset(new WebClipboardImpl());
+ return clipboard_.get();
+}
+
+} // namespace webkit_glue