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

Unified Diff: chrome/browser/renderer_host/resource_message_filter_gtk.cc

Issue 200138: GTK: Add a dialog for printing. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months 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
« no previous file with comments | « chrome/browser/printing/print_dialog_gtk.cc ('k') | chrome/browser/resources/linux-splash.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/resource_message_filter_gtk.cc
===================================================================
--- chrome/browser/renderer_host/resource_message_filter_gtk.cc (revision 26368)
+++ chrome/browser/renderer_host/resource_message_filter_gtk.cc (working copy)
@@ -14,6 +14,9 @@
#include "base/path_service.h"
#include "base/singleton.h"
#include "chrome/browser/chrome_thread.h"
+#if defined(TOOLKIT_GTK)
+#include "chrome/browser/printing/print_dialog_gtk.h"
+#endif
#include "chrome/common/chrome_paths.h"
#include "chrome/common/render_messages.h"
#include "chrome/common/x11_util.h"
@@ -268,7 +271,11 @@
return;
}
- // TODO(estade): print it.
+#if defined(TOOLKIT_GTK)
+ PrintDialogGtk::CreatePrintDialogForPdf(it->second, ui_loop());
+#else
+ NOTIMPLEMENTED();
+#endif
// Erase the entry in the map.
map->erase(it);
« no previous file with comments | « chrome/browser/printing/print_dialog_gtk.cc ('k') | chrome/browser/resources/linux-splash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698