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

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: Created 6 years 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/android/java/src/org/chromium/chrome/browser/Tab.java ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/tab_android.h
diff --git a/chrome/browser/android/tab_android.h b/chrome/browser/android/tab_android.h
index f40b41742864e88e950db2e8717f9a5ec39e5abb..ce392acf87e6c8e905473a0beeead8dd30ce6a1c 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,
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/Tab.java ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698