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

Unified Diff: ui/gfx/canvas_skia_android.cc

Issue 8497054: Upstream: ui implementation in Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: init Created 9 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 side-by-side diff with in-line comments
Download patch
Index: ui/gfx/canvas_skia_android.cc
diff --git a/ui/gfx/canvas_skia_android.cc b/ui/gfx/canvas_skia_android.cc
new file mode 100644
index 0000000000000000000000000000000000000000..deef0d9b75684359c8f835a13c4d22ce27b256f9
--- /dev/null
+++ b/ui/gfx/canvas_skia_android.cc
@@ -0,0 +1,32 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
sky 2011/11/10 00:41:01 2011
michaelbai 2011/11/10 22:51:36 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/gfx/canvas_skia.h"
+
+#include "base/logging.h"
+#include "ui/gfx/font.h"
+
+namespace gfx {
+
+// static
+void CanvasSkia::SizeStringInt(const string16& text,
+ const gfx::Font& font,
+ int* width, int* height, int flags) {
+ NOTIMPLEMENTED();
+}
+
+void CanvasSkia::DrawStringInt(const string16& text,
+ const gfx::Font& font,
+ const SkColor& color,
+ int x, int y, int w, int h,
+ int flags) {
+ NOTIMPLEMENTED();
+}
+
+ui::TextureID CanvasSkia::GetTextureID() {
+ NOTIMPLEMENTED();
+ return 0;
+}
+
+} // namespace gfx

Powered by Google App Engine
This is Rietveld 408576698