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

Unified Diff: views/widget/native_widget_test_utils.h

Issue 7272044: Views views_unittests native widget tests leak (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment nit. Created 9 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 | « tools/valgrind/chrome_tests.py ('k') | views/widget/native_widget_test_utils_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/native_widget_test_utils.h
diff --git a/views/widget/native_widget_test_utils.h b/views/widget/native_widget_test_utils.h
index 2499a7654d60c664533050451866cc09c2e75a06..cd51d384bc1cc82235329e9949b969412f21fa65 100644
--- a/views/widget/native_widget_test_utils.h
+++ b/views/widget/native_widget_test_utils.h
@@ -11,10 +11,10 @@ class View;
namespace internal {
class NativeWidgetPrivate;
-// Create dummy Widgets for use in testing.
+// Create dummy widgets for use in testing. Caller owns the returned
+// |NativeWidgetPrivate| object which, in turn, owns the associated Widget.
NativeWidgetPrivate* CreateNativeWidget();
-NativeWidgetPrivate* CreateNativeWidgetWithContents(View* contents_view);
-NativeWidgetPrivate* CreateNativeWidgetWithParent(NativeWidgetPrivate* parent);
+NativeWidgetPrivate* CreateNativeSubWidget();
} // namespace internal
} // namespace views
« no previous file with comments | « tools/valgrind/chrome_tests.py ('k') | views/widget/native_widget_test_utils_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698