| OLD | NEW |
| 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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 gfx::Size GetViewportSizeDip() const; | 275 gfx::Size GetViewportSizeDip() const; |
| 276 bool DoBrowserControlsShrinkBlinkSize() const; | 276 bool DoBrowserControlsShrinkBlinkSize() const; |
| 277 float GetTopControlsHeightDip() const; | 277 float GetTopControlsHeightDip() const; |
| 278 float GetBottomControlsHeightDip() const; | 278 float GetBottomControlsHeightDip() const; |
| 279 | 279 |
| 280 void MoveRangeSelectionExtent(const gfx::PointF& extent); | 280 void MoveRangeSelectionExtent(const gfx::PointF& extent); |
| 281 | 281 |
| 282 void SelectBetweenCoordinates(const gfx::PointF& base, | 282 void SelectBetweenCoordinates(const gfx::PointF& base, |
| 283 const gfx::PointF& extent); | 283 const gfx::PointF& extent); |
| 284 | 284 |
| 285 void UpdateCursor(const content::CursorInfo& info); |
| 285 void OnTouchDown(const base::android::ScopedJavaLocalRef<jobject>& event); | 286 void OnTouchDown(const base::android::ScopedJavaLocalRef<jobject>& event); |
| 286 | 287 |
| 287 ui::ViewAndroid* GetViewAndroid() const; | 288 ui::ViewAndroid* GetViewAndroid() const; |
| 288 | 289 |
| 289 private: | 290 private: |
| 290 class ContentViewUserData; | 291 class ContentViewUserData; |
| 291 | 292 |
| 292 friend class ContentViewUserData; | 293 friend class ContentViewUserData; |
| 293 ~ContentViewCore() override; | 294 ~ContentViewCore() override; |
| 294 | 295 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 | 349 |
| 349 // Manages injecting Java objects. | 350 // Manages injecting Java objects. |
| 350 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 351 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
| 351 | 352 |
| 352 DISALLOW_COPY_AND_ASSIGN(ContentViewCore); | 353 DISALLOW_COPY_AND_ASSIGN(ContentViewCore); |
| 353 }; | 354 }; |
| 354 | 355 |
| 355 } // namespace content | 356 } // namespace content |
| 356 | 357 |
| 357 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ | 358 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ |
| OLD | NEW |