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/widget/native_widget_aura.h" | 5 #include "ui/views/widget/native_widget_aura.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "third_party/skia/include/core/SkRegion.h" | 9 #include "third_party/skia/include/core/SkRegion.h" |
10 #include "ui/aura/client/activation_client.h" | 10 #include "ui/aura/client/activation_client.h" |
11 #include "ui/aura/client/aura_constants.h" | 11 #include "ui/aura/client/aura_constants.h" |
12 #include "ui/aura/client/drag_drop_client.h" | 12 #include "ui/aura/client/drag_drop_client.h" |
13 #include "ui/aura/client/window_move_client.h" | 13 #include "ui/aura/client/window_move_client.h" |
14 #include "ui/aura/client/window_types.h" | 14 #include "ui/aura/client/window_types.h" |
15 #include "ui/aura/env.h" | 15 #include "ui/aura/env.h" |
16 #include "ui/aura/event.h" | 16 #include "ui/aura/event.h" |
17 #include "ui/aura/root_window.h" | 17 #include "ui/aura/root_window.h" |
18 #include "ui/aura/window.h" | 18 #include "ui/aura/window.h" |
19 #include "ui/aura/window_observer.h" | 19 #include "ui/aura/window_observer.h" |
20 #include "ui/base/dragdrop/os_exchange_data.h" | 20 #include "ui/base/dragdrop/os_exchange_data.h" |
21 #include "ui/base/ui_base_types.h" | 21 #include "ui/base/ui_base_types.h" |
| 22 #include "ui/compositor/layer.h" |
22 #include "ui/gfx/canvas.h" | 23 #include "ui/gfx/canvas.h" |
23 #include "ui/gfx/compositor/layer.h" | |
24 #include "ui/gfx/font.h" | 24 #include "ui/gfx/font.h" |
25 #include "ui/gfx/screen.h" | 25 #include "ui/gfx/screen.h" |
26 #include "ui/views/drag_utils.h" | 26 #include "ui/views/drag_utils.h" |
27 #include "ui/views/ime/input_method_bridge.h" | 27 #include "ui/views/ime/input_method_bridge.h" |
28 #include "ui/views/views_delegate.h" | 28 #include "ui/views/views_delegate.h" |
29 #include "ui/views/widget/drop_helper.h" | 29 #include "ui/views/widget/drop_helper.h" |
30 #include "ui/views/widget/native_widget_delegate.h" | 30 #include "ui/views/widget/native_widget_delegate.h" |
31 #include "ui/views/widget/native_widget_helper_aura.h" | 31 #include "ui/views/widget/native_widget_helper_aura.h" |
32 #include "ui/views/widget/root_view.h" | 32 #include "ui/views/widget/root_view.h" |
33 #include "ui/views/widget/tooltip_manager_aura.h" | 33 #include "ui/views/widget/tooltip_manager_aura.h" |
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
966 } | 966 } |
967 } | 967 } |
968 | 968 |
969 // static | 969 // static |
970 bool NativeWidgetPrivate::IsMouseButtonDown() { | 970 bool NativeWidgetPrivate::IsMouseButtonDown() { |
971 return aura::Env::GetInstance()->is_mouse_button_down(); | 971 return aura::Env::GetInstance()->is_mouse_button_down(); |
972 } | 972 } |
973 | 973 |
974 } // namespace internal | 974 } // namespace internal |
975 } // namespace views | 975 } // namespace views |
OLD | NEW |