Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Unified Diff: ui/gfx/win/constants.h

Issue 2826343002: Remove use of WS_EX_COMPOSITED for translucent windows. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698