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

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

Issue 1569893003: Add "Request app banner" context menu in DevTools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated dominickn's 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698