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

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

Issue 2398543003: Move Android view based ColorPicker from ui/ to components/ (Closed)
Patch Set: add owners Created 4 years, 1 month 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
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698