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

Side by Side Diff: ui/views/controls/button/label_button.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 4 years, 12 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 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/button/label_button.h" 5 #include "ui/views/controls/button/label_button.h"
6 6
7 #include <stddef.h>
8
7 #include <utility> 9 #include <utility>
8 10
9 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
10 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "build/build_config.h"
11 #include "ui/gfx/animation/throb_animation.h" 14 #include "ui/gfx/animation/throb_animation.h"
12 #include "ui/gfx/canvas.h" 15 #include "ui/gfx/canvas.h"
13 #include "ui/gfx/color_utils.h" 16 #include "ui/gfx/color_utils.h"
14 #include "ui/gfx/font_list.h" 17 #include "ui/gfx/font_list.h"
15 #include "ui/gfx/geometry/vector2d.h" 18 #include "ui/gfx/geometry/vector2d.h"
16 #include "ui/native_theme/native_theme.h" 19 #include "ui/native_theme/native_theme.h"
17 #include "ui/views/background.h" 20 #include "ui/views/background.h"
18 #include "ui/views/controls/button/label_button_border.h" 21 #include "ui/views/controls/button/label_button_border.h"
19 #include "ui/views/painter.h" 22 #include "ui/views/painter.h"
20 #include "ui/views/style/platform_style.h" 23 #include "ui/views/style/platform_style.h"
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 GetExtraParams(params); 515 GetExtraParams(params);
513 return ui::NativeTheme::kHovered; 516 return ui::NativeTheme::kHovered;
514 } 517 }
515 518
516 void LabelButton::ResetCachedPreferredSize() { 519 void LabelButton::ResetCachedPreferredSize() {
517 cached_preferred_size_valid_ = false; 520 cached_preferred_size_valid_ = false;
518 cached_preferred_size_ = gfx::Size(); 521 cached_preferred_size_ = gfx::Size();
519 } 522 }
520 523
521 } // namespace views 524 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698