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 1239923002: webapps: add splashscreen for installed webapps (Closed)

Created:
5 years, 5 months ago by Lalit Maganti
Modified:
5 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@manifest-title
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

webapps: add splashscreen for installed webapps This is the pinacle of splashscreen: it builds upon the background color patches, the WebappDataStorage and IconDownload patches and brings them together to display a splashscreen prior to webapps loading. This is a part of a group of CLs: (1) https://codereview.chromium.org/1286973003 (2) https://codereview.chromium.org/1310223002 (3) https://codereview.chromium.org/1239923002 (this) BUG=508627 Committed: https://crrev.com/1be62c2b7f12a4a8108d3b23b479059c706ffc09 Cr-Commit-Position: refs/heads/master@{#347625}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Update for storage class and add dynamic text color selection #

Patch Set 3 : Refactor code to be less ugly #

Total comments: 1

Patch Set 4 : Just a rebase #

Patch Set 5 : Fix compile and remove scaling #

Total comments: 16

Patch Set 6 : Address review comments #

Patch Set 7 : Fix missed comment #

Total comments: 2

Patch Set 8 : Address review comments #

Patch Set 9 : Fix test failures #

Patch Set 10 : Actually fix failures #

Patch Set 11 : Another test issue fix #

Patch Set 12 : Fix test compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -21 lines) Patch
A chrome/android/java/res/layout/webapp_splash_screen.xml View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/android/java/res/layout/webapp_splashscreen.xml View 1 2 3 4 5 1 chunk +0 lines, -11 lines 0 comments Download
M chrome/android/java/res/values/colors.xml View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java View 1 2 3 4 5 6 7 4 chunks +43 lines, -10 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappActivityTestBase.java View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappModeTest.java View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (8 generated)
Lalit Maganti
5 years, 5 months ago (2015-07-21 17:03:15 UTC) #2
mlamouri (slow - plz ping)
Lalit, I assume this is more a FYI CL than something that needs to be ...
5 years, 5 months ago (2015-07-24 14:37:00 UTC) #4
Lalit Maganti
Yes this is most certainly a WIP CL - I just threw it up here ...
5 years, 5 months ago (2015-07-24 14:39:19 UTC) #5
Lalit Maganti
Yes this is most certainly a WIP CL - I just threw it up here ...
5 years, 5 months ago (2015-07-24 14:39:20 UTC) #6
gone
I'm not familiar enough with that flag hack; adding newt@ in case he knows what ...
5 years, 5 months ago (2015-07-24 17:57:31 UTC) #8
newt (away)
windowDisablePreview seems like the correct tool to use here. Does it cause any problems? http://developer.android.com/reference/android/R.attr.html#windowDisablePreview ...
5 years, 5 months ago (2015-07-24 19:22:04 UTC) #9
newt (away)
https://chromiumcodereview.appspot.com/1239923002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java File chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java (right): https://chromiumcodereview.appspot.com/1239923002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java#newcode272 chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java:272: mSplashScreen.setVisibility(View.GONE); Remove the view from the view hierarchy and ...
5 years, 5 months ago (2015-07-24 19:24:50 UTC) #10
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/1239923002/diff/1/chrome/android/java/res/values-v17/styles.xml File chrome/android/java/res/values-v17/styles.xml (right): https://chromiumcodereview.appspot.com/1239923002/diff/1/chrome/android/java/res/values-v17/styles.xml#newcode42 chrome/android/java/res/values-v17/styles.xml:42: <item name="android:windowDisablePreview">true</item> Should we be setting the window background ...
5 years, 5 months ago (2015-07-24 20:39:19 UTC) #11
newt (away)
https://chromiumcodereview.appspot.com/1239923002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java File chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java (left): https://chromiumcodereview.appspot.com/1239923002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java#oldcode97 chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java:97: removeWindowBackground(); On 2015/07/24 20:39:19, David Trainor wrote: > Does ...
5 years, 5 months ago (2015-07-24 21:06:06 UTC) #12
newt (away)
https://chromiumcodereview.appspot.com/1239923002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java File chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java (right): https://chromiumcodereview.appspot.com/1239923002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java#newcode167 chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java:167: // Create the view to hold the icon It ...
5 years, 5 months ago (2015-07-24 21:20:57 UTC) #13
Lalit Maganti
Apologies for not getting back to you all sooner - I was OOO at an ...
5 years, 4 months ago (2015-07-30 10:15:34 UTC) #14
mlamouri (slow - plz ping)
Lalit, how much of this CL do you want to keep? Would it make sense ...
5 years, 4 months ago (2015-08-24 09:54:05 UTC) #15
Lalit Maganti
On 2015/08/24 09:54:05, Mounir Lamouri wrote: > Lalit, how much of this CL do you ...
5 years, 4 months ago (2015-08-24 09:55:41 UTC) #16
Lalit Maganti
Although the code looks ugly ATM (I'll fix this by refactoring into a different method ...
5 years, 4 months ago (2015-08-25 16:08:01 UTC) #17
gone
On 2015/08/25 16:08:01, Lalit Maganti wrote: > Although the code looks ugly ATM (I'll fix ...
5 years, 4 months ago (2015-08-25 16:12:17 UTC) #18
Lalit Maganti
On 2015/08/25 16:12:17, dfalcantara wrote: > On 2015/08/25 16:08:01, Lalit Maganti wrote: > > Although ...
5 years, 4 months ago (2015-08-25 16:21:21 UTC) #19
gone
Because this is dependent on CLs that haven't landed, you should link to all of ...
5 years, 4 months ago (2015-08-26 01:09:45 UTC) #20
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/1239923002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java File chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java (right): https://chromiumcodereview.appspot.com/1239923002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java#newcode179 chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java:179: private void addSplashscreen() { Does it make sense to ...
5 years, 4 months ago (2015-08-26 05:56:27 UTC) #21
Lalit Maganti
On 2015/08/26 at 01:09:45, dfalcantara wrote: > Because this is dependent on CLs that haven't ...
5 years, 3 months ago (2015-08-26 13:16:30 UTC) #22
David Trainor- moved to gerrit
On 2015/08/26 13:16:30, Lalit Maganti wrote: > On 2015/08/26 at 01:09:45, dfalcantara wrote: > > ...
5 years, 3 months ago (2015-08-26 20:27:40 UTC) #23
Lalit Maganti
On 2015/08/26 at 20:27:40, dtrainor wrote: > On 2015/08/26 13:16:30, Lalit Maganti wrote: > > ...
5 years, 3 months ago (2015-08-26 20:34:15 UTC) #24
David Trainor- moved to gerrit
On 2015/08/26 20:34:15, Lalit Maganti wrote: > On 2015/08/26 at 20:27:40, dtrainor wrote: > > ...
5 years, 3 months ago (2015-08-26 21:43:37 UTC) #25
Lalit Maganti
David: yeah the comment in ChromeActivity is definitely confusing. I'm guessing someone added the final ...
5 years, 3 months ago (2015-08-28 13:42:01 UTC) #26
David Trainor- moved to gerrit
On 2015/08/28 13:42:01, Lalit Maganti wrote: > David: yeah the comment in ChromeActivity is definitely ...
5 years, 3 months ago (2015-08-28 20:09:42 UTC) #27
David Trainor- moved to gerrit
On 2015/08/28 20:09:42, David Trainor (OOO) wrote: > On 2015/08/28 13:42:01, Lalit Maganti wrote: > ...
5 years, 3 months ago (2015-09-03 18:40:56 UTC) #28
Lalit Maganti
Dan: in which case if you could review this patch so we can get it ...
5 years, 3 months ago (2015-09-04 18:08:36 UTC) #29
Lalit Maganti
On 2015/09/04 18:08:36, Lalit Maganti wrote: > Dan: in which case if you could review ...
5 years, 3 months ago (2015-09-04 18:12:54 UTC) #30
gone
lgtm to land so that it's easier to iterate on. https://codereview.chromium.org/1239923002/diff/80001/chrome/android/java/res/layout/webapp_splashscreen.xml File chrome/android/java/res/layout/webapp_splashscreen.xml (right): https://codereview.chromium.org/1239923002/diff/80001/chrome/android/java/res/layout/webapp_splashscreen.xml#newcode24 ...
5 years, 3 months ago (2015-09-04 18:25:56 UTC) #31
newt (away)
https://codereview.chromium.org/1239923002/diff/80001/chrome/android/java/res/layout/webapp_splashscreen.xml File chrome/android/java/res/layout/webapp_splashscreen.xml (right): https://codereview.chromium.org/1239923002/diff/80001/chrome/android/java/res/layout/webapp_splashscreen.xml#newcode24 chrome/android/java/res/layout/webapp_splashscreen.xml:24: android:textAppearance="@style/WebAppSplashScreenTextAppearanceTitle" Since you're only using this style in one ...
5 years, 3 months ago (2015-09-04 18:45:49 UTC) #32
Lalit Maganti
I rebased on the latest since there have been some changes to WebappActivity. Changes which ...
5 years, 3 months ago (2015-09-04 19:12:03 UTC) #33
newt (away)
lgtm
5 years, 3 months ago (2015-09-04 19:30:11 UTC) #34
mlamouri (slow - plz ping)
lgtm with shortName changed to name. https://codereview.chromium.org/1239923002/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java File chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java (right): https://codereview.chromium.org/1239923002/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java#newcode212 chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java:212: appNameView.setText(mWebappInfo.shortName()); I'm pretty ...
5 years, 3 months ago (2015-09-05 15:05:05 UTC) #35
Lalit Maganti
https://codereview.chromium.org/1239923002/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java File chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java (right): https://codereview.chromium.org/1239923002/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java#newcode212 chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java:212: appNameView.setText(mWebappInfo.shortName()); On 2015/09/05 15:05:05, Mounir Lamouri wrote: > I'm ...
5 years, 3 months ago (2015-09-07 08:43:18 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1239923002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1239923002/140001
5 years, 3 months ago (2015-09-07 08:43:29 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1239923002/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1239923002/210001
5 years, 3 months ago (2015-09-07 12:07:19 UTC) #43
commit-bot: I haz the power
Committed patchset #12 (id:210001)
5 years, 3 months ago (2015-09-07 12:39:47 UTC) #44
commit-bot: I haz the power
5 years, 3 months ago (2015-09-07 12:40:34 UTC) #45
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/1be62c2b7f12a4a8108d3b23b479059c706ffc09
Cr-Commit-Position: refs/heads/master@{#347625}

Powered by Google App Engine
This is Rietveld 408576698