Adjust AnchorRect of DropdownPopup for --use-zoom-for-dsf

As shown in crbug.com/737777#c44, the position of DropdownPopup for select and
option html tags are weird. It is because ViewAndroid::SetAnchorRect() scales
the AnchorRect by the devices scale factor (DSF). Since lenghts in this function
was scaled by DSF already, the scale in this function results in the double
scale. This CL makes the AnchorRect not scaled if --use-zoom-for-dsf is enabled.

Bug: 737777
Change-Id: I339f8381ccb1a410ff08e57e4717129df42e3022
Reviewed-on: https://chromium-review.googlesource.com/737772
Reviewed-by: Ted Choc <[email protected]>
Reviewed-by: Bo <[email protected]>
Reviewed-by: Jinsuk Kim <[email protected]>
Commit-Queue: Jaebaek Seo <[email protected]>
Cr-Commit-Position: refs/heads/master@{#513700}
8 files changed