summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/webkit_forwarding.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/shared_impl/webkit_forwarding.cc')
-rw-r--r--ppapi/shared_impl/webkit_forwarding.cc36
1 files changed, 36 insertions, 0 deletions
diff --git a/ppapi/shared_impl/webkit_forwarding.cc b/ppapi/shared_impl/webkit_forwarding.cc
new file mode 100644
index 0000000..02573f8
--- /dev/null
+++ b/ppapi/shared_impl/webkit_forwarding.cc
@@ -0,0 +1,36 @@
+// Copyright (c) 2011 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 "ppapi/shared_impl/webkit_forwarding.h"
+
+namespace pp {
+namespace shared_impl {
+
+WebKitForwarding::Font::DrawTextParams::DrawTextParams(
+ skia::PlatformCanvas* destination_arg,
+ const TextRun& text_arg,
+ const PP_Point* position_arg,
+ uint32_t color_arg,
+ const PP_Rect* clip_arg,
+ PP_Bool image_data_is_opaque_arg)
+ : destination(destination_arg),
+ text(text_arg),
+ position(position_arg),
+ color(color_arg),
+ clip(clip_arg),
+ image_data_is_opaque(image_data_is_opaque_arg) {
+}
+
+WebKitForwarding::Font::DrawTextParams::~DrawTextParams() {
+}
+
+WebKitForwarding::Font::~Font() {
+}
+
+WebKitForwarding::~WebKitForwarding() {
+}
+
+} // namespace shared_impl
+} // namespace pp
+