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 #ifndef UI_BASE_CURSOR_CURSOR_LOADER_H_ | 5 #ifndef UI_BASE_CURSOR_CURSOR_LOADER_H_ |
6 #define UI_BASE_CURSOR_CURSOR_LOADER_H_ | 6 #define UI_BASE_CURSOR_CURSOR_LOADER_H_ |
7 | 7 |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "ui/base/ui_export.h" | 10 #include "ui/base/ui_export.h" |
11 #include "ui/gfx/display.h" | 11 #include "ui/gfx/display.h" |
12 #include "ui/gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
13 #include "ui/gfx/point.h" | 13 #include "ui/gfx/point.h" |
14 | 14 |
15 namespace ui { | 15 namespace ui { |
16 | 16 |
17 class UI_EXPORT CursorLoader { | 17 class UI_EXPORT CursorLoader { |
18 public: | 18 public: |
19 CursorLoader() : scale_(1.f) {} | 19 CursorLoader() : scale_(1.f) {} |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 73 |
74 // The current scale of the mouse cursor icon. | 74 // The current scale of the mouse cursor icon. |
75 float scale_; | 75 float scale_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(CursorLoader); | 77 DISALLOW_COPY_AND_ASSIGN(CursorLoader); |
78 }; | 78 }; |
79 | 79 |
80 } // namespace ui | 80 } // namespace ui |
81 | 81 |
82 #endif // UI_BASE_CURSOR_CURSOR_LOADER_H_ | 82 #endif // UI_BASE_CURSOR_CURSOR_LOADER_H_ |
OLD | NEW |