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

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

Issue 1243253004: Pass user gesture bit when chrome handles an intent fired by itself (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix findbugs warning Created 5 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 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 jobject obj); 156 jobject obj);
157 TabLoadStatus LoadUrl(JNIEnv* env, 157 TabLoadStatus LoadUrl(JNIEnv* env,
158 jobject obj, 158 jobject obj,
159 jstring url, 159 jstring url,
160 jstring j_extra_headers, 160 jstring j_extra_headers,
161 jbyteArray j_post_data, 161 jbyteArray j_post_data,
162 jint page_transition, 162 jint page_transition,
163 jstring j_referrer_url, 163 jstring j_referrer_url,
164 jint referrer_policy, 164 jint referrer_policy,
165 jboolean is_renderer_initiated, 165 jboolean is_renderer_initiated,
166 jlong intent_received_timestamp); 166 jlong intent_received_timestamp,
167 jboolean has_user_gesture);
167 void SetActiveNavigationEntryTitleForUrl(JNIEnv* env, 168 void SetActiveNavigationEntryTitleForUrl(JNIEnv* env,
168 jobject obj, 169 jobject obj,
169 jstring jurl, 170 jstring jurl,
170 jstring jtitle); 171 jstring jtitle);
171 bool Print(JNIEnv* env, jobject obj); 172 bool Print(JNIEnv* env, jobject obj);
172 173
173 // Sets the tab as content to be printed through JNI. 174 // Sets the tab as content to be printed through JNI.
174 void SetPendingPrint(); 175 void SetPendingPrint();
175 176
176 // Called to get default favicon of current tab, return null if no 177 // Called to get default favicon of current tab, return null if no
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 scoped_ptr<content::WebContents> web_contents_; 238 scoped_ptr<content::WebContents> web_contents_;
238 scoped_ptr<chrome::android::ChromeWebContentsDelegateAndroid> 239 scoped_ptr<chrome::android::ChromeWebContentsDelegateAndroid>
239 web_contents_delegate_; 240 web_contents_delegate_;
240 241
241 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; 242 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_;
242 243
243 DISALLOW_COPY_AND_ASSIGN(TabAndroid); 244 DISALLOW_COPY_AND_ASSIGN(TabAndroid);
244 }; 245 };
245 246
246 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 247 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698