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

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. 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') | no next file with comments »
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..380cd51fff750128236b868b5bfea7761ae16cc7 100644
--- a/content/common/navigation_gesture.h
+++ b/content/common/navigation_gesture.h
@@ -16,6 +16,7 @@ enum NavigationGesture {
NavigationGestureAuto,
// Initial state.
NavigationGestureUnknown,
+ NavigationGestureLast = NavigationGestureUnknown
};
} // namespace content
« no previous file with comments | « no previous file | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698