OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 package org.chromium.ui; | 5 package org.chromium.components.web_contents_delegate_android; |
6 | 6 |
7 /** | 7 /** |
8 * Color suggestion container used to store information for each color button th
at will be shown in | 8 * Color suggestion container used to store information for each color button th
at will be shown in |
9 * the simple color picker. | 9 * the simple color picker. |
10 */ | 10 */ |
11 public class ColorSuggestion { | 11 public class ColorSuggestion { |
12 final int mColor; | 12 final int mColor; |
13 final String mLabel; | 13 final String mLabel; |
14 | 14 |
15 /** | 15 /** |
16 * Constructs a color suggestion container. | 16 * Constructs a color suggestion container. |
17 * @param color The suggested color. | 17 * @param color The suggested color. |
18 * @param label The label for the suggestion. | 18 * @param label The label for the suggestion. |
19 */ | 19 */ |
20 public ColorSuggestion(int color, String label) { | 20 public ColorSuggestion(int color, String label) { |
21 mColor = color; | 21 mColor = color; |
22 mLabel = label; | 22 mLabel = label; |
23 } | 23 } |
24 } | 24 } |
OLD | NEW |