OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_PRINTING_PRINT_PREVIEW_TEST_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_PREVIEW_TEST_H_ |
6 #define CHROME_BROWSER_PRINTING_PRINT_PREVIEW_TEST_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINT_PREVIEW_TEST_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "chrome/test/base/browser_with_test_window_test.h" | 9 #include "chrome/test/base/browser_with_test_window_test.h" |
9 | 10 |
10 class PrintPreviewTest : public BrowserWithTestWindowTest { | 11 class PrintPreviewTest : public BrowserWithTestWindowTest { |
11 public: | 12 public: |
12 PrintPreviewTest(); | 13 PrintPreviewTest(); |
13 ~PrintPreviewTest() override; | 14 ~PrintPreviewTest() override; |
14 | 15 |
15 protected: | 16 protected: |
16 void SetUp() override; | 17 void SetUp() override; |
17 | 18 |
18 // Create a browser window to provide parenting for web contents modal dialog. | 19 // Create a browser window to provide parenting for web contents modal dialog. |
19 BrowserWindow* CreateBrowserWindow() override; | 20 BrowserWindow* CreateBrowserWindow() override; |
20 | 21 |
21 private: | 22 private: |
22 DISALLOW_COPY_AND_ASSIGN(PrintPreviewTest); | 23 DISALLOW_COPY_AND_ASSIGN(PrintPreviewTest); |
23 }; | 24 }; |
24 | 25 |
25 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_TEST_H_ | 26 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_TEST_H_ |
26 | 27 |
OLD | NEW |