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

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: Address comments and sync 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
« no previous file with comments | « ui/base/theme_provider.h ('k') | ui/gfx/native_theme_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4c3684a990190e6bef0e2a22bf0b2dd386a0bd14
--- /dev/null
+++ b/ui/gfx/canvas_skia_android.cc
@@ -0,0 +1,32 @@
+// 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 "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
« no previous file with comments | « ui/base/theme_provider.h ('k') | ui/gfx/native_theme_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698