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

Unified Diff: chrome/browser/printing/print_job_worker.h

Issue 5856001: Cleanup: USE_X11 + OS_MACOSX = OS_POSIX. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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/browser/printing/print_job_worker.h
===================================================================
--- chrome/browser/printing/print_job_worker.h (revision 69803)
+++ chrome/browser/printing/print_job_worker.h (working copy)
@@ -83,7 +83,7 @@
// context.
void OnFailure();
-#if defined(OS_MACOSX) || defined(USE_X11)
+#if defined(OS_POSIX)
// Asks the user for print settings. Must be called on the UI thread.
// Mac and Linux-only since Windows can display UI from non-main threads.
void GetSettingsWithUI(gfx::NativeView parent_view,
@@ -94,7 +94,7 @@
// object that the print settings are set. This is needed in order to bounce
// back into the IO thread for GetSettingsDone().
void GetSettingsWithUIDone(PrintingContext::Result result);
-#endif
+#endif // defined(OS_POSIX)
// Reports settings back to owner_.
void GetSettingsDone(PrintingContext::Result result);

Powered by Google App Engine
This is Rietveld 408576698