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

Issue 2815643006: Fix location aspects of search engine settings UI Android UI (Closed)

Created:
3 years, 8 months ago by benwells
Modified:
3 years, 8 months ago
Reviewers:
Theresa, Finnur
CC:
chromium-reviews, agrieve+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix location aspects of search engine settings UI Android UI The search engines UI had two bugs which are fixed in this CL: - location is not supported for non-HTTPS search engines, but the 'location is blocked' message was shown, and was clickable, making it seem like it could be used - when system location is off, a link should be shown for search engines that have location enabled or blocked to allow it to be turned on. This was only visible for HTTP search engines. BUG=703516 Review-Url: https://codereview.chromium.org/2815643006 Cr-Commit-Position: refs/heads/master@{#465950} Committed: https://chromium.googlesource.com/chromium/src/+/3040583e9e0ddd28ac850e615b8d99418cfa98a3

Patch Set 1 #

Patch Set 2 : Handle not-set https engines #

Patch Set 3 : Fix java noob mistake #

Patch Set 4 : Only show 'turn on location' link if location is allowed #

Total comments: 2

Patch Set 5 : Rebase #

Patch Set 6 : Show blocked when location is off and blocked #

Total comments: 4

Patch Set 7 : Remove confusing comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -17 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/preferences/SearchEngineAdapter.java View 1 2 3 4 5 6 5 chunks +45 lines, -17 lines 0 comments Download

Messages

Total messages: 35 (25 generated)
benwells
After writing the commit description I think we should hide the 'click to turn on ...
3 years, 8 months ago (2017-04-13 01:48:11 UTC) #13
benwells
On 2017/04/13 01:48:11, benwells wrote: > After writing the commit description I think we should ...
3 years, 8 months ago (2017-04-13 02:03:21 UTC) #15
Theresa
+finnur@ - I think you're more familiar with this code than I am. Do you ...
3 years, 8 months ago (2017-04-13 02:46:49 UTC) #20
benwells
On 2017/04/13 02:46:49, Theresa wrote: > +finnur@ - I think you're more familiar with this ...
3 years, 8 months ago (2017-04-13 03:54:24 UTC) #21
Finnur
Sorry for the late response, Easter is a long holiday here. LGTM, one nit/question. https://codereview.chromium.org/2815643006/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/preferences/SearchEngineAdapter.java ...
3 years, 8 months ago (2017-04-18 10:59:21 UTC) #22
benwells
Finnur - PTAL, I've updated based on Kingston's advice on the bug. https://codereview.chromium.org/2815643006/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/preferences/SearchEngineAdapter.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/SearchEngineAdapter.java ...
3 years, 8 months ago (2017-04-19 10:48:42 UTC) #27
Finnur
Just one question and a nit. If the answer to the question is yes, then ...
3 years, 8 months ago (2017-04-19 14:28:56 UTC) #28
benwells
https://codereview.chromium.org/2815643006/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/preferences/SearchEngineAdapter.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/SearchEngineAdapter.java (right): https://codereview.chromium.org/2815643006/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/preferences/SearchEngineAdapter.java#newcode357 chrome/android/java/src/org/chromium/chrome/browser/preferences/SearchEngineAdapter.java:357: && !LocationUtils.getInstance().isSystemLocationSettingEnabled()) { On 2017/04/19 14:28:56, Finnur wrote: > ...
3 years, 8 months ago (2017-04-20 07:54:56 UTC) #29
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/2815643006/120001
3 years, 8 months ago (2017-04-20 07:55:21 UTC) #32
commit-bot: I haz the power
3 years, 8 months ago (2017-04-20 08:31:10 UTC) #35
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/3040583e9e0ddd28ac850e615b8d...

Powered by Google App Engine
This is Rietveld 408576698