diff options
Diffstat (limited to 'ui/gfx/win_util.h')
-rw-r--r-- | ui/gfx/win_util.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ui/gfx/win_util.h b/ui/gfx/win_util.h new file mode 100644 index 0000000..3414f13 --- /dev/null +++ b/ui/gfx/win_util.h @@ -0,0 +1,20 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef UI_GFX_WIN_UTIL_H_ +#define UI_GFX_WIN_UTIL_H_ +#pragma once + +namespace gfx { + +// Returns true if Direct2d is available, false otherwise. +bool Direct2dIsAvailable(); + +// Returns true if DirectWrite is available, false otherwise. +bool DirectWriteIsAvailable(); + +} // namespace gfx; + +#endif // UI_GFX_WIN_UTIL_H_ + |