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

Unified Diff: printing/printing_context_android.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.cc ('k') | printing/printing_context_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context_android.h
diff --git a/printing/printing_context_android.h b/printing/printing_context_android.h
index 56068a127e215f6132d0511f50db1d6db508f47c..b198e7baf2473135857dfa293415bbdb05417efa 100644
--- a/printing/printing_context_android.h
+++ b/printing/printing_context_android.h
@@ -19,7 +19,7 @@
// Java side through JNI.
class PRINTING_EXPORT PrintingContextAndroid : public PrintingContext {
public:
- explicit PrintingContextAndroid(Delegate* delegate);
+ explicit PrintingContextAndroid(const std::string& app_locale);
virtual ~PrintingContextAndroid();
// Called when the page is successfully written to a PDF using the file
@@ -32,6 +32,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.cc ('k') | printing/printing_context_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698