Chromium Code Reviews| 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..3529f2d744f997b3aecd4e8e94163031e710522d |
| --- /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 GetCursorHeight(); |
|
sky
2014/05/16 17:13:22
This returns information based on the current curs
Mateusz Szymański
2014/05/19 07:43:13
OK, sounds fine to me.
|
| + |
| +} // namespace corewm |
| +} // namespace views |
| + |
| +#endif // UI_VIEWS_COREWM_CURSOR_HEIGHT_PROVIDER_WIN_H_ |