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

Unified Diff: content/common/navigation_gesture.h

Issue 601153002: [src/content] Apply automatic range checks to enum types across IPC . (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments. Created 6 years, 3 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
« no previous file with comments | « no previous file | content/common/view_messages.h » ('j') | content/common/view_messages.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/navigation_gesture.h
diff --git a/content/common/navigation_gesture.h b/content/common/navigation_gesture.h
index 5040d715fc251067f80f884f76c8add3873e0022..2e7a0215891317f769035afe932956640ce777ee 100644
--- a/content/common/navigation_gesture.h
+++ b/content/common/navigation_gesture.h
@@ -16,6 +16,9 @@ enum NavigationGesture {
NavigationGestureAuto,
// Initial state.
NavigationGestureUnknown,
+
+ NavigationGestureLast = NavigationGestureUnknown
+
};
} // namespace content
« no previous file with comments | « no previous file | content/common/view_messages.h » ('j') | content/common/view_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698