Index: ui/gfx/win/constants.h |
diff --git a/ui/gfx/win/constants.h b/ui/gfx/win/constants.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c68ad6befed38d035cb3850b493c3b98dcb0e607 |
--- /dev/null |
+++ b/ui/gfx/win/constants.h |
@@ -0,0 +1,17 @@ |
+// Copyright 2017 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_CONSTANTS_H_ |
+#define UI_GFX_WIN_CONSTANTS_H_ |
+ |
+namespace gfx { |
+ |
+// This property is put on an HWND so the compositor output knows to treat it |
+// as transparent and draw to it using WS_EX_LAYERED (if using the software |
+// compositor). |
+const wchar_t kChromeWindowTranslucent[] = L"Chrome.WindowTranslucent"; |
sky
2017/04/20 17:26:28
We also have ui/base/win/internal_constants.h. Can
|
+ |
+} // namespace gfx |
+ |
+#endif // UI_GFX_WIN_CONSTANTS_H_ |