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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 gfx::Size GetViewSizeWithOSKHidden() const; | 373 gfx::Size GetViewSizeWithOSKHidden() const; |
374 | 374 |
375 void SetAccessibilityEnabledInternal(bool enabled); | 375 void SetAccessibilityEnabledInternal(bool enabled); |
376 | 376 |
377 bool IsFullscreenRequiredForOrientationLock() const; | 377 bool IsFullscreenRequiredForOrientationLock() const; |
378 | 378 |
379 // -------------------------------------------------------------------------- | 379 // -------------------------------------------------------------------------- |
380 // Methods called from native code | 380 // Methods called from native code |
381 // -------------------------------------------------------------------------- | 381 // -------------------------------------------------------------------------- |
382 | 382 |
383 gfx::Size GetPhysicalBackingSize() const; | |
384 gfx::Size GetViewportSizeDip() const; | 383 gfx::Size GetViewportSizeDip() const; |
385 bool DoBrowserControlsShrinkBlinkSize() const; | 384 bool DoBrowserControlsShrinkBlinkSize() const; |
386 float GetTopControlsHeightDip() const; | 385 float GetTopControlsHeightDip() const; |
387 float GetBottomControlsHeightDip() const; | 386 float GetBottomControlsHeightDip() const; |
388 | 387 |
389 void MoveRangeSelectionExtent(const gfx::PointF& extent); | 388 void MoveRangeSelectionExtent(const gfx::PointF& extent); |
390 | 389 |
391 void SelectBetweenCoordinates(const gfx::PointF& base, | 390 void SelectBetweenCoordinates(const gfx::PointF& base, |
392 const gfx::PointF& extent); | 391 const gfx::PointF& extent); |
393 | 392 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 469 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
471 | 470 |
472 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 471 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
473 }; | 472 }; |
474 | 473 |
475 bool RegisterContentViewCore(JNIEnv* env); | 474 bool RegisterContentViewCore(JNIEnv* env); |
476 | 475 |
477 } // namespace content | 476 } // namespace content |
478 | 477 |
479 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 478 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |