OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef APP_WIN_UTIL_H_ | 5 #ifndef APP_WIN_UTIL_H_ |
6 #define APP_WIN_UTIL_H_ | 6 #define APP_WIN_UTIL_H_ |
7 | 7 |
8 #include <objbase.h> | 8 #include <objbase.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 // A wrapper around Windows' MessageBox function. Using a Chrome specific | 278 // A wrapper around Windows' MessageBox function. Using a Chrome specific |
279 // MessageBox function allows us to control certain RTL locale flags so that | 279 // MessageBox function allows us to control certain RTL locale flags so that |
280 // callers don't have to worry about adding these flags when running in a | 280 // callers don't have to worry about adding these flags when running in a |
281 // right-to-left locale. | 281 // right-to-left locale. |
282 int MessageBox(HWND hwnd, | 282 int MessageBox(HWND hwnd, |
283 const std::wstring& text, | 283 const std::wstring& text, |
284 const std::wstring& caption, | 284 const std::wstring& caption, |
285 UINT flags); | 285 UINT flags); |
286 | 286 |
287 // Returns the system set window title font. | 287 // Returns the system set window title font. |
288 ChromeFont GetWindowTitleFont(); | 288 gfx::Font GetWindowTitleFont(); |
289 | 289 |
290 // The thickness of an auto-hide taskbar in pixels. | 290 // The thickness of an auto-hide taskbar in pixels. |
291 extern const int kAutoHideTaskbarThicknessPx; | 291 extern const int kAutoHideTaskbarThicknessPx; |
292 | 292 |
293 } // namespace win_util | 293 } // namespace win_util |
294 | 294 |
295 #endif // APP_WIN_UTIL_H_ | 295 #endif // APP_WIN_UTIL_H_ |
OLD | NEW |