Chromium Code Reviews| 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. | |
|
newt (away)
2013/08/26 20:23:20
I'd mention this is for the color picker UI
keishi
2013/08/29 03:40:47
Done.
| |
| 9 */ | |
| 10 public class ColorSuggestion { | |
| 11 final int mValueAsColor; | |
| 12 final String mValueAsText; | |
| 13 final String mLabel; | |
| 14 | |
| 15 /** | |
| 16 * Constructs a color suggestion container. | |
| 17 * @param valueAsColor The suggested color. | |
| 18 * @param valueAsText The suggested color value as a string. | |
|
palmer
2013/08/26 20:38:01
Is this the *name* of the color, or a CSS value li
| |
| 19 * @param label The label for the suggestion. | |
| 20 */ | |
| 21 public ColorSuggestion(int valueAsColor, String valueAsText, String label) { | |
|
newt (away)
2013/08/26 20:23:20
what's the difference between "valueAsText" and "l
| |
| 22 mValueAsColor = valueAsColor; | |
| 23 mValueAsText = valueAsText; | |
| 24 mLabel = label; | |
| 25 } | |
| 26 } | |
| OLD | NEW |