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

Side by Side Diff: ui/views/controls/menu/menu_controller.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/menu/menu_controller.h" 5 #include "ui/views/controls/menu/menu_controller.h"
6 6
7 #include "base/i18n/case_conversion.h" 7 #include "base/i18n/case_conversion.h"
8 #include "base/i18n/rtl.h" 8 #include "base/i18n/rtl.h"
9 #include "base/macros.h"
9 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
10 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "build/build_config.h"
11 #include "ui/base/dragdrop/drag_utils.h" 13 #include "ui/base/dragdrop/drag_utils.h"
12 #include "ui/base/dragdrop/os_exchange_data.h" 14 #include "ui/base/dragdrop/os_exchange_data.h"
13 #include "ui/events/event.h" 15 #include "ui/events/event.h"
14 #include "ui/events/event_utils.h" 16 #include "ui/events/event_utils.h"
15 #include "ui/gfx/canvas.h" 17 #include "ui/gfx/canvas.h"
16 #include "ui/gfx/geometry/point.h" 18 #include "ui/gfx/geometry/point.h"
17 #include "ui/gfx/geometry/vector2d.h" 19 #include "ui/gfx/geometry/vector2d.h"
18 #include "ui/gfx/native_widget_types.h" 20 #include "ui/gfx/native_widget_types.h"
19 #include "ui/gfx/screen.h" 21 #include "ui/gfx/screen.h"
20 #include "ui/native_theme/native_theme.h" 22 #include "ui/native_theme/native_theme.h"
(...skipping 2508 matching lines...) Expand 10 before | Expand all | Expand 10 after
2529 } 2531 }
2530 } 2532 }
2531 2533
2532 gfx::Screen* MenuController::GetScreen() { 2534 gfx::Screen* MenuController::GetScreen() {
2533 Widget* root = owner_ ? owner_->GetTopLevelWidget() : NULL; 2535 Widget* root = owner_ ? owner_->GetTopLevelWidget() : NULL;
2534 return root ? gfx::Screen::GetScreenFor(root->GetNativeView()) 2536 return root ? gfx::Screen::GetScreenFor(root->GetNativeView())
2535 : gfx::Screen::GetNativeScreen(); 2537 : gfx::Screen::GetNativeScreen();
2536 } 2538 }
2537 2539
2538 } // namespace views 2540 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698