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

Unified Diff: printing/printing_context_android.h

Issue 740983002: Implement window.print() on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typos, sorry Created 6 years, 1 month 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: printing/printing_context_android.h
diff --git a/printing/printing_context_android.h b/printing/printing_context_android.h
index 32f11be7b766d1795c6df56aeb95aaa2c67b2386..4c87396c30151992a3e84ac5b75e027408ed8055 100644
--- a/printing/printing_context_android.h
+++ b/printing/printing_context_android.h
@@ -14,8 +14,7 @@
namespace printing {
-// Android subclass of PrintingContext. The implementation for this header file
-// resides in Chrome for Android repository. This class communicates with the
+// Android subclass of PrintingContext. This class communicates with the
// Java side through JNI.
class PRINTING_EXPORT PrintingContextAndroid : public PrintingContext {
public:
@@ -29,8 +28,10 @@ class PRINTING_EXPORT PrintingContextAndroid : public PrintingContext {
// Called from Java, when printing settings from the user are ready or the
// printing operation is canceled.
void AskUserForSettingsReply(JNIEnv* env, jobject obj, jboolean success);
+ void ShowSystemDialogDone(JNIEnv* env, jobject obj);
// PrintingContext implementation.
+ virtual void RequestSystemDialog(const PrintSettingsCallback& cb) override;
virtual void AskUserForSettings(
int max_pages,
bool has_selection,

Powered by Google App Engine
This is Rietveld 408576698