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

Unified Diff: ui/android/java/src/org/chromium/ui/DropdownItem.java

Issue 2496683003: Http Bad: Add a PopupItemId to identify http warning message (Closed)
Patch Set: minor change 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 side-by-side diff with in-line comments
Download patch
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
index dc4468c3fa04ba966352e8720e1ffefd02e72d29..9dba125f221c60f01f3e440fa19281c966dcfd38 100644
--- a/ui/android/java/src/org/chromium/ui/DropdownItem.java
+++ b/ui/android/java/src/org/chromium/ui/DropdownItem.java
@@ -35,4 +35,8 @@ public interface DropdownItem {
* Returns whether the label should be displayed over multiple lines.
*/
boolean isMultilineLabel();
+ /**
+ * Returns whether the item is a HTTP Bad warning message.
+ */
+ boolean isHttpWarningMessage();
Mathieu 2016/11/12 12:52:05 This is too specific for DropdownItem, SelectPopup
lshang 2016/11/14 10:51:01 As above, how about use a getType()?
}

Powered by Google App Engine
This is Rietveld 408576698