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

Issue 2393443004: Blimp: Added spinner to text input dialog (Closed)

Created:
4 years, 2 months ago by shaktisahu
Modified:
4 years, 1 month ago
CC:
agrieve+watch_chromium.org, anandc+watch-blimp_chromium.org, bgoldman+watch-blimp_chromium.org, chromium-reviews, dtrainor+watch-blimp_chromium.org, gcasto+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, perumaal+watch-blimp_chromium.org, scf+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, steimel+watch-blimp_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Blimp: Added spinner to text input dialog Added a spinner (ProgressBar with indeterminate style) to the text input AlertDialog. The spinner is shown when user hits enter/OK, and is dismissed on receiving a hide IME request or if the user hasn't changed the text or cancelling the dialog through back button/touching outside. During submission, the EditText background changes to a dotted line. In an unrelated change, fixed the IME editor options (following similar structure as ImeUtils.java). This enables multi-line input for text area. BUG=652959 Committed: https://crrev.com/3d1c669b5c8b03dc232859960adb5d571c4c76db Cr-Commit-Position: refs/heads/master@{#430105}

Patch Set 1 #

Patch Set 2 : dotted line background #

Total comments: 40

Patch Set 3 : merge origin/master #

Patch Set 4 : Added animations #

Total comments: 20

Patch Set 5 : decoupled animations from form submit logic #

Total comments: 6

Patch Set 6 : nits #

Total comments: 2

