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. 4 5 #ifndef UI_VIEWS_COREWM_CURSOR_HEIGHT_PROVIDER_WIN_H_ 6 #define UI_VIEWS_COREWM_CURSOR_HEIGHT_PROVIDER_WIN_H_ 7 8 namespace views { 9 namespace corewm { 10 11 // Gets the visible height of current cursor. 12 // 13 // The height is offset between cursor's hot point and it's 14 // bottom edge, derived from first non-transparent row of cursor's mask. 15 16 int GetCurrentCursorVisibleHeight(); 17 18 } // namespace corewm 19 } // namespace views 20 21 #endif // UI_VIEWS_COREWM_CURSOR_HEIGHT_PROVIDER_WIN_H_ 22