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

Unified Diff: chrome/test/base/browser_with_test_window_test.h

Issue 2758323002: Broke out layout metric information from ViewsDelegate to LayoutProvider (Closed)
Patch Set: Deleted LayoutDelegate and HarmonyLayoutDelegate. Created 3 years, 9 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
Index: chrome/test/base/browser_with_test_window_test.h
diff --git a/chrome/test/base/browser_with_test_window_test.h b/chrome/test/base/browser_with_test_window_test.h
index a6d31237dab561cd7ec0cdf38accd934293da4a2..de1d2cfa737397f59c53c0ab4a4c611069e5d2b3 100644
--- a/chrome/test/base/browser_with_test_window_test.h
+++ b/chrome/test/base/browser_with_test_window_test.h
@@ -40,6 +40,9 @@ namespace views {
class ScopedViewsTestHelper;
}
#endif
+namespace views {
+class TestViewsDelegate;
+}
namespace content {
class NavigationController;
@@ -148,6 +151,8 @@ class BrowserWithTestWindowTest : public testing::Test {
bool hosted_app,
BrowserWindow* browser_window);
+ views::TestViewsDelegate* views_delegate();
Peter Kasting 2017/04/04 02:08:55 Nit: This should be defined here or else named Cam
kylix_rd 2017/04/04 20:28:23 Renamed to test_views_delegate().
Peter Kasting 2017/04/05 19:30:10 That addresses the second concern I had, but not t
kylix_rd 2017/04/06 16:48:19 Hmmm. I was looking more for consistency with the
Peter Kasting 2017/04/06 20:05:33 That's fine, just inline it then :) The actual fu
kylix_rd 2017/04/07 14:07:59 I'll need to verify that including test_views_dele
kylix_rd 2017/04/07 18:33:36 Done.
+
private:
// We need to create a MessageLoop, otherwise a bunch of things fails.
content::TestBrowserThreadBundle thread_bundle_;

Powered by Google App Engine
This is Rietveld 408576698