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

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

Issue 2488393003: Changes views_aura_mus_unittests to create DesktopNativeWidgetAura (Closed)
Patch Set: git add 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
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..7d4b052ccb7cc27c8d6be379a124a08eb9644689 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) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(PlatformTestHelper);
};

Powered by Google App Engine
This is Rietveld 408576698