Index: ui/android/java/src/org/chromium/ui/OnColorSuggestionClickListener.java |
diff --git a/ui/android/java/src/org/chromium/ui/OnColorSuggestionClickListener.java b/ui/android/java/src/org/chromium/ui/OnColorSuggestionClickListener.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a2c1eefeceecb41c189d1c0f7ab1e70cc37c7716 |
--- /dev/null |
+++ b/ui/android/java/src/org/chromium/ui/OnColorSuggestionClickListener.java |
@@ -0,0 +1,17 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
newt (away)
2013/10/09 06:07:03
This interface could live inside ColorSuggestionLi
keishi
2013/10/15 16:44:02
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
newt (away)
2013/10/09 06:07:03
newline after copyright
|
+package org.chromium.ui; |
+ |
+/** |
+ * The callback used to indicate the user has clicked on a suggestion. |
+ */ |
+public interface OnColorSuggestionClickListener { |
+ |
+ /** |
+ * Called upon a click on a suggestion. |
+ * |
+ * @param suggestion The suggestion that was clicked. |
+ */ |
+ void onColorSuggestionClick(ColorSuggestion suggestion); |
+} |