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

Unified Diff: ui/views/test/platform_test_helper.h

Issue 2488393003: Changes views_aura_mus_unittests to create DesktopNativeWidgetAura (Closed)
Patch Set: remove this and fix mac Created 4 years, 1 month 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 | « ui/views/test/native_widget_factory_mus.cc ('k') | ui/views/test/platform_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/platform_test_helper.h
diff --git a/ui/views/test/platform_test_helper.h b/ui/views/test/platform_test_helper.h
index 3950007ea4f77967b6fdb70d113afdc6a0a13dcf..909191befd08aa1d42e72d29aee97471e759f72a 100644
--- a/ui/views/test/platform_test_helper.h
+++ b/ui/views/test/platform_test_helper.h
@@ -13,6 +13,7 @@
namespace views {
class ViewsTestHelper;
+class Widget;
class PlatformTestHelper {
public:
@@ -35,6 +36,9 @@ class PlatformTestHelper {
// called.
virtual void OnTestHelperCreated(ViewsTestHelper* helper) {}
+ // Simulate an OS-level destruction of the native window held by |widget|.
+ virtual void SimulateNativeDestroy(Widget* widget);
+
private:
DISALLOW_COPY_AND_ASSIGN(PlatformTestHelper);
};
« no previous file with comments | « ui/views/test/native_widget_factory_mus.cc ('k') | ui/views/test/platform_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698