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

Unified Diff: ui/views/controls/menu/menu_runner_impl_interface.h

Issue 1543173002: Switch to standard integer types in ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: ui/views/controls/menu/menu_runner_impl_interface.h
diff --git a/ui/views/controls/menu/menu_runner_impl_interface.h b/ui/views/controls/menu/menu_runner_impl_interface.h
index 0914cba8a134118774925d17b3ca0aa1db4e9e94..4c9cd88163f3a341539a14f20be5af93cbfd81ab 100644
--- a/ui/views/controls/menu/menu_runner_impl_interface.h
+++ b/ui/views/controls/menu/menu_runner_impl_interface.h
@@ -5,6 +5,8 @@
#ifndef UI_VIEWS_CONTROLS_MENU_MENU_RUNNER_IMPL_INTERFACE_H_
#define UI_VIEWS_CONTROLS_MENU_MENU_RUNNER_IMPL_INTERFACE_H_
+#include <stdint.h>
+
#include "ui/views/controls/menu/menu_runner.h"
namespace views {
@@ -22,7 +24,7 @@ class MenuRunnerImplInterface {
// Creates a concrete instance for running |menu_model|.
// |run_types| is a bitmask of MenuRunner::RunTypes.
static MenuRunnerImplInterface* Create(ui::MenuModel* menu_model,
- int32 run_types);
+ int32_t run_types);
// Returns true if we're in a nested message loop running the menu.
virtual bool IsRunning() const = 0;
@@ -35,7 +37,7 @@ class MenuRunnerImplInterface {
MenuButton* button,
const gfx::Rect& bounds,
MenuAnchorPosition anchor,
- int32 run_types)
+ int32_t run_types)
WARN_UNUSED_RESULT = 0;
// Hides and cancels the menu.

Powered by Google App Engine
This is Rietveld 408576698