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

Side by Side Diff: ui/gfx/android/java_bitmap.cc

Issue 484603004: New C++ -> Java enum build rule + parser/generator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed aosp bot and added gn rule Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« ui/gfx/android/java_bitmap.h ('K') | « ui/gfx/android/java_bitmap.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« ui/gfx/android/java_bitmap.h ('K') | « ui/gfx/android/java_bitmap.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698