Chromium Code Reviews| Index: ui/base/window_open_disposition.h |
| diff --git a/ui/base/window_open_disposition.h b/ui/base/window_open_disposition.h |
| index 74fcfbe11401a8dea4de6c4bf1bb9f37323fea4f..f6dc4fb982128bfe6a8a22996c5c0b003f74e7aa 100644 |
| --- a/ui/base/window_open_disposition.h |
| +++ b/ui/base/window_open_disposition.h |
| @@ -9,7 +9,7 @@ |
| // A Java counterpart will be generated for this enum. |
| // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.ui |
|
Nico
2016/08/30 18:18:39
does GENERATED_JAVA_ENUM_PACKAGE work with enum cl
ncarter (slow)
2016/08/31 17:00:10
Yes, it works (it works with enum struct, too). Th
|
| -enum WindowOpenDisposition { |
| +enum class WindowOpenDisposition { |
| UNKNOWN, |
| CURRENT_TAB, |
| // Indicates that only one tab with the url should exist in the same window. |
| @@ -22,7 +22,7 @@ enum WindowOpenDisposition { |
| OFF_THE_RECORD, |
| IGNORE_ACTION, |
| // Update when adding a new disposition. |
| - WINDOW_OPEN_DISPOSITION_LAST = IGNORE_ACTION |
| + MAX_VALUE = IGNORE_ACTION |
| }; |
| namespace ui { |