Chromium Code Reviews| 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_; |