| OLD | NEW |
| 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 bool DoBrowserControlsShrinkBlinkSize() const; | 302 bool DoBrowserControlsShrinkBlinkSize() const; |
| 303 float GetTopControlsHeightDip() const; | 303 float GetTopControlsHeightDip() const; |
| 304 float GetBottomControlsHeightDip() const; | 304 float GetBottomControlsHeightDip() const; |
| 305 | 305 |
| 306 void MoveRangeSelectionExtent(const gfx::PointF& extent); | 306 void MoveRangeSelectionExtent(const gfx::PointF& extent); |
| 307 | 307 |
| 308 void SelectBetweenCoordinates(const gfx::PointF& base, | 308 void SelectBetweenCoordinates(const gfx::PointF& base, |
| 309 const gfx::PointF& extent); | 309 const gfx::PointF& extent); |
| 310 | 310 |
| 311 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); | 311 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); |
| 312 void OnSelectWordAroundCaretAck(bool did_select, |
| 313 int start_adjust, |
| 314 int end_adjust); |
| 312 void OnTouchDown(const base::android::ScopedJavaLocalRef<jobject>& event); | 315 void OnTouchDown(const base::android::ScopedJavaLocalRef<jobject>& event); |
| 313 | 316 |
| 314 ui::ViewAndroid* GetViewAndroid() const; | 317 ui::ViewAndroid* GetViewAndroid() const; |
| 315 | 318 |
| 316 private: | 319 private: |
| 317 class ContentViewUserData; | 320 class ContentViewUserData; |
| 318 | 321 |
| 319 friend class ContentViewUserData; | 322 friend class ContentViewUserData; |
| 320 ~ContentViewCoreImpl() override; | 323 ~ContentViewCoreImpl() override; |
| 321 | 324 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 385 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
| 383 | 386 |
| 384 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 387 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 385 }; | 388 }; |
| 386 | 389 |
| 387 bool RegisterContentViewCore(JNIEnv* env); | 390 bool RegisterContentViewCore(JNIEnv* env); |
| 388 | 391 |
| 389 } // namespace content | 392 } // namespace content |
| 390 | 393 |
| 391 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 394 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |