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

Unified Diff: content/public/common/page_zoom.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: 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
« content/common/view_messages.h ('K') | « content/common/view_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/page_zoom.h
diff --git a/content/public/common/page_zoom.h b/content/public/common/page_zoom.h
index aa5e56a90711b089987afdbcf17eafd49ddf67e2..190b551b88d93279f8a97bd13272a9d2897a26ae 100644
--- a/content/public/common/page_zoom.h
+++ b/content/public/common/page_zoom.h
@@ -15,6 +15,7 @@ enum PageZoom {
PAGE_ZOOM_OUT = -1,
PAGE_ZOOM_RESET = 0,
PAGE_ZOOM_IN = 1,
+ PAGE_ZOOM_LAST = PAGE_ZOOM_IN
};
// The minimum zoom factor permitted for a page. This is an alternative to
« content/common/view_messages.h ('K') | « content/common/view_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698