| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/widget/widget_win.h" | 5 #include "views/widget/widget_win.h" |
| 6 | 6 |
| 7 #include "app/gfx/canvas.h" | 7 #include "app/gfx/canvas.h" |
| 8 #include "app/gfx/native_theme_win.h" |
| 8 #include "app/gfx/path.h" | 9 #include "app/gfx/path.h" |
| 9 #include "app/l10n_util_win.h" | 10 #include "app/l10n_util_win.h" |
| 10 #include "app/win_util.h" | 11 #include "app/win_util.h" |
| 11 #include "base/gfx/native_theme.h" | |
| 12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
| 13 #include "base/win_util.h" | 13 #include "base/win_util.h" |
| 14 #include "views/accessibility/view_accessibility.h" | 14 #include "views/accessibility/view_accessibility.h" |
| 15 #include "views/controls/native_control_win.h" | 15 #include "views/controls/native_control_win.h" |
| 16 #include "views/focus/focus_util_win.h" | 16 #include "views/focus/focus_util_win.h" |
| 17 #include "views/views_delegate.h" | 17 #include "views/views_delegate.h" |
| 18 #include "views/widget/aero_tooltip_manager.h" | 18 #include "views/widget/aero_tooltip_manager.h" |
| 19 #include "views/widget/default_theme_provider.h" | 19 #include "views/widget/default_theme_provider.h" |
| 20 #include "views/widget/drop_target_win.h" | 20 #include "views/widget/drop_target_win.h" |
| 21 #include "views/widget/root_view.h" | 21 #include "views/widget/root_view.h" |
| (...skipping 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1156 WidgetWin* popup = new WidgetWin; | 1156 WidgetWin* popup = new WidgetWin; |
| 1157 popup->set_window_style(WS_POPUP); | 1157 popup->set_window_style(WS_POPUP); |
| 1158 popup->set_window_ex_style(WS_EX_LAYERED | WS_EX_TOOLWINDOW | | 1158 popup->set_window_ex_style(WS_EX_LAYERED | WS_EX_TOOLWINDOW | |
| 1159 WS_EX_TRANSPARENT | | 1159 WS_EX_TRANSPARENT | |
| 1160 l10n_util::GetExtendedTooltipStyles()); | 1160 l10n_util::GetExtendedTooltipStyles()); |
| 1161 popup->set_delete_on_destroy(delete_on_destroy); | 1161 popup->set_delete_on_destroy(delete_on_destroy); |
| 1162 return popup; | 1162 return popup; |
| 1163 } | 1163 } |
| 1164 | 1164 |
| 1165 } // namespace views | 1165 } // namespace views |
| OLD | NEW |