OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef UI_VIEWS_CONTROLS_MENU_MENU_ITEM_VIEW_H_ | 5 #ifndef UI_VIEWS_CONTROLS_MENU_MENU_ITEM_VIEW_H_ |
6 #define UI_VIEWS_CONTROLS_MENU_MENU_ITEM_VIEW_H_ | 6 #define UI_VIEWS_CONTROLS_MENU_MENU_ITEM_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/string16.h" | 14 #include "base/string16.h" |
15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
16 #include "third_party/skia/include/core/SkBitmap.h" | 16 #include "third_party/skia/include/core/SkBitmap.h" |
17 #include "views/view.h" | 17 #include "ui/views/view.h" |
18 | 18 |
19 #if defined(OS_WIN) | 19 #if defined(OS_WIN) |
20 #include <windows.h> | 20 #include <windows.h> |
21 | 21 |
22 #include "ui/gfx/native_theme.h" | 22 #include "ui/gfx/native_theme.h" |
23 #endif | 23 #endif |
24 | 24 |
25 namespace gfx { | 25 namespace gfx { |
26 class Font; | 26 class Font; |
27 } | 27 } |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 // position of the menu being shown. | 464 // position of the menu being shown. |
465 MenuPosition requested_menu_position_; | 465 MenuPosition requested_menu_position_; |
466 MenuPosition actual_menu_position_; | 466 MenuPosition actual_menu_position_; |
467 | 467 |
468 DISALLOW_COPY_AND_ASSIGN(MenuItemView); | 468 DISALLOW_COPY_AND_ASSIGN(MenuItemView); |
469 }; | 469 }; |
470 | 470 |
471 } // namespace views | 471 } // namespace views |
472 | 472 |
473 #endif // UI_VIEWS_CONTROLS_MENU_MENU_ITEM_VIEW_H_ | 473 #endif // UI_VIEWS_CONTROLS_MENU_MENU_ITEM_VIEW_H_ |
OLD | NEW |