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