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

Issue 231953003: Show Ash like <select> popup on Android tablets (Closed)

Created:
6 years, 8 months ago by keishi
Modified:
6 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, aurimas (slooooooooow)
Base URL:
https://chromium.googlesource.com/chromium/src.git@newpopupx
Visibility:
Public.

Description

Show Ash like <select> popup on Android tablets We should show Ash like <select> popups on Android tablets so the UI is closer to Chrome OS. The new popup will only apply to <select size=1> as <select multiple> will be shown as a listbox like the Desktop versions. BUG=314713 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268062

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 33

Patch Set 5 : #

Total comments: 3

Patch Set 6 : Introduce DropdownPopupWindow #

Total comments: 20

Patch Set 7 : WIP #

Patch Set 8 : WIP #

Patch Set 9 : WIP #

Patch Set 10 : Fixed #

Patch Set 11 : Fixed #

Total comments: 21

Patch Set 12 : Fixed. Added support for group header #

Patch Set 13 : Removed png files #

Total comments: 2

Patch Set 14 : Changed dropdown_text to dropdown_item #

Patch Set 15 : WIP #

Patch Set 16 : WIP #

Patch Set 17 : WIP #

Patch Set 18 : WIP #

Patch Set 19 : ウィP #

Patch Set 20 : WIP #

Patch Set 21 : create only #

Patch Set 22 : Fixed test #

Patch Set 23 : updated aosp_manifest.xml #

Patch Set 24 : Rebased #

