Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: content/browser/android/content_view_core_impl.h

Issue 2842693005: Store physical backing size in ViewAndroid (Closed)
Patch Set: no UpdateLayerBounds Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 gfx::Size GetViewSize() const; 290 gfx::Size GetViewSize() const;
291 291
292 void SetAccessibilityEnabledInternal(bool enabled); 292 void SetAccessibilityEnabledInternal(bool enabled);
293 293
294 bool IsFullscreenRequiredForOrientationLock() const; 294 bool IsFullscreenRequiredForOrientationLock() const;
295 295
296 // -------------------------------------------------------------------------- 296 // --------------------------------------------------------------------------
297 // Methods called from native code 297 // Methods called from native code
298 // -------------------------------------------------------------------------- 298 // --------------------------------------------------------------------------
299 299
300 gfx::Size GetPhysicalBackingSize() const;
301 gfx::Size GetViewportSizeDip() const; 300 gfx::Size GetViewportSizeDip() const;
302 bool DoBrowserControlsShrinkBlinkSize() const; 301 bool DoBrowserControlsShrinkBlinkSize() const;
303 float GetTopControlsHeightDip() const; 302 float GetTopControlsHeightDip() const;
304 float GetBottomControlsHeightDip() const; 303 float GetBottomControlsHeightDip() const;
305 304
306 void MoveRangeSelectionExtent(const gfx::PointF& extent); 305 void MoveRangeSelectionExtent(const gfx::PointF& extent);
307 306
308 void SelectBetweenCoordinates(const gfx::PointF& base, 307 void SelectBetweenCoordinates(const gfx::PointF& base,
309 const gfx::PointF& extent); 308 const gfx::PointF& extent);
310 309
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 381 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
383 382
384 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 383 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
385 }; 384 };
386 385
387 bool RegisterContentViewCore(JNIEnv* env); 386 bool RegisterContentViewCore(JNIEnv* env);
388 387
389 } // namespace content 388 } // namespace content
390 389
391 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 390 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698