| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 UI_BASE_WIN_SHELL_H_ | 5 #ifndef UI_BASE_WIN_SHELL_H_ |
| 6 #define UI_BASE_WIN_SHELL_H_ | 6 #define UI_BASE_WIN_SHELL_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 | 9 |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 bool OpenItemWithExternalApp(const string16& full_path); | 39 bool OpenItemWithExternalApp(const string16& full_path); |
| 40 | 40 |
| 41 // Sets the application id given as the Application Model ID for the window | 41 // Sets the application id given as the Application Model ID for the window |
| 42 // specified. This method is used to insure that different web applications | 42 // specified. This method is used to insure that different web applications |
| 43 // do not group together on the Win7 task bar. | 43 // do not group together on the Win7 task bar. |
| 44 UI_EXPORT void SetAppIdForWindow(const string16& app_id, HWND hwnd); | 44 UI_EXPORT void SetAppIdForWindow(const string16& app_id, HWND hwnd); |
| 45 | 45 |
| 46 // Sets the application icon for the window specified. | 46 // Sets the application icon for the window specified. |
| 47 UI_EXPORT void SetAppIconForWindow(const string16& app_icon, HWND hwnd); | 47 UI_EXPORT void SetAppIconForWindow(const string16& app_icon, HWND hwnd); |
| 48 | 48 |
| 49 // Returns true if composition is available and turned on on the current |
| 50 // platform. |
| 51 UI_EXPORT bool IsAeroGlassEnabled(); |
| 52 |
| 49 } // namespace win | 53 } // namespace win |
| 50 } // namespace ui | 54 } // namespace ui |
| 51 | 55 |
| 52 #endif // UI_BASE_WIN_SHELL_H_ | 56 #endif // UI_BASE_WIN_SHELL_H_ |
| OLD | NEW |