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

Unified Diff: ui/gfx/canvas_android.cc

Issue 22835002: Supports gfx::FontList in gfx::Canvas and ui::ElideText family. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adds canvas_ios.mm and removes canvas_android.cc. Created 7 years, 4 months 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_android.cc
diff --git a/ui/gfx/canvas_android.cc b/ui/gfx/canvas_android.cc
deleted file mode 100644
index c26a668f1d466ba805125e9dd06f77faa9f70f16..0000000000000000000000000000000000000000
--- a/ui/gfx/canvas_android.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 2012 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.h"
-
-#include "base/logging.h"
-#include "ui/gfx/font.h"
-
-namespace gfx {
-
-// static
-void Canvas::SizeStringInt(const base::string16& text,
- const gfx::Font& font,
- int* width,
- int* height,
- int line_height,
- int flags) {
- NOTIMPLEMENTED();
-}
-
-void Canvas::DrawStringWithShadows(const base::string16& text,
- const gfx::Font& font,
- SkColor color,
- const gfx::Rect& text_bounds,
- int line_height,
- int flags,
- const ShadowValues& shadows) {
- NOTIMPLEMENTED();
-}
-
-} // namespace gfx
« ui/gfx/canvas.cc ('K') | « ui/gfx/canvas.cc ('k') | ui/gfx/canvas_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698