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

Unified Diff: chrome/browser/android/tab_android.h

Issue 740983002: Implement window.print() on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adressed mounir's comments 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: chrome/browser/android/tab_android.h
diff --git a/chrome/browser/android/tab_android.h b/chrome/browser/android/tab_android.h
index e76017f7233c61719f167a0c92c7f5facc48074c..bdef4f7328a914c5132fcc2d939ba0b5c3d28be4 100644
--- a/chrome/browser/android/tab_android.h
+++ b/chrome/browser/android/tab_android.h
@@ -159,6 +159,10 @@ class TabAndroid : public CoreTabHelperDelegate,
jstring jurl,
jstring jtitle);
bool Print(JNIEnv* env, jobject obj);
+
+ // Sets the tab as content to be printed through JNI.
+ void SetPendingPrint();
+
// Called to get default favicon of current tab, return null if no
// favicon is avaliable for current tab.
base::android::ScopedJavaLocalRef<jobject> GetDefaultFavicon(JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698