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

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

Issue 2878403002: Support setting mouse cursor icon in Android N. (Closed)
Patch Set: Support setting mouse cursor icon in Android N Created 3 years, 5 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 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 gfx::Size GetViewportSizeDip() const; 282 gfx::Size GetViewportSizeDip() const;
283 bool DoBrowserControlsShrinkBlinkSize() const; 283 bool DoBrowserControlsShrinkBlinkSize() const;
284 float GetTopControlsHeightDip() const; 284 float GetTopControlsHeightDip() const;
285 float GetBottomControlsHeightDip() const; 285 float GetBottomControlsHeightDip() const;
286 286
287 void MoveRangeSelectionExtent(const gfx::PointF& extent); 287 void MoveRangeSelectionExtent(const gfx::PointF& extent);
288 288
289 void SelectBetweenCoordinates(const gfx::PointF& base, 289 void SelectBetweenCoordinates(const gfx::PointF& base,
290 const gfx::PointF& extent); 290 const gfx::PointF& extent);
291 291
292 void UpdateCursor(const content::CursorInfo& info);
292 void OnTouchDown(const base::android::ScopedJavaLocalRef<jobject>& event); 293 void OnTouchDown(const base::android::ScopedJavaLocalRef<jobject>& event);
293 294
294 ui::ViewAndroid* GetViewAndroid() const; 295 ui::ViewAndroid* GetViewAndroid() const;
295 296
296 private: 297 private:
297 class ContentViewUserData; 298 class ContentViewUserData;
298 299
299 friend class ContentViewUserData; 300 friend class ContentViewUserData;
300 ~ContentViewCoreImpl() override; 301 ~ContentViewCoreImpl() override;
301 302
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 358 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
358 359
359 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 360 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
360 }; 361 };
361 362
362 bool RegisterContentViewCore(JNIEnv* env); 363 bool RegisterContentViewCore(JNIEnv* env);
363 364
364 } // namespace content 365 } // namespace content
365 366
366 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 367 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698