Commit 4b4eac00 authored by Andrei Chulkov's avatar Andrei Chulkov Committed by Commit Bot

Fix descriptions of WebContents size methods

The descriptions of the getHeight and getWidth methods of
the WebContents class state that the return values are in physical pixels,
whereas they are actually in dip.

Change-Id: I1b18cf0182f025b6b880e70d13c3265d0f825791
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768710Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
Reviewed-by: default avatarFriedrich [CET] <fhorschig@chromium.org>
Commit-Queue: Andrei Chulkov <achulkov@google.com>
Cr-Commit-Position: refs/heads/master@{#691556}
parent 7d027460
...@@ -462,16 +462,16 @@ public interface WebContents extends Parcelable { ...@@ -462,16 +462,16 @@ public interface WebContents extends Parcelable {
void setSize(int width, int height); void setSize(int width, int height);
/** /**
* Gets the view size width of the WebContents. The size is in physical pixels. * Gets the view size width of the WebContents.
* *
* @return The width of the view. * @return The width of the view in dip.
*/ */
int getWidth(); int getWidth();
/** /**
* Gets the view size width of the WebContents. The size is in physical pixels. * Gets the view size width of the WebContents.
* *
* @return The width of the view. * @return The width of the view in dip.
*/ */
int getHeight(); int getHeight();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment