| Index: ui/android/java/src/org/chromium/ui/DropdownItem.java
|
| diff --git a/ui/android/java/src/org/chromium/ui/DropdownItem.java b/ui/android/java/src/org/chromium/ui/DropdownItem.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..46d8d0e215318974131233e888892e772f7f0492
|
| --- /dev/null
|
| +++ b/ui/android/java/src/org/chromium/ui/DropdownItem.java
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +package org.chromium.ui;
|
| +
|
| +/**
|
| + * Dropdown item interface used to access all the information needed to show the item.
|
| + */
|
| +public interface DropdownItem {
|
| + /**
|
| + * Returns the label that should be shown in the dropdown.
|
| + */
|
| + String getLabel();
|
| + /**
|
| + * Returns the sublabel that should be shown in the dropdown.
|
| + */
|
| + String getSublabel();
|
| + /**
|
| + * Returns true if the item should be enabled in the dropdown.
|
| + */
|
| + boolean isEnabled();
|
| + /**
|
| + * Returns true if the item should be a group header in the dropdown.
|
| + */
|
| + boolean isGroupHeader();
|
| +}
|
|
|