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

Unified Diff: chrome/browser/android/tab_android.h

Issue 23264020: Move Android to use new Popup Blocker API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Comments Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/tab_android.h
diff --git a/chrome/browser/android/tab_android.h b/chrome/browser/android/tab_android.h
index 19d8f25cec0fdc7347a2d715b158df4c485ea60f..21ca338b80c2aff088336da3e3ea570071fb61f6 100644
--- a/chrome/browser/android/tab_android.h
+++ b/chrome/browser/android/tab_android.h
@@ -20,6 +20,10 @@ namespace browser_sync {
class SyncedTabDelegate;
}
+namespace chrome {
+struct NavigateParams;
+}
+
namespace content {
struct ContextMenuParams;
class WebContents;
@@ -44,6 +48,8 @@ class TabAndroid {
const SessionID& id() const { return tab_id_; }
+ virtual void HandleNavigation(chrome::NavigateParams* params) = 0;
Yaron 2013/08/22 00:36:30 I don't think TestShell will link. To this end, co
+
virtual void OnReceivedHttpAuthRequest(jobject auth_handler,
const string16& host,
const string16& realm) = 0;
@@ -90,11 +96,11 @@ class TabAndroid {
static bool RegisterTabAndroid(JNIEnv* env);
+ static void InitTabHelpers(content::WebContents* web_contents);
+
protected:
virtual ~TabAndroid();
- static void InitTabHelpers(content::WebContents* web_contents);
-
content::WebContents* InitWebContentsFromView(JNIEnv* env,
jobject content_view);

Powered by Google App Engine
This is Rietveld 408576698