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

Issue 2224853003: [Android] Make it possible to show Infobar in native pages (Closed)

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

Description

[Android] Make it possible to show Infobar in native pages This CL enables Chrome to show infobar in native pages, especially in the NTP. From now on, Tab.getView() will always return the wrapper that holds both infobar container and the tab's content, which could be a native page or a content view, rendered by blink/compositor. BUG=508307 TBR=tedchoc@chromium.org Committed: https://crrev.com/6943a9a92a909bb927080ef6c7658ddbce3a3ae7 Cr-Commit-Position: refs/heads/master@{#410996}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix bots #

Patch Set 3 : make urlbar unfocusable in relayout #

Patch Set 4 : fix focus problem #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -3 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/TabContentViewParent.java View 1 2 3 2 chunks +45 lines, -2 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/UiUtils.java View 1 2 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
Ian Wen
PTAL. Added Ted as he once worked on a similar CL.
4 years, 4 months ago (2016-08-08 22:02:40 UTC) #2
gone
https://chromiumcodereview.appspot.com/2224853003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/tab/TabContentViewParent.java File chrome/android/java/src/org/chromium/chrome/browser/tab/TabContentViewParent.java (right): https://chromiumcodereview.appspot.com/2224853003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/tab/TabContentViewParent.java#newcode38 chrome/android/java/src/org/chromium/chrome/browser/tab/TabContentViewParent.java:38: addView(viewToShow, 0); Should pull out 0 as a constant ...
4 years, 4 months ago (2016-08-08 22:49:55 UTC) #5
gone
lgtm
4 years, 4 months ago (2016-08-10 00:32:06 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2224853003/60001
4 years, 4 months ago (2016-08-10 06:57:30 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-10 07:38:13 UTC) #22
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/6943a9a92a909bb927080ef6c7658ddbce3a3ae7 Cr-Commit-Position: refs/heads/master@{#410996}
4 years, 4 months ago (2016-08-10 07:41:09 UTC) #24
huangs
This might be causing regression in org.chromium.chrome.browser.TabsTest#testCloseFiveIncognitoTabLandscape org.chromium.chrome.browser.TabsTest#testCloseFiveIncognitoTabPortrait https://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/35661 Going to revert to see if ...
4 years, 4 months ago (2016-08-10 15:22:35 UTC) #25
huangs
4 years, 4 months ago (2016-08-10 15:25:15 UTC) #26
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2232943002/ by huangs@chromium.org.

The reason for reverting is:
https://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg...

This CL may have caused new test failures in Android Tests:
org.chromium.chrome.browser.TabsTest#testCloseFiveIncognitoTabLandscape
org.chromium.chrome.browser.TabsTest#testCloseFiveIncognitoTabPortrait.

Powered by Google App Engine
This is Rietveld 408576698