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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 gfx::Size GetViewSize() const; | 288 gfx::Size GetViewSize() const; |
289 | 289 |
290 void SetAccessibilityEnabledInternal(bool enabled); | 290 void SetAccessibilityEnabledInternal(bool enabled); |
291 | 291 |
292 bool IsFullscreenRequiredForOrientationLock() const; | 292 bool IsFullscreenRequiredForOrientationLock() const; |
293 | 293 |
294 // -------------------------------------------------------------------------- | 294 // -------------------------------------------------------------------------- |
295 // Methods called from native code | 295 // Methods called from native code |
296 // -------------------------------------------------------------------------- | 296 // -------------------------------------------------------------------------- |
297 | 297 |
298 gfx::Size GetPhysicalBackingSize() const; | |
299 gfx::Size GetViewportSizeDip() const; | 298 gfx::Size GetViewportSizeDip() const; |
300 bool DoBrowserControlsShrinkBlinkSize() const; | 299 bool DoBrowserControlsShrinkBlinkSize() const; |
301 float GetTopControlsHeightDip() const; | 300 float GetTopControlsHeightDip() const; |
302 float GetBottomControlsHeightDip() const; | 301 float GetBottomControlsHeightDip() const; |
303 | 302 |
304 void MoveRangeSelectionExtent(const gfx::PointF& extent); | 303 void MoveRangeSelectionExtent(const gfx::PointF& extent); |
305 | 304 |
306 void SelectBetweenCoordinates(const gfx::PointF& base, | 305 void SelectBetweenCoordinates(const gfx::PointF& base, |
307 const gfx::PointF& extent); | 306 const gfx::PointF& extent); |
308 | 307 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 379 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
381 | 380 |
382 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 381 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
383 }; | 382 }; |
384 | 383 |
385 bool RegisterContentViewCore(JNIEnv* env); | 384 bool RegisterContentViewCore(JNIEnv* env); |
386 | 385 |
387 } // namespace content | 386 } // namespace content |
388 | 387 |
389 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 388 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |