| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "gfx/canvas_skia.h" | 5 #include "gfx/canvas_skia.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "gfx/brush.h" |
| 11 #include "gfx/font.h" | 12 #include "gfx/font.h" |
| 12 #include "gfx/rect.h" | 13 #include "gfx/rect.h" |
| 13 #include "third_party/skia/include/effects/SkGradientShader.h" | 14 #include "third_party/skia/include/effects/SkGradientShader.h" |
| 14 | 15 |
| 15 #if defined(OS_WIN) | 16 #if defined(OS_WIN) |
| 16 #include "gfx/canvas_skia_paint.h" | 17 #include "gfx/canvas_skia_paint.h" |
| 17 #endif | 18 #endif |
| 18 | 19 |
| 19 namespace { | 20 namespace { |
| 20 | 21 |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 | 451 |
| 451 CanvasPaint* CanvasPaint::CreateCanvasPaint(gfx::NativeView view) { | 452 CanvasPaint* CanvasPaint::CreateCanvasPaint(gfx::NativeView view) { |
| 452 #if defined(OS_WIN) | 453 #if defined(OS_WIN) |
| 453 return new CanvasPaintWin(view); | 454 return new CanvasPaintWin(view); |
| 454 #else | 455 #else |
| 455 return NULL; | 456 return NULL; |
| 456 #endif | 457 #endif |
| 457 } | 458 } |
| 458 | 459 |
| 459 } // namespace gfx | 460 } // namespace gfx |
| OLD | NEW |