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

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

Issue 1499423004: Remove kint32max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kint9
Patch Set: rebase Created 5 years 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 | « content/common/mac/font_loader.mm ('k') | content/public/common/context_menu_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/context_menu_params.h
diff --git a/content/public/common/context_menu_params.h b/content/public/common/context_menu_params.h
index 15b0598102027bc7bd506ea43194d47f1bfc5e51..f3d89c945888857b5b08831ae9bc92b9c641755c 100644
--- a/content/public/common/context_menu_params.h
+++ b/content/public/common/context_menu_params.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_
#define CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_
+#include <stdint.h>
+
#include <map>
#include <string>
#include <vector>
@@ -27,7 +29,7 @@
namespace content {
struct CONTENT_EXPORT CustomContextMenuContext {
- static const int32 kCurrentRenderWidget;
+ static const int32_t kCurrentRenderWidget;
CustomContextMenuContext();
@@ -36,7 +38,7 @@ struct CONTENT_EXPORT CustomContextMenuContext {
// The routing ID of the render widget on which the context menu is shown.
// It could also be |kCurrentRenderWidget|, which means the render widget that
// the corresponding ViewHostMsg_ContextMenu is sent to.
- int32 render_widget_id;
+ int32_t render_widget_id;
// If the context menu was created for a link, and we navigated to that url,
// this will contain the url that was navigated. This field may not be set
@@ -118,7 +120,7 @@ struct CONTENT_EXPORT ContextMenuParams {
base::string16 misspelled_word;
// The identifier of the misspelling under the cursor, if any.
- uint32 misspelling_hash;
+ uint32_t misspelling_hash;
// Suggested replacements for a misspelled word under the cursor.
// This vector gets populated in the render process host
« no previous file with comments | « content/common/mac/font_loader.mm ('k') | content/public/common/context_menu_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698