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

Side by Side Diff: chrome/browser/android/tab_android.h

Issue 1410343007: Add "SHOW ALL SAVED PAGES" button to offline error page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix after rebase Created 5 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 unified diff | Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9
10 #include "base/android/jni_weak_ref.h" 10 #include "base/android/jni_weak_ref.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 void SetSyncId(int sync_id); 119 void SetSyncId(int sync_id);
120 120
121 void HandlePopupNavigation(chrome::NavigateParams* params); 121 void HandlePopupNavigation(chrome::NavigateParams* params);
122 122
123 bool HasPrerenderedUrl(GURL gurl); 123 bool HasPrerenderedUrl(GURL gurl);
124 124
125 void MakeLoadURLParams( 125 void MakeLoadURLParams(
126 chrome::NavigateParams* params, 126 chrome::NavigateParams* params,
127 content::NavigationController::LoadURLParams* load_url_params); 127 content::NavigationController::LoadURLParams* load_url_params);
128 128
129 bool HasOfflinePages() const;
130 void ShowOfflinePages();
131
129 // Overridden from CoreTabHelperDelegate: 132 // Overridden from CoreTabHelperDelegate:
130 void SwapTabContents(content::WebContents* old_contents, 133 void SwapTabContents(content::WebContents* old_contents,
131 content::WebContents* new_contents, 134 content::WebContents* new_contents,
132 bool did_start_load, 135 bool did_start_load,
133 bool did_finish_load) override; 136 bool did_finish_load) override;
134 137
135 // Overridden from InstantServiceObserver: 138 // Overridden from InstantServiceObserver:
136 void DefaultSearchProviderChanged( 139 void DefaultSearchProviderChanged(
137 bool google_base_url_domain_changed) override; 140 bool google_base_url_domain_changed) override;
138 141
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 scoped_ptr<content::WebContents> web_contents_; 258 scoped_ptr<content::WebContents> web_contents_;
256 scoped_ptr<chrome::android::TabWebContentsDelegateAndroid> 259 scoped_ptr<chrome::android::TabWebContentsDelegateAndroid>
257 web_contents_delegate_; 260 web_contents_delegate_;
258 261
259 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; 262 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_;
260 263
261 DISALLOW_COPY_AND_ASSIGN(TabAndroid); 264 DISALLOW_COPY_AND_ASSIGN(TabAndroid);
262 }; 265 };
263 266
264 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 267 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698