Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: ui/base/cursor/cursor_loader.h

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "ui/base/ui_base_export.h" 10 #include "ui/base/ui_base_export.h"
11 #include "ui/gfx/display.h" 11 #include "ui/gfx/display.h"
12 #include "ui/gfx/geometry/point.h"
12 #include "ui/gfx/native_widget_types.h" 13 #include "ui/gfx/native_widget_types.h"
13 #include "ui/gfx/point.h"
14 14
15 namespace ui { 15 namespace ui {
16 16
17 class UI_BASE_EXPORT CursorLoader { 17 class UI_BASE_EXPORT CursorLoader {
18 public: 18 public:
19 CursorLoader() : scale_(1.f), rotation_(gfx::Display::ROTATE_0) {} 19 CursorLoader() : scale_(1.f), rotation_(gfx::Display::ROTATE_0) {}
20 virtual ~CursorLoader() {} 20 virtual ~CursorLoader() {}
21 21
22 gfx::Display::Rotation rotation() const { 22 gfx::Display::Rotation rotation() const {
23 return rotation_; 23 return rotation_;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 // The current rotation of the mouse cursor icon. 68 // The current rotation of the mouse cursor icon.
69 gfx::Display::Rotation rotation_; 69 gfx::Display::Rotation rotation_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(CursorLoader); 71 DISALLOW_COPY_AND_ASSIGN(CursorLoader);
72 }; 72 };
73 73
74 } // namespace ui 74 } // namespace ui
75 75
76 #endif // UI_BASE_CURSOR_CURSOR_LOADER_H_ 76 #endif // UI_BASE_CURSOR_CURSOR_LOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698