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

Issue 1804723002: [Offline pages] Showing offline bolt on chrome custom tab (Closed)

Created:
4 years, 9 months ago by fgorski
Modified:
4 years, 9 months ago
Reviewers:
Ian Wen, Yusuf
CC:
chromium-reviews, Yusuf, Ian Wen, Ted C
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline pages] Showing offline bolt on chrome custom tab * Adds ability to display an offline bolt icon in CCT, when viewing an offline copy of the page * Appropriately animates 6 state transitions between the following 3 states: no icon, security icon, offline icon. BUG=593833 R=tedchoc@chromium.org Committed: https://crrev.com/d12ae3078333c58fbd49f3e6b0ab3ae0724bab61 Cr-Commit-Position: refs/heads/master@{#381578}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Simplifying per ianwen@'s suggestion #

Patch Set 3 : Checking for offline status of a page changing before security update #

Total comments: 2

Patch Set 4 : Addressing feedback" #

Total comments: 1

Patch Set 5 : moving call to show bolt to onNavigatedToDifferentPage #

Patch Set 6 : Rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java View 1 2 3 4 5 5 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
fgorski
Please take a look. I would like to test it, but the test app for ...
4 years, 9 months ago (2016-03-14 20:42:23 UTC) #2
Ian Wen
Q: is it possible that we want to show a security icon and an offline ...
4 years, 9 months ago (2016-03-14 20:51:56 UTC) #5
fgorski
Ian, PTAL and generate a binary for me. https://codereview.chromium.org/1804723002/diff/1/chrome/android/java/res/layout/custom_tabs_toolbar.xml File chrome/android/java/res/layout/custom_tabs_toolbar.xml (right): https://codereview.chromium.org/1804723002/diff/1/chrome/android/java/res/layout/custom_tabs_toolbar.xml#newcode25 chrome/android/java/res/layout/custom_tabs_toolbar.xml:25: android:contentDescription="@string/page_info_offline_icon" ...
4 years, 9 months ago (2016-03-15 21:09:26 UTC) #6
fgorski
Updated and manually tested. Yusuf, this is ready for your review.
4 years, 9 months ago (2016-03-15 21:39:57 UTC) #7
Yusuf
https://codereview.chromium.org/1804723002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java File chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java (right): https://codereview.chromium.org/1804723002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java#newcode444 chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java:444: Drawable bolt = You can use a TintDrawable for ...
4 years, 9 months ago (2016-03-15 21:43:44 UTC) #8
fgorski
Updated. PTAL https://codereview.chromium.org/1804723002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java File chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java (right): https://codereview.chromium.org/1804723002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java#newcode444 chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java:444: Drawable bolt = On 2016/03/15 21:43:44, Yusuf ...
4 years, 9 months ago (2016-03-16 00:00:22 UTC) #9
fgorski
ping
4 years, 9 months ago (2016-03-16 17:18:30 UTC) #10
Yusuf
https://codereview.chromium.org/1804723002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java File chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java (left): https://codereview.chromium.org/1804723002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java#oldcode430 chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java:430: public void updateSecurityIcon(int securityLevel) { one thing that confuses ...
4 years, 9 months ago (2016-03-16 17:30:45 UTC) #11
fgorski
How about this?
4 years, 9 months ago (2016-03-16 22:40:36 UTC) #12
Yusuf
lgtm
4 years, 9 months ago (2016-03-16 22:45:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1804723002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1804723002/100001
4 years, 9 months ago (2016-03-16 22:50:41 UTC) #15
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-16 23:15:26 UTC) #17
commit-bot: I haz the power
4 years, 9 months ago (2016-03-16 23:19:28 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d12ae3078333c58fbd49f3e6b0ab3ae0724bab61
Cr-Commit-Position: refs/heads/master@{#381578}

Powered by Google App Engine
This is Rietveld 408576698