OLD | NEW |
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 Loading... |
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 NotifyLoFiResponseReceived(); |
| 132 |
131 // Overridden from CoreTabHelperDelegate: | 133 // Overridden from CoreTabHelperDelegate: |
132 void SwapTabContents(content::WebContents* old_contents, | 134 void SwapTabContents(content::WebContents* old_contents, |
133 content::WebContents* new_contents, | 135 content::WebContents* new_contents, |
134 bool did_start_load, | 136 bool did_start_load, |
135 bool did_finish_load) override; | 137 bool did_finish_load) override; |
136 | 138 |
137 // Overridden from InstantServiceObserver: | 139 // Overridden from InstantServiceObserver: |
138 void DefaultSearchProviderChanged( | 140 void DefaultSearchProviderChanged( |
139 bool google_base_url_domain_changed) override; | 141 bool google_base_url_domain_changed) override; |
140 | 142 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 scoped_ptr<content::WebContents> web_contents_; | 280 scoped_ptr<content::WebContents> web_contents_; |
279 scoped_ptr<chrome::android::TabWebContentsDelegateAndroid> | 281 scoped_ptr<chrome::android::TabWebContentsDelegateAndroid> |
280 web_contents_delegate_; | 282 web_contents_delegate_; |
281 | 283 |
282 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; | 284 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; |
283 | 285 |
284 DISALLOW_COPY_AND_ASSIGN(TabAndroid); | 286 DISALLOW_COPY_AND_ASSIGN(TabAndroid); |
285 }; | 287 }; |
286 | 288 |
287 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ | 289 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ |
OLD | NEW |