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

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

Issue 2842693005: Store physical backing size in ViewAndroid (Closed)
Patch Set: no UpdateLayerBounds Created 3 years, 7 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 const base::android::JavaParamRef<jobject>& jweb_contents_delegate, 151 const base::android::JavaParamRef<jobject>& jweb_contents_delegate,
152 const base::android::JavaParamRef<jobject>& jcontext_menu_populator); 152 const base::android::JavaParamRef<jobject>& jcontext_menu_populator);
153 void UpdateDelegates( 153 void UpdateDelegates(
154 JNIEnv* env, 154 JNIEnv* env,
155 const base::android::JavaParamRef<jobject>& obj, 155 const base::android::JavaParamRef<jobject>& obj,
156 const base::android::JavaParamRef<jobject>& jweb_contents_delegate, 156 const base::android::JavaParamRef<jobject>& jweb_contents_delegate,
157 const base::android::JavaParamRef<jobject>& jcontext_menu_populator); 157 const base::android::JavaParamRef<jobject>& jcontext_menu_populator);
158 void DestroyWebContents(JNIEnv* env, 158 void DestroyWebContents(JNIEnv* env,
159 const base::android::JavaParamRef<jobject>& obj, 159 const base::android::JavaParamRef<jobject>& obj,
160 jboolean delete_native); 160 jboolean delete_native);
161 void OnPhysicalBackingSizeChanged(
162 JNIEnv* env,
163 const base::android::JavaParamRef<jobject>& obj,
164 const base::android::JavaParamRef<jobject>& jweb_contents,
165 jint width,
166 jint height);
161 base::android::ScopedJavaLocalRef<jobject> GetProfileAndroid( 167 base::android::ScopedJavaLocalRef<jobject> GetProfileAndroid(
162 JNIEnv* env, 168 JNIEnv* env,
163 const base::android::JavaParamRef<jobject>& obj); 169 const base::android::JavaParamRef<jobject>& obj);
164 TabLoadStatus LoadUrl( 170 TabLoadStatus LoadUrl(
165 JNIEnv* env, 171 JNIEnv* env,
166 const base::android::JavaParamRef<jobject>& obj, 172 const base::android::JavaParamRef<jobject>& obj,
167 const base::android::JavaParamRef<jstring>& url, 173 const base::android::JavaParamRef<jstring>& url,
168 const base::android::JavaParamRef<jstring>& j_extra_headers, 174 const base::android::JavaParamRef<jstring>& j_extra_headers,
169 const base::android::JavaParamRef<jobject>& j_post_data, 175 const base::android::JavaParamRef<jobject>& j_post_data,
170 jint page_transition, 176 jint page_transition,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 scoped_refptr<content::DevToolsAgentHost> devtools_host_; 276 scoped_refptr<content::DevToolsAgentHost> devtools_host_;
271 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; 277 std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_;
272 278
273 std::string webapp_manifest_scope_; 279 std::string webapp_manifest_scope_;
274 bool embedded_media_experience_enabled_; 280 bool embedded_media_experience_enabled_;
275 281
276 DISALLOW_COPY_AND_ASSIGN(TabAndroid); 282 DISALLOW_COPY_AND_ASSIGN(TabAndroid);
277 }; 283 };
278 284
279 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 285 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698