Patch Set 7 : nits #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+308 lines, -67 lines) Patch
A blimp/client/app/android/java/res/drawable/dotted_line.xml View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download
M blimp/client/app/android/java/res/layout/text_input_popup.xml View 1 2 3 4 1 chunk +27 lines, -8 lines 0 comments Download
A blimp/client/app/android/java/res/layout/web_input_bottom_panel.xml View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download
M blimp/client/app/android/java/res/values/colors.xml View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M blimp/client/app/android/java/res/values/dimens.xml View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M blimp/client/app/android/java/strings/android_blimp_strings.grd View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/core/contents/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/input/ImeEditText.java View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/input/ImeHelperDialog.java View 1 2 3 4 8 chunks +69 lines, -54 lines 0 comments Download
A blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/input/WebInputConfirmationPanel.java View 1 2 3 4 5 6 1 chunk +127 lines, -0 lines 0 comments Download
M blimp/engine/feature/engine_render_widget_feature.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M blimp/engine/feature/engine_render_widget_feature.cc View 1 2 3 4 5 2 chunks +10 lines, -1 line 1 comment Download
M build/android/lint/suppressions.xml View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
shaktisahu
4 years, 2 months ago (2016-10-14 03:22:04 UTC) #3
David Trainor- moved to gerrit
https://codereview.chromium.org/2393443004/diff/20001/blimp/client/app/android/java/res/drawable/dotted_line.xml File blimp/client/app/android/java/res/drawable/dotted_line.xml (right): https://codereview.chromium.org/2393443004/diff/20001/blimp/client/app/android/java/res/drawable/dotted_line.xml#newcode1 blimp/client/app/android/java/res/drawable/dotted_line.xml:1: <?xml version="1.0" encoding="UTF-8"?> Is this the right place for ...
4 years, 2 months ago (2016-10-19 16:40:31 UTC) #4
shaktisahu
dtrainor@ - PTAL https://codereview.chromium.org/2393443004/diff/20001/blimp/client/app/android/java/res/drawable/dotted_line.xml File blimp/client/app/android/java/res/drawable/dotted_line.xml (right): https://codereview.chromium.org/2393443004/diff/20001/blimp/client/app/android/java/res/drawable/dotted_line.xml#newcode1 blimp/client/app/android/java/res/drawable/dotted_line.xml:1: <?xml version="1.0" encoding="UTF-8"?> On 2016/10/19 16:40:30, ...
4 years, 1 month ago (2016-10-27 02:42:56 UTC) #5
David Trainor- moved to gerrit
This is looking really good! Some more nits but it's almost ready. https://codereview.chromium.org/2393443004/diff/20001/blimp/client/app/android/java/res/drawable/dotted_line.xml File blimp/client/app/android/java/res/drawable/dotted_line.xml ...
4 years, 1 month ago (2016-10-28 05:08:09 UTC) #6
shaktisahu
dtrainor@ - PTAL https://codereview.chromium.org/2393443004/diff/20001/blimp/engine/feature/engine_render_widget_feature.cc File blimp/engine/feature/engine_render_widget_feature.cc (right): https://codereview.chromium.org/2393443004/diff/20001/blimp/engine/feature/engine_render_widget_feature.cc#newcode237 blimp/engine/feature/engine_render_widget_feature.cc:237: base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( On 2016/10/28 05:08:08, David Trainor ...
4 years, 1 month ago (2016-11-01 21:35:34 UTC) #7
David Trainor- moved to gerrit
looks pretty good. last few nits i think. https://codereview.chromium.org/2393443004/diff/60001/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/input/WebInputConfirmationPanel.java File blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/input/WebInputConfirmationPanel.java (right): https://codereview.chromium.org/2393443004/diff/60001/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/input/WebInputConfirmationPanel.java#newcode53 blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/input/WebInputConfirmationPanel.java:53: inflate(context, ...
4 years, 1 month ago (2016-11-03 03:07:55 UTC) #8
shaktisahu
https://codereview.chromium.org/2393443004/diff/80001/blimp/client/app/android/java/res/drawable/dotted_line.xml File blimp/client/app/android/java/res/drawable/dotted_line.xml (right): https://codereview.chromium.org/2393443004/diff/80001/blimp/client/app/android/java/res/drawable/dotted_line.xml#newcode8 blimp/client/app/android/java/res/drawable/dotted_line.xml:8: <item android:top="-2dp" android:right="-2dp" android:left="-2dp"> On 2016/11/03 03:07:54, David Trainor ...
4 years, 1 month ago (2016-11-03 18:10:04 UTC) #9
David Trainor- moved to gerrit
lgtm % nit https://codereview.chromium.org/2393443004/diff/100001/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/input/WebInputConfirmationPanel.java File blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/input/WebInputConfirmationPanel.java (right): https://codereview.chromium.org/2393443004/diff/100001/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/input/WebInputConfirmationPanel.java#newcode100 blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/input/WebInputConfirmationPanel.java:100: int translateX = getResources().getDimensionPixelSize(R.dimen.dialog_button_animation_x); Not sure ...
4 years, 1 month ago (2016-11-04 21:10:20 UTC) #10
shaktisahu
mikecase@chromium.org: PTAL at suppressions.xml
4 years, 1 month ago (2016-11-04 23:34:52 UTC) #12
mikecase (-- gone --)
suppressions.xml lgtm with nit https://codereview.chromium.org/2393443004/diff/100001/build/android/lint/suppressions.xml File build/android/lint/suppressions.xml (right): https://codereview.chromium.org/2393443004/diff/100001/build/android/lint/suppressions.xml#newcode293 build/android/lint/suppressions.xml:293: <ignore regexp="blimp/client/app/android/java/res/drawable/dotted_line.xml" /> nit: alphabetize
4 years, 1 month ago (2016-11-04 23:39:11 UTC) #13
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/2393443004/120001
4 years, 1 month ago (2016-11-04 23:50:29 UTC) #16
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 1 month ago (2016-11-05 00:53:56 UTC) #17
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/3d1c669b5c8b03dc232859960adb5d571c4c76db Cr-Commit-Position: refs/heads/master@{#430105}
4 years, 1 month ago (2016-11-05 00:56:12 UTC) #19
Wez
4 years, 1 month ago (2016-11-07 22:51:52 UTC) #21
Message was sent while issue was closed.
https://codereview.chromium.org/2393443004/diff/120001/blimp/engine/feature/e...
File blimp/engine/feature/engine_render_widget_feature.cc (right):

https://codereview.chromium.org/2393443004/diff/120001/blimp/engine/feature/e...
blimp/engine/feature/engine_render_widget_feature.cc:244:
base::TimeDelta::FromMilliseconds(1500));
What's the rationale for the delay here?

Powered by Google App Engine
This is Rietveld 408576698