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

Unified Diff: printing/printing_context_linux.h

Issue 504763002: Revert of Added PrintingContext::Delegate to get parent view handle and application locale. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « printing/printing_context_android.cc ('k') | printing/printing_context_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context_linux.h
diff --git a/printing/printing_context_linux.h b/printing/printing_context_linux.h
index 984d7dc1f9f26eaf2fbf55ccad6d2e4c3ee5b405..307601488db9def05b36f90d6ee36996c11395f1 100644
--- a/printing/printing_context_linux.h
+++ b/printing/printing_context_linux.h
@@ -21,7 +21,7 @@
// PrintingContext with optional native UI for print dialog and pdf_paper_size.
class PRINTING_EXPORT PrintingContextLinux : public PrintingContext {
public:
- explicit PrintingContextLinux(Delegate* delegate);
+ explicit PrintingContextLinux(const std::string& app_locale);
virtual ~PrintingContextLinux();
// Sets the function that creates the print dialog.
@@ -38,6 +38,7 @@
// PrintingContext implementation.
virtual void AskUserForSettings(
+ gfx::NativeView parent_view,
int max_pages,
bool has_selection,
const PrintSettingsCallback& callback) OVERRIDE;
« no previous file with comments | « printing/printing_context_android.cc ('k') | printing/printing_context_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698