| Index: base/win/win_util.h
|
| diff --git a/base/win/win_util.h b/base/win/win_util.h
|
| index 94395976aac91a2482a7d53fb5753a559ca6d899..8513f62bf1915b1551976792c877358149431177 100644
|
| --- a/base/win/win_util.h
|
| +++ b/base/win/win_util.h
|
| @@ -33,10 +33,30 @@ struct IPropertyStore;
|
| struct _tagpropertykey;
|
| typedef _tagpropertykey PROPERTYKEY;
|
|
|
| +// This is the same as NONCLIENTMETRICS except that the
|
| +// unused member |iPaddedBorderWidth| has been removed.
|
| +struct NONCLIENTMETRICS_XP {
|
| + UINT cbSize;
|
| + int iBorderWidth;
|
| + int iScrollWidth;
|
| + int iScrollHeight;
|
| + int iCaptionWidth;
|
| + int iCaptionHeight;
|
| + LOGFONTW lfCaptionFont;
|
| + int iSmCaptionWidth;
|
| + int iSmCaptionHeight;
|
| + LOGFONTW lfSmCaptionFont;
|
| + int iMenuWidth;
|
| + int iMenuHeight;
|
| + LOGFONTW lfMenuFont;
|
| + LOGFONTW lfStatusFont;
|
| + LOGFONTW lfMessageFont;
|
| +};
|
| +
|
| namespace base {
|
| namespace win {
|
|
|
| -BASE_EXPORT void GetNonClientMetrics(NONCLIENTMETRICS* metrics);
|
| +BASE_EXPORT void GetNonClientMetrics(NONCLIENTMETRICS_XP* metrics);
|
|
|
| // Returns the string representing the current user sid.
|
| BASE_EXPORT bool GetUserSidString(std::wstring* user_sid);
|
|
|