[SyncFS] Build indexes from FileTracker entries on disk.
[chromium-blink-merge.git] / ui / base / cursor / cursor_util.h
blob1625156e7a9a6d007fe433d4fb1a0e4b231b48ca
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_BASE_CURSOR_CURSOR_UTIL_H_
6 #define UI_BASE_CURSOR_CURSOR_UTIL_H_
8 #include "base/compiler_specific.h"
9 #include "third_party/skia/include/core/SkBitmap.h"
10 #include "ui/base/ui_base_export.h"
11 #include "ui/gfx/display.h"
12 #include "ui/gfx/geometry/point.h"
14 namespace ui {
16 // Scale and rotate the cursor's bitmap and hotpoint.
17 // |bitmap_in_out| and |hotpoint_in_out| are used as
18 // both input and output.
19 UI_BASE_EXPORT void ScaleAndRotateCursorBitmapAndHotpoint(
20 float scale,
21 gfx::Display::Rotation rotation,
22 SkBitmap* bitmap_in_out,
23 gfx::Point* hotpoint_in_out);
25 } // namespace ui
27 #endif // UI_BASE_CURSOR_CURSOR_UTIL_H_