Fix use_canvas_skia = 0

Review URL: https://codereview.chromium.org/382633002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285735 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ui/gfx/canvas_notimplemented.cc b/ui/gfx/canvas_notimplemented.cc
new file mode 100644
index 0000000..f31de5a
--- /dev/null
+++ b/ui/gfx/canvas_notimplemented.cc
@@ -0,0 +1,48 @@
+// Copyright 2014 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"
+
+namespace gfx {
+
+// static
+void Canvas::SizeStringFloat(const base::string16& text,
+                             const FontList& font_list,
+                             float* width,
+                             float* height,
+                             int line_height,
+                             int flags) {
+  NOTIMPLEMENTED();
+}
+
+void Canvas::DrawStringRectWithHalo(const base::string16& text,
+                                    const FontList& font_list,
+                                    SkColor text_color,
+                                    SkColor halo_color_in,
+                                    const Rect& display_rect,
+                                    int flags) {
+  NOTIMPLEMENTED();
+}
+
+void Canvas::DrawStringRectWithShadows(const base::string16& text,
+                                       const FontList& font_list,
+                                       SkColor color,
+                                       const Rect& text_bounds,
+                                       int line_height,
+                                       int flags,
+                                       const ShadowValues& shadows) {
+  NOTIMPLEMENTED();
+}
+
+void Canvas::DrawFadedString(const base::string16& text,
+                             const FontList& font_list,
+                             SkColor color,
+                             const Rect& display_rect,
+                             int flags) {
+   NOTIMPLEMENTED();
+}
+
+}  // namespace gfx