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