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; | |
382 gfx::Size GetViewportSizeDip() const; | 381 gfx::Size GetViewportSizeDip() const; |
383 bool DoBrowserControlsShrinkBlinkSize() const; | 382 bool DoBrowserControlsShrinkBlinkSize() const; |
384 float GetTopControlsHeightDip() const; | 383 float GetTopControlsHeightDip() const; |
385 float GetBottomControlsHeightDip() const; | 384 float GetBottomControlsHeightDip() const; |
386 | 385 |
387 void MoveRangeSelectionExtent(const gfx::PointF& extent); | 386 void MoveRangeSelectionExtent(const gfx::PointF& extent); |
388 | 387 |
389 void SelectBetweenCoordinates(const gfx::PointF& base, | 388 void SelectBetweenCoordinates(const gfx::PointF& base, |
390 const gfx::PointF& extent); | 389 const gfx::PointF& extent); |
391 | 390 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 461 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
463 | 462 |
464 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 463 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
465 }; | 464 }; |
466 | 465 |
467 bool RegisterContentViewCore(JNIEnv* env); | 466 bool RegisterContentViewCore(JNIEnv* env); |
468 | 467 |
469 } // namespace content | 468 } // namespace content |
470 | 469 |
471 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 470 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |