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

Side by Side Diff: content/browser/web_contents/web_contents_android.h

Issue 2407303005: Let embedder provide select action mode (Closed)
Patch Set: fixing tests Created 4 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 return synchronous_compositor_client_; 182 return synchronous_compositor_client_;
183 } 183 }
184 184
185 int DownloadImage(JNIEnv* env, 185 int DownloadImage(JNIEnv* env,
186 const base::android::JavaParamRef<jobject>& obj, 186 const base::android::JavaParamRef<jobject>& obj,
187 const base::android::JavaParamRef<jstring>& url, 187 const base::android::JavaParamRef<jstring>& url,
188 jboolean is_fav_icon, 188 jboolean is_fav_icon,
189 jint max_bitmap_size, 189 jint max_bitmap_size,
190 jboolean bypass_cache, 190 jboolean bypass_cache,
191 const base::android::JavaParamRef<jobject>& jcallback); 191 const base::android::JavaParamRef<jobject>& jcallback);
192 void DismissTextHandles(JNIEnv* env,
193 const base::android::JavaParamRef<jobject>& obj);
192 194
193 void SetMediaSession( 195 void SetMediaSession(
194 const base::android::ScopedJavaLocalRef<jobject>& j_media_session); 196 const base::android::ScopedJavaLocalRef<jobject>& j_media_session);
195 197
196 private: 198 private:
197 RenderWidgetHostViewAndroid* GetRenderWidgetHostViewAndroid(); 199 RenderWidgetHostViewAndroid* GetRenderWidgetHostViewAndroid();
198 200
199 void OnFinishGetContentBitmap( 201 void OnFinishGetContentBitmap(
200 base::android::ScopedJavaGlobalRef<jobject>* obj, 202 base::android::ScopedJavaGlobalRef<jobject>* obj,
201 base::android::ScopedJavaGlobalRef<jobject>* callback, 203 base::android::ScopedJavaGlobalRef<jobject>* callback,
(...skipping 15 matching lines...) Expand all
217 SynchronousCompositorClient* synchronous_compositor_client_; 219 SynchronousCompositorClient* synchronous_compositor_client_;
218 220
219 base::WeakPtrFactory<WebContentsAndroid> weak_factory_; 221 base::WeakPtrFactory<WebContentsAndroid> weak_factory_;
220 222
221 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid); 223 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid);
222 }; 224 };
223 225
224 } // namespace content 226 } // namespace content
225 227
226 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 228 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698