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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 const std::wstring& text, | 281 const std::wstring& text, |
282 const std::wstring& caption, | 282 const std::wstring& caption, |
283 UINT flags); | 283 UINT flags); |
284 | 284 |
285 // Returns the system set window title font. | 285 // Returns the system set window title font. |
286 gfx::Font GetWindowTitleFont(); | 286 gfx::Font GetWindowTitleFont(); |
287 | 287 |
288 // The thickness of an auto-hide taskbar in pixels. | 288 // The thickness of an auto-hide taskbar in pixels. |
289 extern const int kAutoHideTaskbarThicknessPx; | 289 extern const int kAutoHideTaskbarThicknessPx; |
290 | 290 |
| 291 // Sets the application id given as the Application Model ID for the window |
| 292 // specified. This method is used to insure that different web applications |
| 293 // do not group together on the Win7 task bar. |
| 294 void SetAppIdForWindow(const std::wstring& app_id, HWND hwnd); |
| 295 |
291 } // namespace win_util | 296 } // namespace win_util |
292 | 297 |
293 #endif // APP_WIN_UTIL_H_ | 298 #endif // APP_WIN_UTIL_H_ |
OLD | NEW |