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

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

Issue 1358923002: Extract TabChromeWebContentsDelegateAndroid into a separate class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chrometab10
Patch Set: Rebase Created 5 years, 2 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 9
10 #include "base/android/jni_weak_ref.h" 10 #include "base/android/jni_weak_ref.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 Profile* GetProfile() const; 115 Profile* GetProfile() const;
116 browser_sync::SyncedTabDelegate* GetSyncedTabDelegate() const; 116 browser_sync::SyncedTabDelegate* GetSyncedTabDelegate() const;
117 117
118 void SetWindowSessionID(SessionID::id_type window_id); 118 void SetWindowSessionID(SessionID::id_type window_id);
119 void SetSyncId(int sync_id); 119 void SetSyncId(int sync_id);
120 120
121 void HandlePopupNavigation(chrome::NavigateParams* params); 121 void HandlePopupNavigation(chrome::NavigateParams* params);
122 122
123 bool HasPrerenderedUrl(GURL gurl); 123 bool HasPrerenderedUrl(GURL gurl);
124 124
125 void OnRendererUnresponsive(JNIEnv* env, jobject obj);
126 void OnRendererResponsive(JNIEnv* env, jobject obj);
127
128 void MakeLoadURLParams( 125 void MakeLoadURLParams(
129 chrome::NavigateParams* params, 126 chrome::NavigateParams* params,
130 content::NavigationController::LoadURLParams* load_url_params); 127 content::NavigationController::LoadURLParams* load_url_params);
131 128
132 // Overridden from CoreTabHelperDelegate: 129 // Overridden from CoreTabHelperDelegate:
133 void SwapTabContents(content::WebContents* old_contents, 130 void SwapTabContents(content::WebContents* old_contents,
134 content::WebContents* new_contents, 131 content::WebContents* new_contents,
135 bool did_start_load, 132 bool did_start_load,
136 bool did_finish_load) override; 133 bool did_finish_load) override;
137 134
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 scoped_ptr<content::WebContents> web_contents_; 257 scoped_ptr<content::WebContents> web_contents_;
261 scoped_ptr<chrome::android::ChromeWebContentsDelegateAndroid> 258 scoped_ptr<chrome::android::ChromeWebContentsDelegateAndroid>
262 web_contents_delegate_; 259 web_contents_delegate_;
263 260
264 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; 261 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_;
265 262
266 DISALLOW_COPY_AND_ASSIGN(TabAndroid); 263 DISALLOW_COPY_AND_ASSIGN(TabAndroid);
267 }; 264 };
268 265
269 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 266 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_web_contents_delegate_android.cc ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698