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

Issue 1411853007: Begin adding class for laying out InfoBar controls (Closed)

Created:
5 years, 1 month ago by gone
Modified:
5 years, 1 month ago
Reviewers:
newt (away)
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Begin adding class for laying out InfoBar controls * Add a skeleton ViewGroup (extending FrameLayout for now) for containing standardized InfoBar controls. It currently only allows a way to create a standardized toggle control obeying the new UX spec. * TranslateInfoBar classes now use the new InfoBarLayout to create its "Always translate <blah>" checkbox. The checkbox no longer immediately closes the InfoBar -- it instead waits until the user hits "done" or "show original". Users opting to ignore the InfoBar or closing it by hitting the "X" don't trigger this save. BUG=543205 Committed: https://crrev.com/d05b7a8c01b90fcc8ebb3aeb0df3fc4948b76871 Cr-Commit-Position: refs/heads/master@{#358167}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Comments #

Total comments: 8

Patch Set 3 : Comments #

Total comments: 1

Messages

Total messages: 14 (5 generated)
gone
5 years, 1 month ago (2015-11-04 02:05:31 UTC) #2
newt (away)
https://codereview.chromium.org/1411853007/diff/1/chrome/android/java/res/layout/infobar_subcontrol_toggle.xml File chrome/android/java/res/layout/infobar_subcontrol_toggle.xml (right): https://codereview.chromium.org/1411853007/diff/1/chrome/android/java/res/layout/infobar_subcontrol_toggle.xml#newcode1 chrome/android/java/res/layout/infobar_subcontrol_toggle.xml:1: <?xml version="1.0" encoding="utf-8"?> If this is a "subcontrol" what ...
5 years, 1 month ago (2015-11-05 05:52:16 UTC) #3
gone
https://chromiumcodereview.appspot.com/1411853007/diff/1/chrome/android/java/res/layout/infobar_subcontrol_toggle.xml File chrome/android/java/res/layout/infobar_subcontrol_toggle.xml (right): https://chromiumcodereview.appspot.com/1411853007/diff/1/chrome/android/java/res/layout/infobar_subcontrol_toggle.xml#newcode1 chrome/android/java/res/layout/infobar_subcontrol_toggle.xml:1: <?xml version="1.0" encoding="utf-8"?> On 2015/11/05 05:52:15, newt wrote: > ...
5 years, 1 month ago (2015-11-05 20:42:03 UTC) #5
newt (away)
lgtm after comments https://chromiumcodereview.appspot.com/1411853007/diff/20001/chrome/android/java/res/layout/infobar_control_toggle.xml File chrome/android/java/res/layout/infobar_control_toggle.xml (right): https://chromiumcodereview.appspot.com/1411853007/diff/20001/chrome/android/java/res/layout/infobar_control_toggle.xml#newcode15 chrome/android/java/res/layout/infobar_control_toggle.xml:15: android:layout_width="wrap_content" Don't you need layout_height? https://chromiumcodereview.appspot.com/1411853007/diff/20001/chrome/android/java/res/layout/infobar_control_toggle.xml#newcode26 ...
5 years, 1 month ago (2015-11-05 22:07:44 UTC) #6
gone
Oof, sorry. Fixed things up, hopefully. https://codereview.chromium.org/1411853007/diff/20001/chrome/android/java/res/layout/infobar_control_toggle.xml File chrome/android/java/res/layout/infobar_control_toggle.xml (right): https://codereview.chromium.org/1411853007/diff/20001/chrome/android/java/res/layout/infobar_control_toggle.xml#newcode15 chrome/android/java/res/layout/infobar_control_toggle.xml:15: android:layout_width="wrap_content" On 2015/11/05 ...
5 years, 1 month ago (2015-11-05 22:21:38 UTC) #7
newt (away)
lgtm https://codereview.chromium.org/1411853007/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarControlLayout.java File chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarControlLayout.java (right): https://codereview.chromium.org/1411853007/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarControlLayout.java#newcode52 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarControlLayout.java:52: removeView(iconView); or switchLayout.removeView()
5 years, 1 month ago (2015-11-05 22:23:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411853007/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411853007/40001
5 years, 1 month ago (2015-11-05 22:23:47 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-05 23:08:24 UTC) #13
commit-bot: I haz the power
5 years, 1 month ago (2015-11-05 23:09:14 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d05b7a8c01b90fcc8ebb3aeb0df3fc4948b76871
Cr-Commit-Position: refs/heads/master@{#358167}

Powered by Google App Engine
This is Rietveld 408576698