Patch Set 25 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+484 lines, -381 lines) Patch
M android_webview/buildbot/aosp_manifest.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -1 line 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillPopupTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +8 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_view_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 9 chunks +21 lines, -17 lines 0 comments Download
A content/public/android/java/src/org/chromium/content/browser/input/SelectPopup.java View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/SelectPopupDialog.java View 1 2 3 4 5 6 3 chunks +8 lines, -22 lines 0 comments Download
A content/public/android/java/src/org/chromium/content/browser/input/SelectPopupDropdown.java View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +74 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/SelectPopupItem.java View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +19 lines, -1 line 0 comments Download
D ui/android/java/res/drawable-hdpi/autofill_popup_background_down.9.png View 1 2 3 4 5 Binary file 0 comments Download
D ui/android/java/res/drawable-hdpi/autofill_popup_background_up.9.png View 1 2 3 4 5 Binary file 0 comments Download
D ui/android/java/res/drawable-xhdpi/autofill_popup_background_down.9.png View 1 2 3 4 5 Binary file 0 comments Download
D ui/android/java/res/drawable-xhdpi/autofill_popup_background_up.9.png View 1 2 3 4 5 Binary file 0 comments Download
D ui/android/java/res/drawable/autofill_popup_background.xml View 1 2 3 4 5 1 chunk +0 lines, -13 lines 0 comments Download
D ui/android/java/res/drawable/autofill_popup_background_down.9.png View 1 2 3 4 5 Binary file 0 comments Download
D ui/android/java/res/drawable/autofill_popup_background_up.9.png View 1 2 3 4 5 Binary file 0 comments Download
A + ui/android/java/res/drawable/dropdown_popup_background.xml View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
D ui/android/java/res/layout/autofill_text.xml View 1 2 3 4 5 1 chunk +0 lines, -32 lines 0 comments Download
A + ui/android/java/res/layout/dropdown_item.xml View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M ui/android/java/res/values-v17/styles.xml View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M ui/android/java/res/values/colors.xml View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M ui/android/java/res/values/dimens.xml View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M ui/android/java/res/values/values.xml View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M ui/android/java/resource_map/org/chromium/ui/R.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +9 lines, -9 lines 0 comments Download
A ui/android/java/src/org/chromium/ui/DropdownAdapter.java View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +119 lines, -0 lines 0 comments Download
A + ui/android/java/src/org/chromium/ui/DropdownDividerDrawable.java View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
A ui/android/java/src/org/chromium/ui/DropdownItem.java View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +27 lines, -0 lines 0 comments Download
A ui/android/java/src/org/chromium/ui/DropdownPopupWindow.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +126 lines, -0 lines 0 comments Download
D ui/android/java/src/org/chromium/ui/autofill/AutofillDividerDrawable.java View 1 2 3 4 5 1 chunk +0 lines, -54 lines 0 comments Download
D ui/android/java/src/org/chromium/ui/autofill/AutofillListAdapter.java View 1 2 3 4 5 1 chunk +0 lines, -80 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java View 1 2 3 4 5 6 24 6 chunks +14 lines, -124 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/autofill/AutofillSuggestion.java View 1 2 3 4 5 6 7 8 9 10 11 24 2 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 32 (0 generated)
keishi
I've talked to the ui team (sgabriel@ and roma@) and agreed that we do not ...
6 years, 8 months ago (2014-04-10 15:18:02 UTC) #1
Ted C
I think you might want to take a peek at how AutofillDialog works, as I ...
6 years, 8 months ago (2014-04-12 01:10:27 UTC) #2
keishi
I've rewritten the patch using ListPopupWindow. PTAL. > Also, I would comment on the bug ...
6 years, 8 months ago (2014-04-15 14:41:07 UTC) #3
aurimas (slooooooooow)
It is a good attempt at implementing this feature, however most of the code is ...
6 years, 8 months ago (2014-04-16 01:36:13 UTC) #4
keishi
On 2014/04/16 01:36:13, aurimas wrote: > It is a good attempt at implementing this feature, ...
6 years, 8 months ago (2014-04-16 15:17:06 UTC) #5
aurimas (slooooooooow)
Please take a look at my comments. You will have to land the drawables (pngs) ...
6 years, 8 months ago (2014-04-16 17:36:48 UTC) #6
aurimas (slooooooooow)
Also, please attach screenshots of how this new popup looks after this CL to the ...
6 years, 8 months ago (2014-04-16 17:37:53 UTC) #7
keishi
Here are the screenshots: https://drive.google.com/file/d/0B4aiM9jljUy8M29TclY0ZW9YdWs/edit?usp=sharing https://drive.google.com/file/d/0B4aiM9jljUy8MlJ2Z2JLTUFMSmM/edit?usp=sharing https://codereview.chromium.org/231953003/diff/100001/content/public/android/java/res/layout/select_popup_item.xml File content/public/android/java/res/layout/select_popup_item.xml (right): https://codereview.chromium.org/231953003/diff/100001/content/public/android/java/res/layout/select_popup_item.xml#newcode3 content/public/android/java/res/layout/select_popup_item.xml:3: <TextView xmlns:android="http://schemas.android.com/apk/res/android" On ...
6 years, 8 months ago (2014-04-17 12:25:40 UTC) #8
aurimas (slooooooooow)
LGTM tedchoc: please take a quick pass to make sure that you agree.
6 years, 8 months ago (2014-04-17 15:55:43 UTC) #9
Ted C
overall seems nice to me. a little cleanups and it looks good to go https://codereview.chromium.org/231953003/diff/80001/content/public/android/java/res/layout/select_popup_item.xml ...
6 years, 8 months ago (2014-04-18 01:28:05 UTC) #10
keishi
I fixed the handling of enabled items and <optgroup> items. https://codereview.chromium.org/231953003/diff/190001/content/public/android/java/src/org/chromium/content/browser/input/SelectPopupDropdown.java File content/public/android/java/src/org/chromium/content/browser/input/SelectPopupDropdown.java (right): https://codereview.chromium.org/231953003/diff/190001/content/public/android/java/src/org/chromium/content/browser/input/SelectPopupDropdown.java#newcode25 ...
6 years, 8 months ago (2014-04-18 03:46:18 UTC) #11
keishi
mkosiba@ could you review the files below? Thanks. android_webview/java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java ui/android/java/resource_map/org/chromium/ui/R.java
6 years, 8 months ago (2014-04-18 03:49:29 UTC) #12
keishi
Separated out the adding of png files https://codereview.chromium.org/246233004/
6 years, 8 months ago (2014-04-22 10:55:40 UTC) #13
keishi
mkosiba@ and tedchoc@ please take a look. Thanks.
6 years, 8 months ago (2014-04-22 10:56:11 UTC) #14
Ted C
lgtm
6 years, 8 months ago (2014-04-22 17:00:41 UTC) #15
mkosiba (inactive)
since you're changing the names in R.java you'll also need to update the android glue ...
6 years, 8 months ago (2014-04-23 12:28:27 UTC) #16
mkosiba (inactive)
On 2014/04/23 12:28:27, mkosiba wrote: > checkout the branch directly (git clone > https://android.googlesource.com/platform/frameworks/webview), do ...
6 years, 8 months ago (2014-04-23 12:29:50 UTC) #17
keishi
On 2014/04/23 12:29:50, mkosiba wrote: > On 2014/04/23 12:28:27, mkosiba wrote: > > checkout the ...
6 years, 8 months ago (2014-04-24 02:19:24 UTC) #18
mkosiba (inactive)
sorry, I assumed the AOSP bot errors were only related to the rename but it ...
6 years, 8 months ago (2014-04-24 13:45:57 UTC) #19
keishi
On 2014/04/24 13:45:57, mkosiba wrote: > sorry, I assumed the AOSP bot errors were only ...
6 years, 8 months ago (2014-04-25 06:40:56 UTC) #20
mkosiba (inactive)
On 2014/04/25 06:40:56, keishi1 wrote: > On 2014/04/24 13:45:57, mkosiba wrote: > > sorry, I ...
6 years, 8 months ago (2014-04-25 17:42:57 UTC) #21
keishi
On 2014/04/25 17:42:57, mkosiba wrote: > On 2014/04/25 06:40:56, keishi1 wrote: > > On 2014/04/24 ...
6 years, 7 months ago (2014-05-02 00:23:48 UTC) #22
mkosiba (inactive)
On 2014/05/02 00:23:48, keishi1 wrote: > On 2014/04/25 17:42:57, mkosiba wrote: > > On 2014/04/25 ...
6 years, 7 months ago (2014-05-02 13:13:21 UTC) #23
keishi
On 2014/05/02 13:13:21, mkosiba wrote: > On 2014/05/02 00:23:48, keishi1 wrote: > > On 2014/04/25 ...
6 years, 7 months ago (2014-05-02 15:48:54 UTC) #24
mkosiba (inactive)
lgtm
6 years, 7 months ago (2014-05-02 15:51:28 UTC) #25
keishi
The CQ bit was checked by keishi@chromium.org
6 years, 7 months ago (2014-05-03 02:23:14 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/231953003/440001
6 years, 7 months ago (2014-05-03 02:23:54 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-03 02:24:14 UTC) #28
commit-bot: I haz the power
Failed to apply patch for content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-03 02:24:14 UTC) #29
keishi
The CQ bit was checked by keishi@chromium.org
6 years, 7 months ago (2014-05-03 05:46:33 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/231953003/460001
6 years, 7 months ago (2014-05-03 05:47:40 UTC) #31
commit-bot: I haz the power
6 years, 7 months ago (2014-05-03 10:18:07 UTC) #32
Message was sent while issue was closed.
Change committed as 268062

Powered by Google App Engine
This is Rietveld 408576698