| 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 "chrome/test/base/browser_with_test_window_test.h" | 8 #include "chrome/test/base/browser_with_test_window_test.h" |
| 9 #include "webkit/plugins/npapi/mock_plugin_list.h" | |
| 10 | 9 |
| 11 class PrintPreviewTest : public BrowserWithTestWindowTest { | 10 class PrintPreviewTest : public BrowserWithTestWindowTest { |
| 12 public: | 11 public: |
| 13 PrintPreviewTest(); | 12 PrintPreviewTest(); |
| 14 virtual ~PrintPreviewTest(); | 13 virtual ~PrintPreviewTest(); |
| 15 | 14 |
| 16 protected: | 15 protected: |
| 17 virtual void SetUp() OVERRIDE; | 16 virtual void SetUp() OVERRIDE; |
| 18 | 17 |
| 19 // Create a browser window to provide parenting for web contents modal dialog. | 18 // Create a browser window to provide parenting for web contents modal dialog. |
| 20 virtual BrowserWindow* CreateBrowserWindow() OVERRIDE; | 19 virtual BrowserWindow* CreateBrowserWindow() OVERRIDE; |
| 21 | 20 |
| 22 private: | 21 private: |
| 23 webkit::npapi::MockPluginList plugin_list_; | |
| 24 | |
| 25 DISALLOW_COPY_AND_ASSIGN(PrintPreviewTest); | 22 DISALLOW_COPY_AND_ASSIGN(PrintPreviewTest); |
| 26 }; | 23 }; |
| 27 | 24 |
| 28 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_TEST_H_ | 25 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_TEST_H_ |
| 29 | 26 |
| OLD | NEW |