OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 package org.chromium.ui; | |
6 | |
7 /** | |
8 * Color suggestion container used to store information for each color button th at will be shown in | |
9 * the simple color picker.. | |
10 */ | |
11 public class ColorSuggestion { | |
12 final int mColor; | |
13 final String mLabel; | |
newt (away)
2013/08/29 05:35:33
is this guaranteed non-null? if so, mention that h
| |
14 | |
15 /** | |
16 * Constructs a color suggestion container. | |
17 * @param color The suggested color. | |
18 * @param label The label for the suggestion. | |
19 */ | |
20 public ColorSuggestion(int color, String label) { | |
21 mColor = color; | |
22 mLabel = label; | |
23 } | |
24 } | |
OLD | NEW |