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

Issue 2173563003: Blimp settings UI integration for Chrome, everything still lives in Blimp. (Closed)

Created:
4 years, 5 months ago by xingliu
Modified:
4 years, 4 months ago
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, gcasto+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Blimp settings UI integration for Chrome, everything still lives in Blimp. Previously Blimp code is in blimp/app, this CL port settings UI code to core, and reuse Java resources files in blimp/app.(We can setup new one in core or somewhere if needed) In this way, all UI resources, and code live in Blimp so we don't leak things to Chrome at the moment. For Chrome, it needs to throw a callback interface to Blimp, so Blimp can ask Chrome to do things in java. The CL that port UI code and resources into Chrome will be deleted. BUG=624451 Committed: https://crrev.com/27752d3ef4b6b938bcc3533797348fca37346151 Cr-Commit-Position: refs/heads/master@{#408281}

Patch Set 1 #

Patch Set 2 : Nit and use AlertDialog #

Patch Set 3 : Minor nit fix. #

Patch Set 4 : Add v7 support jar in Blimp build.gn, to make trybot happy. #

Total comments: 24

Patch Set 5 : Move test code to blimp, fix issues based on codereview. #

Patch Set 6 : Remove redundent array resource and adjust v0.5 client code. #

Patch Set 7 : resolve merge conflict in MainPreferences.java #

Total comments: 6

Patch Set 8 : Fix nit issues, and prepare to commit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+471 lines, -17 lines) Patch
M blimp/client/BUILD.gn View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M blimp/client/app/android/AndroidManifest.xml.jinja2 View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M blimp/client/app/android/java/res/values/arrays.xml View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M blimp/client/app/android/java/res/xml/about_blimp_preferences.xml View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
A + blimp/client/app/android/java/res/xml/blimp_preferences.xml View 2 chunks +6 lines, -9 lines 0 comments Download
M blimp/client/app/android/java/src/org/chromium/blimp/preferences/PreferencesUtil.java View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M blimp/client/app/android/java/strings/android_blimp_strings.grd View 1 2 3 4 2 chunks +21 lines, -3 lines 0 comments Download
A blimp/client/app/android/javatests/src/org/chromium/blimp/core/settings/BlimpPreferencesTest.java View 1 2 3 4 5 6 7 1 chunk +103 lines, -0 lines 0 comments Download
A blimp/client/app/android/javatests/src/org/chromium/blimp/core/settings/MockPreferences.java View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
M blimp/client/core/BUILD.gn View 1 2 3 4 5 6 7 3 chunks +17 lines, -0 lines 0 comments Download
M blimp/client/core/android/java/src/org/chromium/blimp/core/BlimpClientContextImpl.java View 1 2 3 4 2 chunks +16 lines, -0 lines 0 comments Download
M blimp/client/core/android/java/src/org/chromium/blimp/core/DummyBlimpClientContext.java View 2 chunks +13 lines, -0 lines 0 comments Download
A blimp/client/core/android/java/src/org/chromium/blimp/core/settings/AboutBlimpPreferences.java View 1 2 3 4 1 chunk +144 lines, -0 lines 0 comments Download
A blimp/client/core/android/java/src/org/chromium/blimp/core/settings/PreferencesUtil.java View 1 2 3 4 5 6 7 1 chunk +25 lines, -0 lines 0 comments Download
M blimp/client/public/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java View 1 2 3 4 2 chunks +14 lines, -0 lines 0 comments Download
A blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpSettingsCallbacks.java View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/blimp/BlimpSettingsCallbacksImpl.java View 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/MainPreferences.java View 1 2 3 4 5 6 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 42 (34 generated)
xingliu
Put all pref UI code to blimp core, so don't leak things to Chrome for ...
4 years, 5 months ago (2016-07-22 00:30:50 UTC) #5
David Trainor- moved to gerrit
https://codereview.chromium.org/2173563003/diff/60001/blimp/client/app/android/java/res/values/arrays.xml File blimp/client/app/android/java/res/values/arrays.xml (right): https://codereview.chromium.org/2173563003/diff/60001/blimp/client/app/android/java/res/values/arrays.xml#newcode7 blimp/client/app/android/java/res/values/arrays.xml:7: <string-array name="assigner_envs"> Should we remove these? https://codereview.chromium.org/2173563003/diff/60001/blimp/client/app/android/java/res/values/arrays.xml#newcode18 blimp/client/app/android/java/res/values/arrays.xml:18: <!-- ...
4 years, 5 months ago (2016-07-22 16:51:43 UTC) #16
xingliu
Thanks for the code review. This patch moved test code to blimp, and fixed issues ...
4 years, 5 months ago (2016-07-23 23:50:36 UTC) #23
David Trainor- moved to gerrit
lgtm % small nits. https://codereview.chromium.org/2173563003/diff/60001/blimp/client/core/android/java/src/org/chromium/blimp/core/settings/AboutBlimpPreferences.java File blimp/client/core/android/java/src/org/chromium/blimp/core/settings/AboutBlimpPreferences.java (right): https://codereview.chromium.org/2173563003/diff/60001/blimp/client/core/android/java/src/org/chromium/blimp/core/settings/AboutBlimpPreferences.java#newcode133 blimp/client/core/android/java/src/org/chromium/blimp/core/settings/AboutBlimpPreferences.java:133: sSettingsCallback.onRestartBrowserRequested(); On 2016/07/23 23:50:36, xingliu ...
4 years, 4 months ago (2016-07-27 17:31:34 UTC) #30
xingliu
Fix issues based on review, prepare to put it into commit queue. https://codereview.chromium.org/2173563003/diff/60001/blimp/client/core/android/java/src/org/chromium/blimp/core/settings/AboutBlimpPreferences.java File blimp/client/core/android/java/src/org/chromium/blimp/core/settings/AboutBlimpPreferences.java ...
4 years, 4 months ago (2016-07-27 23:52:04 UTC) #35
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/2173563003/140001
4 years, 4 months ago (2016-07-27 23:52:36 UTC) #38
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 4 months ago (2016-07-27 23:59:01 UTC) #40
commit-bot: I haz the power
4 years, 4 months ago (2016-07-28 00:02:10 UTC) #42
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/27752d3ef4b6b938bcc3533797348fca37346151
Cr-Commit-Position: refs/heads/master@{#408281}

Powered by Google App Engine
This is Rietveld 408576698