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

Issue 2844323003: 🔍 Add first run dialog for selecting search engine (Closed)

Created:
3 years, 7 months ago by gone
Modified:
3 years, 7 months ago
Reviewers:
Ted C, Yusuf, Ilya Sherman
CC:
chromium-reviews, dfalcantara+watch_chromium.org, agrieve+watch_chromium.org, Ted C, Yusuf
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

🔍 Add first run dialog for selecting search engine * Adds a new DefaultSearchEngineFirstRunFragment that's immediately after data saver and before account sign-in. It was put here because the sign-in logic is scary and doesn't normally allow a user to back up into it, which a user could do if the search engine dialog came after it. * Updates/adds tests to see if the search engine dialog appears in the correct spot and allows recording a search engine. Screenshots: go/eabws BUG=712836, 712833 Review-Url: https://codereview.chromium.org/2844323003 Cr-Commit-Position: refs/heads/master@{#469291} Committed: https://chromium.googlesource.com/chromium/src/+/5d6d7b17572cdebafb10e694db58eccc787e384f

Patch Set 1 #

Patch Set 2 : Pull out code #

Patch Set 3 : 🔍 Add First Run dialog for selecting search engine #

Patch Set 4 : 🔍 Add First Run dialog for selecting search engine #

Total comments: 8

Patch Set 5 : 🔍 Add First Run dialog for selecting search engine #

Total comments: 2

Patch Set 6 : Replace dividers #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+345 lines, -77 lines) Patch
M chrome/android/java/res/layout/account_signin_view.xml View 1 2 3 4 5 3 chunks +5 lines, -15 lines 0 comments Download
A chrome/android/java/res/layout/default_search_engine_first_run_fragment.xml View 1 2 3 4 1 chunk +86 lines, -0 lines 0 comments Download
M chrome/android/java/res/values/colors.xml View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/firstrun/DefaultSearchEngineFirstRunFragment.java View 1 2 1 chunk +60 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunActivity.java View 1 2 3 chunks +11 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunFlowSequencer.java View 1 2 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/locale/DefaultSearchEnginePromoDialog.java View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/locale/LocaleManager.java View 1 2 5 chunks +20 lines, -12 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/firstrun/FirstRunIntegrationTest.java View 1 2 3 4 6 chunks +63 lines, -3 lines 0 comments Download
M chrome/android/junit/src/org/chromium/chrome/browser/firstrun/FirstRunFlowSequencerTest.java View 1 2 8 chunks +84 lines, -43 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 31 (20 generated)
gone
Not ready for review. Just uploaded as a "hey, this is coming".
3 years, 7 months ago (2017-04-28 04:52:11 UTC) #1
gone
3 years, 7 months ago (2017-05-03 02:07:45 UTC) #4
Ted C
https://codereview.chromium.org/2844323003/diff/60001/chrome/android/java/res/layout/default_search_engine_first_run_fragment.xml File chrome/android/java/res/layout/default_search_engine_first_run_fragment.xml (right): https://codereview.chromium.org/2844323003/diff/60001/chrome/android/java/res/layout/default_search_engine_first_run_fragment.xml#newcode16 chrome/android/java/res/layout/default_search_engine_first_run_fragment.xml:16: <FrameLayout Why do we need this? Any reason FirstRunChooserView ...
3 years, 7 months ago (2017-05-04 00:16:57 UTC) #9
gone
https://codereview.chromium.org/2844323003/diff/60001/chrome/android/java/res/layout/default_search_engine_first_run_fragment.xml File chrome/android/java/res/layout/default_search_engine_first_run_fragment.xml (right): https://codereview.chromium.org/2844323003/diff/60001/chrome/android/java/res/layout/default_search_engine_first_run_fragment.xml#newcode16 chrome/android/java/res/layout/default_search_engine_first_run_fragment.xml:16: <FrameLayout On 2017/05/04 00:16:56, Ted C wrote: > Why ...
3 years, 7 months ago (2017-05-04 00:28:12 UTC) #10
Ted C
lgtm https://codereview.chromium.org/2844323003/diff/80001/chrome/android/java/res/layout/account_signin_view.xml File chrome/android/java/res/layout/account_signin_view.xml (left): https://codereview.chromium.org/2844323003/diff/80001/chrome/android/java/res/layout/account_signin_view.xml#oldcode51 chrome/android/java/res/layout/account_signin_view.xml:51: android:background="@color/signin_border_line_color" can we remove this color from the ...
3 years, 7 months ago (2017-05-04 00:42:43 UTC) #13
gone
+ilya for histograms.xml https://codereview.chromium.org/2844323003/diff/80001/chrome/android/java/res/layout/account_signin_view.xml File chrome/android/java/res/layout/account_signin_view.xml (left): https://codereview.chromium.org/2844323003/diff/80001/chrome/android/java/res/layout/account_signin_view.xml#oldcode51 chrome/android/java/res/layout/account_signin_view.xml:51: android:background="@color/signin_border_line_color" On 2017/05/04 00:42:43, Ted C ...
3 years, 7 months ago (2017-05-04 01:25:36 UTC) #15
Ilya Sherman
histograms.xml lgtm
3 years, 7 months ago (2017-05-04 04:12:35 UTC) #20
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/2844323003/100001
3 years, 7 months ago (2017-05-04 04:14:47 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/427139)
3 years, 7 months ago (2017-05-04 04:22:47 UTC) #25
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/2844323003/120001
3 years, 7 months ago (2017-05-04 06:24:33 UTC) #28
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 07:32:43 UTC) #31
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/5d6d7b17572cdebafb10e694db58...

Powered by Google App Engine
This is Rietveld 408576698