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/strings/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/cursor_client.h" | 12 #include "ui/aura/client/cursor_client.h" |
13 #include "ui/aura/client/drag_drop_client.h" | 13 #include "ui/aura/client/drag_drop_client.h" |
14 #include "ui/aura/client/screen_position_client.h" | 14 #include "ui/aura/client/screen_position_client.h" |
15 #include "ui/aura/client/stacking_client.h" | 15 #include "ui/aura/client/stacking_client.h" |
16 #include "ui/aura/client/window_move_client.h" | 16 #include "ui/aura/client/window_move_client.h" |
17 #include "ui/aura/client/window_types.h" | 17 #include "ui/aura/client/window_types.h" |
18 #include "ui/aura/env.h" | 18 #include "ui/aura/env.h" |
(...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1041 return aura::Env::GetInstance()->is_mouse_button_down(); | 1041 return aura::Env::GetInstance()->is_mouse_button_down(); |
1042 } | 1042 } |
1043 | 1043 |
1044 // static | 1044 // static |
1045 bool NativeWidgetPrivate::IsTouchDown() { | 1045 bool NativeWidgetPrivate::IsTouchDown() { |
1046 return aura::Env::GetInstance()->is_touch_down(); | 1046 return aura::Env::GetInstance()->is_touch_down(); |
1047 } | 1047 } |
1048 | 1048 |
1049 } // namespace internal | 1049 } // namespace internal |
1050 } // namespace views | 1050 } // namespace views |
OLD | NEW |