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

Unified Diff: chrome/android/testshell/testshell_tab.h

Issue 23020009: TabBase: Add ContentView/NativePage ownership (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase! 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
« no previous file with comments | « chrome/android/testshell/testshell_stubs.cc ('k') | chrome/android/testshell/testshell_tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/testshell/testshell_tab.h
diff --git a/chrome/android/testshell/testshell_tab.h b/chrome/android/testshell/testshell_tab.h
index 99a0d6568e844fe1da83e3498a788115f69eff13..7bfde34bb6c79b771392ef9854412461af1f9305 100644
--- a/chrome/android/testshell/testshell_tab.h
+++ b/chrome/android/testshell/testshell_tab.h
@@ -35,17 +35,12 @@ class WindowAndroid;
class TestShellTab : public TabAndroid {
public:
- TestShellTab(JNIEnv* env,
- jobject obj,
- content::WebContents* web_contents,
- ui::WindowAndroid* window_android);
+ TestShellTab(JNIEnv* env, jobject obj);
void Destroy(JNIEnv* env, jobject obj);
// --------------------------------------------------------------------------
// TabAndroid Methods
// --------------------------------------------------------------------------
- virtual content::WebContents* GetWebContents() OVERRIDE;
-
virtual browser_sync::SyncedTabDelegate* GetSyncedTabDelegate() OVERRIDE;
virtual void OnReceivedHttpAuthRequest(jobject auth_handler,
@@ -82,10 +77,6 @@ class TestShellTab : public TabAndroid {
// --------------------------------------------------------------------------
// Methods called from Java via JNI
// --------------------------------------------------------------------------
- void InitWebContentsDelegate(JNIEnv* env,
- jobject obj,
- jobject web_contents_delegate);
-
base::android::ScopedJavaLocalRef<jstring> FixupUrl(JNIEnv* env,
jobject obj,
jstring url);
@@ -94,10 +85,6 @@ class TestShellTab : public TabAndroid {
virtual ~TestShellTab();
private:
- scoped_ptr<content::WebContents> web_contents_;
- scoped_ptr<chrome::android::ChromeWebContentsDelegateAndroid>
- web_contents_delegate_;
-
DISALLOW_COPY_AND_ASSIGN(TestShellTab);
};
« no previous file with comments | « chrome/android/testshell/testshell_stubs.cc ('k') | chrome/android/testshell/testshell_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698