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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 gfx::Size GetViewSizeWithOSKHidden() const; | 371 gfx::Size GetViewSizeWithOSKHidden() const; |
372 | 372 |
373 void SetAccessibilityEnabledInternal(bool enabled); | 373 void SetAccessibilityEnabledInternal(bool enabled); |
374 | 374 |
375 bool IsFullscreenRequiredForOrientationLock() const; | 375 bool IsFullscreenRequiredForOrientationLock() const; |
376 | 376 |
377 // -------------------------------------------------------------------------- | 377 // -------------------------------------------------------------------------- |
378 // Methods called from native code | 378 // Methods called from native code |
379 // -------------------------------------------------------------------------- | 379 // -------------------------------------------------------------------------- |
380 | 380 |
| 381 gfx::Size GetPhysicalBackingSize() const; |
381 gfx::Size GetViewportSizeDip() const; | 382 gfx::Size GetViewportSizeDip() const; |
382 bool DoBrowserControlsShrinkBlinkSize() const; | 383 bool DoBrowserControlsShrinkBlinkSize() const; |
383 float GetTopControlsHeightDip() const; | 384 float GetTopControlsHeightDip() const; |
384 float GetBottomControlsHeightDip() const; | 385 float GetBottomControlsHeightDip() const; |
385 | 386 |
386 void MoveRangeSelectionExtent(const gfx::PointF& extent); | 387 void MoveRangeSelectionExtent(const gfx::PointF& extent); |
387 | 388 |
388 void SelectBetweenCoordinates(const gfx::PointF& base, | 389 void SelectBetweenCoordinates(const gfx::PointF& base, |
389 const gfx::PointF& extent); | 390 const gfx::PointF& extent); |
390 | 391 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 462 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
462 | 463 |
463 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 464 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
464 }; | 465 }; |
465 | 466 |
466 bool RegisterContentViewCore(JNIEnv* env); | 467 bool RegisterContentViewCore(JNIEnv* env); |
467 | 468 |
468 } // namespace content | 469 } // namespace content |
469 | 470 |
470 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 471 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |