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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 // TabAndroid then handles showing Lo-Fi UI if this is the first Lo-Fi | 128 // TabAndroid then handles showing Lo-Fi UI if this is the first Lo-Fi |
129 // response for a page load. |is_preview| indicates whether the response was a | 129 // response for a page load. |is_preview| indicates whether the response was a |
130 // Lo-Fi preview response. | 130 // Lo-Fi preview response. |
131 void OnLoFiResponseReceived(bool is_preview); | 131 void OnLoFiResponseReceived(bool is_preview); |
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 bool RequestAppBanner(content::WebContents* web_contents) override; |
138 | 139 |
139 // Overridden from InstantServiceObserver: | 140 // Overridden from InstantServiceObserver: |
140 void DefaultSearchProviderChanged( | 141 void DefaultSearchProviderChanged( |
141 bool google_base_url_domain_changed) override; | 142 bool google_base_url_domain_changed) override; |
142 | 143 |
143 // Overridden from SearchTabHelperDelegate: | 144 // Overridden from SearchTabHelperDelegate: |
144 void OnWebContentsInstantSupportDisabled( | 145 void OnWebContentsInstantSupportDisabled( |
145 const content::WebContents* web_contents) override; | 146 const content::WebContents* web_contents) override; |
146 | 147 |
147 // Overridden from NotificationObserver: | 148 // Overridden from NotificationObserver: |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 scoped_ptr<content::WebContents> web_contents_; | 281 scoped_ptr<content::WebContents> web_contents_; |
281 scoped_ptr<chrome::android::TabWebContentsDelegateAndroid> | 282 scoped_ptr<chrome::android::TabWebContentsDelegateAndroid> |
282 web_contents_delegate_; | 283 web_contents_delegate_; |
283 | 284 |
284 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; | 285 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; |
285 | 286 |
286 DISALLOW_COPY_AND_ASSIGN(TabAndroid); | 287 DISALLOW_COPY_AND_ASSIGN(TabAndroid); |
287 }; | 288 }; |
288 | 289 |
289 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ | 290 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ |
OLD | NEW |