| OLD | NEW |
| 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/macros.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "ui/views/drag_utils.h" | 31 #include "ui/views/drag_utils.h" |
| 32 #include "ui/views/focus/view_storage.h" | 32 #include "ui/views/focus/view_storage.h" |
| 33 #include "ui/views/mouse_constants.h" | 33 #include "ui/views/mouse_constants.h" |
| 34 #include "ui/views/view.h" | 34 #include "ui/views/view.h" |
| 35 #include "ui/views/view_constants.h" | 35 #include "ui/views/view_constants.h" |
| 36 #include "ui/views/views_delegate.h" | 36 #include "ui/views/views_delegate.h" |
| 37 #include "ui/views/widget/root_view.h" | 37 #include "ui/views/widget/root_view.h" |
| 38 #include "ui/views/widget/tooltip_manager.h" | 38 #include "ui/views/widget/tooltip_manager.h" |
| 39 #include "ui/views/widget/widget.h" | 39 #include "ui/views/widget/widget.h" |
| 40 | 40 |
| 41 #if defined(OS_WIN) | 41 #if defined(OS_WIN) && defined(USE_AURA) |
| 42 #include "ui/aura/window_tree_host.h" | 42 #include "ui/aura/window_tree_host.h" // nogncheck |
| 43 #include "ui/base/win/internal_constants.h" | 43 #include "ui/base/win/internal_constants.h" |
| 44 #include "ui/display/win/screen_win.h" | 44 #include "ui/display/win/screen_win.h" |
| 45 #include "ui/views/win/hwnd_util.h" | 45 #include "ui/views/win/hwnd_util.h" |
| 46 #endif | 46 #endif |
| 47 | 47 |
| 48 #if defined(USE_AURA) | 48 #if defined(USE_AURA) |
| 49 #include "ui/views/controls/menu/menu_pre_target_handler.h" | 49 #include "ui/views/controls/menu/menu_pre_target_handler.h" |
| 50 #endif | 50 #endif |
| 51 | 51 |
| 52 using base::Time; | 52 using base::Time; |
| (...skipping 2653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2706 if (hot_button_) | 2706 if (hot_button_) |
| 2707 hot_button_->SetHotTracked(false); | 2707 hot_button_->SetHotTracked(false); |
| 2708 hot_button_ = hot_button; | 2708 hot_button_ = hot_button; |
| 2709 if (hot_button) { | 2709 if (hot_button) { |
| 2710 hot_button->SetHotTracked(true); | 2710 hot_button->SetHotTracked(true); |
| 2711 hot_button->NotifyAccessibilityEvent(ui::AX_EVENT_SELECTION, true); | 2711 hot_button->NotifyAccessibilityEvent(ui::AX_EVENT_SELECTION, true); |
| 2712 } | 2712 } |
| 2713 } | 2713 } |
| 2714 | 2714 |
| 2715 } // namespace views | 2715 } // namespace views |
| OLD | NEW |