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

Side by Side Diff: content/browser/android/content_view_core_impl.h

Issue 1471993002: Resume cursor blinking on closing context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: robusted onContextMenuClosed() and fixed nits Created 5 years 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 jobject view_android, 46 jobject view_android,
47 ui::WindowAndroid* window_android, 47 ui::WindowAndroid* window_android,
48 jobject java_bridge_retained_object_set); 48 jobject java_bridge_retained_object_set);
49 49
50 // ContentViewCore implementation. 50 // ContentViewCore implementation.
51 base::android::ScopedJavaLocalRef<jobject> GetJavaObject() override; 51 base::android::ScopedJavaLocalRef<jobject> GetJavaObject() override;
52 WebContents* GetWebContents() const override; 52 WebContents* GetWebContents() const override;
53 ui::ViewAndroid* GetViewAndroid() const override; 53 ui::ViewAndroid* GetViewAndroid() const override;
54 ui::WindowAndroid* GetWindowAndroid() const override; 54 ui::WindowAndroid* GetWindowAndroid() const override;
55 const scoped_refptr<cc::Layer>& GetLayer() const override; 55 const scoped_refptr<cc::Layer>& GetLayer() const override;
56 void ShowPastePopup(int x, int y) override; 56 bool ShowPastePopup(int x, int y) override;
57 void GetScaledContentBitmap( 57 void GetScaledContentBitmap(
58 float scale, 58 float scale,
59 SkColorType preferred_color_type, 59 SkColorType preferred_color_type,
60 const gfx::Rect& src_subrect, 60 const gfx::Rect& src_subrect,
61 const ReadbackRequestCallback& result_callback) override; 61 const ReadbackRequestCallback& result_callback) override;
62 float GetDpiScale() const override; 62 float GetDpiScale() const override;
63 void PauseOrResumeGeolocation(bool should_pause) override; 63 void PauseOrResumeGeolocation(bool should_pause) override;
64 void RequestTextSurroundingSelection( 64 void RequestTextSurroundingSelection(
65 int max_length, 65 int max_length,
66 const base::Callback<void(const base::string16& content, 66 const base::Callback<void(const base::string16& content,
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 391 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
392 392
393 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 393 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
394 }; 394 };
395 395
396 bool RegisterContentViewCore(JNIEnv* env); 396 bool RegisterContentViewCore(JNIEnv* env);
397 397
398 } // namespace content 398 } // namespace content
399 399
400 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 400 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698