Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
|
Sami
2014/09/03 19:04:58
Intentional? It's 2014 by the way :)
mkosiba (inactive)
2014/09/04 11:31:22
Done.
| |
| 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 "ui/gfx/android/java_bitmap.h" | 5 #include "ui/gfx/android/java_bitmap.h" |
| 6 | 6 |
| 7 #include <android/bitmap.h> | 7 #include <android/bitmap.h> |
| 8 | 8 |
| 9 #include "base/android/jni_string.h" | 9 #include "base/android/jni_string.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "jni/BitmapHelper_jni.h" | 11 #include "jni/BitmapHelper_jni.h" |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 142 return kN32_SkColorType; | 142 return kN32_SkColorType; |
| 143 case BITMAP_FORMAT_RGB_565: | 143 case BITMAP_FORMAT_RGB_565: |
| 144 return kRGB_565_SkColorType; | 144 return kRGB_565_SkColorType; |
| 145 case BITMAP_FORMAT_NO_CONFIG: | 145 case BITMAP_FORMAT_NO_CONFIG: |
| 146 default: | 146 default: |
| 147 return kUnknown_SkColorType; | 147 return kUnknown_SkColorType; |
| 148 } | 148 } |
| 149 } | 149 } |
| 150 | 150 |
| 151 } // namespace gfx | 151 } // namespace gfx |
| OLD | NEW |