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

Unified Diff: ui/accelerated_widget_mac/window_resize_helper_mac.h

Issue 2005013002: mac: ensure ui::Compositor exists for visible RWHVs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure in ctor and always in show Created 4 years, 6 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
« no previous file with comments | « content/test/BUILD.gn ('k') | ui/accelerated_widget_mac/window_resize_helper_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accelerated_widget_mac/window_resize_helper_mac.h
diff --git a/ui/accelerated_widget_mac/window_resize_helper_mac.h b/ui/accelerated_widget_mac/window_resize_helper_mac.h
index f81cdc485444d4abebb87d966a277fe22cd52d17..a83034f2df6712a630ae5939d913614ac72471f2 100644
--- a/ui/accelerated_widget_mac/window_resize_helper_mac.h
+++ b/ui/accelerated_widget_mac/window_resize_helper_mac.h
@@ -53,6 +53,10 @@ class ACCELERATED_WIDGET_MAC_EXPORT WindowResizeHelperMac {
void Init(
const scoped_refptr<base::SingleThreadTaskRunner>& target_task_runner);
+ // Because this class is global, many tests may want to do this setup
+ // repeatedly, so need some way to uninitialize as well.
+ void ShutdownForTests();
+
scoped_refptr<base::SingleThreadTaskRunner> task_runner() const;
// UI THREAD ONLY -----------------------------------------------------------
« no previous file with comments | « content/test/BUILD.gn ('k') | ui/accelerated_widget_mac/window_resize_helper_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698