OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "views/controls/button/menu_button.h" | 5 #include "views/controls/button/menu_button.h" |
6 | 6 |
7 #include "app/drag_drop_types.h" | 7 #include "app/drag_drop_types.h" |
8 #include "app/gfx/canvas.h" | |
9 #include "app/l10n_util.h" | 8 #include "app/l10n_util.h" |
10 #include "app/resource_bundle.h" | 9 #include "app/resource_bundle.h" |
| 10 #include "gfx/canvas.h" |
11 #include "grit/app_strings.h" | 11 #include "grit/app_strings.h" |
12 #include "grit/app_resources.h" | 12 #include "grit/app_resources.h" |
13 #include "views/controls/button/button.h" | 13 #include "views/controls/button/button.h" |
14 #include "views/controls/menu/view_menu_delegate.h" | 14 #include "views/controls/menu/view_menu_delegate.h" |
15 #include "views/event.h" | 15 #include "views/event.h" |
16 #include "views/screen.h" | 16 #include "views/screen.h" |
17 #include "views/widget/root_view.h" | 17 #include "views/widget/root_view.h" |
18 #include "views/widget/widget.h" | 18 #include "views/widget/widget.h" |
19 #include "views/window/window.h" | 19 #include "views/window/window.h" |
20 | 20 |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 | 247 |
248 *state = AccessibilityTypes::STATE_HASPOPUP; | 248 *state = AccessibilityTypes::STATE_HASPOPUP; |
249 return true; | 249 return true; |
250 } | 250 } |
251 | 251 |
252 std::string MenuButton::GetClassName() const { | 252 std::string MenuButton::GetClassName() const { |
253 return kViewClassName; | 253 return kViewClassName; |
254 } | 254 } |
255 | 255 |
256 } // namespace views | 256 } // namespace views |
OLD | NEW |