Index: chrome/browser/apps/app_browsertest.cc |
diff --git a/chrome/browser/apps/app_browsertest.cc b/chrome/browser/apps/app_browsertest.cc |
index 578c1549e23fd9bf2feeae0ce4d6bebb9ab06346..5e5f320cd2723e87ebc90e9613ca63bdc9264e8b 100644 |
--- a/chrome/browser/apps/app_browsertest.cc |
+++ b/chrome/browser/apps/app_browsertest.cc |
@@ -114,6 +114,7 @@ class TabsAddedNotificationObserver |
DISALLOW_COPY_AND_ASSIGN(TabsAddedNotificationObserver); |
}; |
+#if defined(ENABLE_FULL_PRINTING) |
class ScopedPreviewTestingDelegate : PrintPreviewUI::TestingDelegate { |
public: |
explicit ScopedPreviewTestingDelegate(bool auto_cancel) |
@@ -169,6 +170,8 @@ class ScopedPreviewTestingDelegate : PrintPreviewUI::TestingDelegate { |
gfx::Size dialog_size_; |
}; |
+#endif // ENABLE_FULL_PRINTING |
+ |
#if !defined(OS_CHROMEOS) && !defined(OS_WIN) |
bool CopyTestDataAndSetCommandLineArg( |
const base::FilePath& test_data_file, |
@@ -1110,6 +1113,9 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, MAYBE_WebContentsHasFocus) { |
->HasFocus()); |
} |
+ |
+#if defined(ENABLE_FULL_PRINTING) |
+ |
#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX) |
#define MAYBE_WindowDotPrintShouldBringUpPrintPreview \ |
DISABLED_WindowDotPrintShouldBringUpPrintPreview |
@@ -1159,6 +1165,7 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, |
minimum_dialog_size.height()); |
GetFirstAppWindow()->GetBaseWindow()->Close(); |
} |
+#endif // ENABLE_FULL_PRINTING |
#if defined(OS_CHROMEOS) |