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

Side by Side Diff: ui/android/java/src/org/chromium/ui/ColorSuggestion.java

Issue 23026006: Add support for color input datalist on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed Created 7 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
OLDNEW
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698