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

Side by Side Diff: ui/views/controls/menu/menu_item_view.cc

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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/views/controls/menu/menu_item_view.h" 5 #include "ui/views/controls/menu/menu_item_view.h"
6 6
7 #include <stddef.h>
8
7 #include "base/i18n/case_conversion.h" 9 #include "base/i18n/case_conversion.h"
10 #include "base/macros.h"
8 #include "base/stl_util.h" 11 #include "base/stl_util.h"
9 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
10 #include "ui/accessibility/ax_view_state.h" 13 #include "ui/accessibility/ax_view_state.h"
11 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
12 #include "ui/base/models/menu_model.h" 15 #include "ui/base/models/menu_model.h"
13 #include "ui/base/resource/material_design/material_design_controller.h" 16 #include "ui/base/resource/material_design/material_design_controller.h"
14 #include "ui/gfx/canvas.h" 17 #include "ui/gfx/canvas.h"
15 #include "ui/gfx/color_utils.h" 18 #include "ui/gfx/color_utils.h"
16 #include "ui/gfx/geometry/rect.h" 19 #include "ui/gfx/geometry/rect.h"
17 #include "ui/gfx/geometry/vector2d.h" 20 #include "ui/gfx/geometry/vector2d.h"
(...skipping 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after
1078 } else { 1081 } else {
1079 const Type& type = menu_item->GetType(); 1082 const Type& type = menu_item->GetType();
1080 if (type == CHECKBOX || type == RADIO) 1083 if (type == CHECKBOX || type == RADIO)
1081 return true; 1084 return true;
1082 } 1085 }
1083 } 1086 }
1084 return false; 1087 return false;
1085 } 1088 }
1086 1089
1087 } // namespace views 1090 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698