Chromium Code Reviews

Unified Diff: ui/views/widget/widget.h

Issue 1380973003: Add a flag use_software_compositing to the Widget::InitParams structure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix alignment Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 320332bec2461bd309d694e3651eabc7ba38c712..c7c8a93bb93d68ec09e5c4776cd686dd04f456a2 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -266,6 +266,10 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
std::string wm_role_name;
std::string wm_class_name;
std::string wm_class_class;
+
+ // If true then the widget uses software compositing. Defaults to false.
+ // Only used on Windows.
+ bool force_software_compositing;
};
Widget();
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine