| Index: ui/views/corewm/cursor_height_provider_win.h
|
| diff --git a/ui/views/corewm/cursor_height_provider_win.h b/ui/views/corewm/cursor_height_provider_win.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c93134491f2a1346e32bfcb79dcff4efc8b99af6
|
| --- /dev/null
|
| +++ b/ui/views/corewm/cursor_height_provider_win.h
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_VIEWS_COREWM_CURSOR_HEIGHT_PROVIDER_WIN_H_
|
| +#define UI_VIEWS_COREWM_CURSOR_HEIGHT_PROVIDER_WIN_H_
|
| +
|
| +namespace views {
|
| +namespace corewm {
|
| +
|
| +// Gets the visible height of current cursor.
|
| +//
|
| +// The height is offset between cursor's hot point and it's
|
| +// bottom edge, derived from first non-transparent row of cursor's mask.
|
| +
|
| +int GetCurrentCursorVisibleHeight();
|
| +
|
| +} // namespace corewm
|
| +} // namespace views
|
| +
|
| +#endif // UI_VIEWS_COREWM_CURSOR_HEIGHT_PROVIDER_WIN_H_
|
|
|