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

Issue 92603002: android: Fix black screen at startng frame when using ContentViewRenderView (Closed)

Created:
7 years ago by powei
Modified:
7 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, no sievers
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

android: Fix black screen at startng frame when using ContentViewRenderView A recent change to avoid rendering an empty surface texture (https://codereview.chromium.org/62333022) caused a black screen to appear for users for ContentViewRenderView at the first rendering frame. The old default color is white. This patch changes that first frame from black to white. BUG=323450 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238851

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed comments #

Patch Set 3 : added public method to change background #

Total comments: 4

Patch Set 4 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -4 lines) Patch
M content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java View 1 2 3 4 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
powei
PTAL. Thanks. igsolla@ can you make sure that this does not undo the effect that ...
7 years ago (2013-11-27 20:52:25 UTC) #1
no sievers
Nice catch. https://codereview.chromium.org/92603002/diff/1/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java File content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java (right): https://codereview.chromium.org/92603002/diff/1/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java#newcode63 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java:63: setBackgroundColor(Color.WHITE); I think this can go. https://codereview.chromium.org/92603002/diff/1/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java#newcode288 ...
7 years ago (2013-11-27 21:22:20 UTC) #2
Ignacio Solla
On 2013/11/27 20:52:25, powei wrote: > PTAL. Thanks. > > igsolla@ can you make sure ...
7 years ago (2013-11-28 10:19:07 UTC) #3
Ignacio Solla
On 2013/11/28 10:19:07, igsolla wrote: > On 2013/11/27 20:52:25, powei wrote: > > PTAL. Thanks. ...
7 years ago (2013-11-28 10:21:12 UTC) #4
powei
new patchset. PTAL. thanks. @igsolla, I've added a public method for embedders to set to ...
7 years ago (2013-12-02 20:03:38 UTC) #5
powei
On 2013/12/02 20:03:38, powei wrote: > new patchset. PTAL. thanks. > > @igsolla, I've added ...
7 years ago (2013-12-04 20:50:14 UTC) #6
Ted C
lgtm w/ a couple nits https://codereview.chromium.org/92603002/diff/40001/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java File content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java (right): https://codereview.chromium.org/92603002/diff/40001/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java#newcode168 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java:168: public void setViewBackgroundColor(int color) ...
7 years ago (2013-12-04 21:02:24 UTC) #7
powei
comments addressed. thanks all!. will try to commit https://codereview.chromium.org/92603002/diff/40001/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java File content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java (right): https://codereview.chromium.org/92603002/diff/40001/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java#newcode168 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java:168: public ...
7 years ago (2013-12-04 22:57:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/powei@chromium.org/92603002/60001
7 years ago (2013-12-04 22:59:32 UTC) #9
commit-bot: I haz the power
7 years ago (2013-12-05 01:37:15 UTC) #10
Message was sent while issue was closed.
Change committed as 238851

Powered by Google App Engine
This is Rietveld 408576698