| 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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 | 393 |
| 394 void MoveRangeSelectionExtent(const gfx::PointF& extent); | 394 void MoveRangeSelectionExtent(const gfx::PointF& extent); |
| 395 | 395 |
| 396 void SelectBetweenCoordinates(const gfx::PointF& base, | 396 void SelectBetweenCoordinates(const gfx::PointF& base, |
| 397 const gfx::PointF& extent); | 397 const gfx::PointF& extent); |
| 398 | 398 |
| 399 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); | 399 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); |
| 400 | 400 |
| 401 ui::ViewAndroid* GetViewAndroid(); | 401 ui::ViewAndroid* GetViewAndroid(); |
| 402 | 402 |
| 403 float page_scale() { return page_scale_; } |
| 404 |
| 403 private: | 405 private: |
| 404 class ContentViewUserData; | 406 class ContentViewUserData; |
| 405 | 407 |
| 406 friend class ContentViewUserData; | 408 friend class ContentViewUserData; |
| 407 ~ContentViewCoreImpl() override; | 409 ~ContentViewCoreImpl() override; |
| 408 | 410 |
| 409 // WebContentsObserver implementation. | 411 // WebContentsObserver implementation. |
| 410 void RenderViewReady() override; | 412 void RenderViewReady() override; |
| 411 void RenderViewHostChanged(RenderViewHost* old_host, | 413 void RenderViewHostChanged(RenderViewHost* old_host, |
| 412 RenderViewHost* new_host) override; | 414 RenderViewHost* new_host) override; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 478 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
| 477 | 479 |
| 478 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 480 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 479 }; | 481 }; |
| 480 | 482 |
| 481 bool RegisterContentViewCore(JNIEnv* env); | 483 bool RegisterContentViewCore(JNIEnv* env); |
| 482 | 484 |
| 483 } // namespace content | 485 } // namespace content |
| 484 | 486 |
| 485 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 487 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |