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

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: Fixed testshell break 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..53ff14ce5d398a06af2589c23d1a751041aea5c3 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 HandlePopupNavigation(chrome::NavigateParams* params) = 0;
+
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