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

Side by Side Diff: content/browser/android/content_view_core.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, 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 gfx::Size GetViewportSizeDip() const; 274 gfx::Size GetViewportSizeDip() const;
275 bool DoBrowserControlsShrinkBlinkSize() const; 275 bool DoBrowserControlsShrinkBlinkSize() const;
276 float GetTopControlsHeightDip() const; 276 float GetTopControlsHeightDip() const;
277 float GetBottomControlsHeightDip() const; 277 float GetBottomControlsHeightDip() const;
278 278
279 void MoveRangeSelectionExtent(const gfx::PointF& extent); 279 void MoveRangeSelectionExtent(const gfx::PointF& extent);
280 280
281 void SelectBetweenCoordinates(const gfx::PointF& base, 281 void SelectBetweenCoordinates(const gfx::PointF& base,
282 const gfx::PointF& extent); 282 const gfx::PointF& extent);
283 283
284 void UpdateCursor(const content::CursorInfo& info);
284 void OnTouchDown(const base::android::ScopedJavaLocalRef<jobject>& event); 285 void OnTouchDown(const base::android::ScopedJavaLocalRef<jobject>& event);
285 286
286 ui::ViewAndroid* GetViewAndroid() const; 287 ui::ViewAndroid* GetViewAndroid() const;
287 288
288 private: 289 private:
289 class ContentViewUserData; 290 class ContentViewUserData;
290 291
291 friend class ContentViewUserData; 292 friend class ContentViewUserData;
292 ~ContentViewCore() override; 293 ~ContentViewCore() override;
293 294
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 348
348 // Manages injecting Java objects. 349 // Manages injecting Java objects.
349 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 350 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
350 351
351 DISALLOW_COPY_AND_ASSIGN(ContentViewCore); 352 DISALLOW_COPY_AND_ASSIGN(ContentViewCore);
352 }; 353 };
353 354
354 } // namespace content 355 } // namespace content
355 356
356 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ 357 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_
OLDNEW
« no previous file with comments | « chrome/android/java_sources.gni ('k') | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698