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

Side by Side 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: tbansal comment 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 5 #ifndef CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
6 #define CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 6 #define CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 bool HasPrerenderedUrl(GURL gurl); 121 bool HasPrerenderedUrl(GURL gurl);
122 122
123 void MakeLoadURLParams( 123 void MakeLoadURLParams(
124 chrome::NavigateParams* params, 124 chrome::NavigateParams* params,
125 content::NavigationController::LoadURLParams* load_url_params); 125 content::NavigationController::LoadURLParams* load_url_params);
126 126
127 bool HasOfflinePages() const; 127 bool HasOfflinePages() const;
128 void ShowOfflinePages(); 128 void ShowOfflinePages();
129 void LoadOfflineCopy(const GURL& url); 129 void LoadOfflineCopy(const GURL& url);
130 130
131 void OnLoFiResponseReceived(); 131 void OnLoFiResponseReceived(bool is_preview);
newt (away) 2016/01/11 21:52:25 please document this method. (all methods in .h fi
megjablon 2016/01/11 22:54:57 Done.
132 132
133 // Overridden from CoreTabHelperDelegate: 133 // Overridden from CoreTabHelperDelegate:
134 void SwapTabContents(content::WebContents* old_contents, 134 void SwapTabContents(content::WebContents* old_contents,
135 content::WebContents* new_contents, 135 content::WebContents* new_contents,
136 bool did_start_load, 136 bool did_start_load,
137 bool did_finish_load) override; 137 bool did_finish_load) override;
138 138
139 // Overridden from InstantServiceObserver: 139 // Overridden from InstantServiceObserver:
140 void DefaultSearchProviderChanged( 140 void DefaultSearchProviderChanged(
141 bool google_base_url_domain_changed) override; 141 bool google_base_url_domain_changed) override;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 scoped_ptr<content::WebContents> web_contents_; 280 scoped_ptr<content::WebContents> web_contents_;
281 scoped_ptr<chrome::android::TabWebContentsDelegateAndroid> 281 scoped_ptr<chrome::android::TabWebContentsDelegateAndroid>
282 web_contents_delegate_; 282 web_contents_delegate_;
283 283
284 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; 284 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_;
285 285
286 DISALLOW_COPY_AND_ASSIGN(TabAndroid); 286 DISALLOW_COPY_AND_ASSIGN(TabAndroid);
287 }; 287 };
288 288
289 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 289 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698