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

Unified Diff: content/public/common/top_controls_state.h

Issue 625543002: Revert of Use the new java_cpp_enum rule in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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: content/public/common/top_controls_state.h
diff --git a/content/public/common/top_controls_state.h b/content/public/common/top_controls_state.h
index 7f71e6e451a11484c7bf84317fe2a6199cb1f1ca..31535a0d8fb6aa85fc30744c4f9aa15529f8e6b9 100644
--- a/content/public/common/top_controls_state.h
+++ b/content/public/common/top_controls_state.h
@@ -7,12 +7,10 @@
namespace content {
-// A Java counterpart will be generated for this enum.
-// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.content_public.common
enum TopControlsState {
- TOP_CONTROLS_STATE_SHOWN = 1,
- TOP_CONTROLS_STATE_HIDDEN = 2,
- TOP_CONTROLS_STATE_BOTH = 3,
+#define DEFINE_TOP_CONTROLS_STATE(name, value) name = value,
+#include "content/public/common/top_controls_state_list.h"
+#undef DEFINE_TOP_CONTROLS_STATE
};
} // namespace content
« no previous file with comments | « content/public/common/speech_recognition_error_list.h ('k') | content/public/common/top_controls_state_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698