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

Issue 340603002: android: Fix snapshot height by including toolbar offset (Closed)

Created:
6 years, 6 months ago by powei
Modified:
6 years, 6 months ago
CC:
chromium-reviews, ernstm, danakj
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

android: Fix snapshot height by including toolbar offset The Android snapshot was found to be chopping off the bottom content. This is due to not accounting for the height of the toolbar. This patch enlarges the snapshot by that offset. BUG=384551 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278843

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : removed sync readback path offset #

Patch Set 4 : set pixel test expect to fail #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -40 lines) Patch
M content/browser/android/content_view_core_impl.cc View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentView.java View 1 2 2 chunks +0 lines, -11 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 chunks +0 lines, -21 lines 0 comments Download
M content/test/gpu/gpu_tests/pixel_expectations.py View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/test/gpu/page_sets/pixel_tests.py View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M ui/base/android/window_android.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/snapshot/snapshot_android.cc View 1 2 2 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
powei
Ptal. Thanks.
6 years, 6 months ago (2014-06-17 20:08:42 UTC) #1
Ted C
lgtm
6 years, 6 months ago (2014-06-17 20:10:48 UTC) #2
aelias_OOO_until_Jul13
lgtm
6 years, 6 months ago (2014-06-17 21:11:20 UTC) #3
powei
Changed patch to read only content and not toolbar. +skyostil to make sure it's ok ...
6 years, 6 months ago (2014-06-19 22:17:07 UTC) #4
Ken Russell (switch to Gerrit)
On 2014/06/19 22:17:07, powei wrote: > +kbr for the pixel test rebaseline. The gpu tests ...
6 years, 6 months ago (2014-06-19 22:37:27 UTC) #5
Ken Russell (switch to Gerrit)
LGTM if the failure expectations are added and this goes through the CQ cleanly.
6 years, 6 months ago (2014-06-19 22:37:58 UTC) #6
powei
On 2014/06/19 22:37:27, Ken Russell wrote: > On 2014/06/19 22:17:07, powei wrote: > > +kbr ...
6 years, 6 months ago (2014-06-19 23:17:23 UTC) #7
Sami
lgtm as long as this means the screenshot doesn't contain the toolbar *both* in Chrome ...
6 years, 6 months ago (2014-06-20 00:20:10 UTC) #8
powei
On 2014/06/20 00:20:10, Sami wrote: > lgtm as long as this means the screenshot doesn't ...
6 years, 6 months ago (2014-06-20 17:49:44 UTC) #9
powei
The CQ bit was checked by powei@chromium.org
6 years, 6 months ago (2014-06-20 17:49:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/powei@chromium.org/340603002/60001
6 years, 6 months ago (2014-06-20 17:54:38 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 22:06:31 UTC) #12
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 22:37:17 UTC) #13
Message was sent while issue was closed.
Change committed as 278843

Powered by Google App Engine
This is Rietveld 408576698