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

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

Issue 646943005: Make GetSecurityLevel available from the java ToolbarModel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved null check Created 6 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 jobject obj); 134 jobject obj);
135 virtual TabLoadStatus LoadUrl(JNIEnv* env, 135 virtual TabLoadStatus LoadUrl(JNIEnv* env,
136 jobject obj, 136 jobject obj,
137 jstring url, 137 jstring url,
138 jstring j_extra_headers, 138 jstring j_extra_headers,
139 jbyteArray j_post_data, 139 jbyteArray j_post_data,
140 jint page_transition, 140 jint page_transition,
141 jstring j_referrer_url, 141 jstring j_referrer_url,
142 jint referrer_policy, 142 jint referrer_policy,
143 jboolean is_renderer_initiated); 143 jboolean is_renderer_initiated);
144 ToolbarModel::SecurityLevel GetSecurityLevel(JNIEnv* env, jobject obj);
145 void SetActiveNavigationEntryTitleForUrl(JNIEnv* env, 144 void SetActiveNavigationEntryTitleForUrl(JNIEnv* env,
146 jobject obj, 145 jobject obj,
147 jstring jurl, 146 jstring jurl,
148 jstring jtitle); 147 jstring jtitle);
149 bool Print(JNIEnv* env, jobject obj); 148 bool Print(JNIEnv* env, jobject obj);
150 // Called to get favicon of current tab, return null if no favicon is 149 // Called to get favicon of current tab, return null if no favicon is
151 // avaliable for current tab. 150 // avaliable for current tab.
152 base::android::ScopedJavaLocalRef<jobject> GetFavicon(JNIEnv* env, 151 base::android::ScopedJavaLocalRef<jobject> GetFavicon(JNIEnv* env,
153 jobject obj); 152 jobject obj);
154 jboolean IsFaviconValid(JNIEnv* env, jobject jobj); 153 jboolean IsFaviconValid(JNIEnv* env, jobject jobj);
(...skipping 17 matching lines...) Expand all
172 scoped_ptr<content::WebContents> web_contents_; 171 scoped_ptr<content::WebContents> web_contents_;
173 scoped_ptr<chrome::android::ChromeWebContentsDelegateAndroid> 172 scoped_ptr<chrome::android::ChromeWebContentsDelegateAndroid>
174 web_contents_delegate_; 173 web_contents_delegate_;
175 174
176 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_; 175 scoped_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_;
177 176
178 DISALLOW_COPY_AND_ASSIGN(TabAndroid); 177 DISALLOW_COPY_AND_ASSIGN(TabAndroid);
179 }; 178 };
180 179
181 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 180 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarModel.java ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698