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

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

Issue 1576493002: Change the Lo-Fi snackbar strings for Lo-Fi preview pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@showLoFiSnackbarNative
Patch Set: newt comments Created 4 years, 11 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 | « chrome/android/java/strings/android_chrome_strings.grd ('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 db2d1c341d2cd670f7444443a1b6b0b3cb8b4d08..178ee15d380e9635bb88487d0289181e27b68385 100644
--- a/chrome/browser/android/tab_android.h
+++ b/chrome/browser/android/tab_android.h
@@ -128,7 +128,11 @@ class TabAndroid : public CoreTabHelperDelegate,
void ShowOfflinePages();
void LoadOfflineCopy(const GURL& url);
- void OnLoFiResponseReceived();
+ // Notifies this TabAndroid that a Lo-Fi response has been received. The
+ // TabAndroid then handles showing Lo-Fi UI if this is the first Lo-Fi
+ // response for a page load. |is_preview| indicates whether the response was a
+ // Lo-Fi preview response.
+ void OnLoFiResponseReceived(bool is_preview);
// Overridden from CoreTabHelperDelegate:
void SwapTabContents(content::WebContents* old_contents,
« no previous file with comments | « chrome/android/java/strings/android_chrome_strings.grd ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698