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

Issue 2431653004: Setup Blimp internal string resources. (Closed)

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

Description

Setup Blimp internal string resources. Previously the 0.6 Chrome/Blimp integrated build still use strings in //blimp/client/app, which also only generates android strings files. This CL: 1. Setup strings resources in //blimp/client/core, all core code won't use app resources anymore. 2. Internal core strings are protected behind the build flag |enable_blimp_client|, so normal Chrome build won't contain Blimp internal strings. Also the build flag is only used in //blimp/client/core build files. 3. The Blimp linux shell only loads the English string pak file. Unit tests and 0.5 app currently don't depends on the new core strings. Clean resources bug. BUG=630687 Decouple app and core code bug. BUG=651964 Committed: https://crrev.com/7d4d7a54a39b017222ce964baaf8431f4453a957 Cr-Commit-Position: refs/heads/master@{#431484}

Patch Set 1 #

Patch Set 2 : Revisit deps. #

Patch Set 3 : Fix the deps. #

Patch Set 4 : Rebased #

Patch Set 5 : Rebased #

Patch Set 6 : Try to fix win trybot compile. #

Patch Set 7 : Trying to fix include #

Patch Set 8 : Trying to fix compiling. #

Patch Set 9 : Fix render_widget compile error on win. #

Patch Set 10 : Rebased. #

Patch Set 11 : Fix win_clang, make public api cleaner. #

Patch Set 12 : revert changes in render_widget_feature. #

Patch Set 13 : Removed unused entry in public/DEPS #

Total comments: 8

Patch Set 14 : Fixes for feedback. #

Total comments: 4

Patch Set 15 : Rebased for merget conflicts. #

Patch Set 16 : Rebase. #

Patch Set 17 : Polish naming. #

Patch Set 18 : Rebase #

Patch Set 19 : Added some recent blimp java xml file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2993 lines, -59 lines) Patch
M blimp/client/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M blimp/client/app/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +17 lines, -0 lines 0 comments Download
M blimp/client/app/blimp_startup.h View 1 chunk +2 lines, -0 lines 0 comments Download
M blimp/client/app/blimp_startup.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M blimp/client/app/linux/blimp_client_context_delegate_linux.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +7 lines, -43 lines 0 comments Download
M blimp/client/app/linux/blimp_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M blimp/client/core/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +2 lines, -0 lines 0 comments Download
M blimp/client/core/contents/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/input/ImeHelperDialog.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/input/WebInputConfirmationPanel.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
A blimp/client/core/resources/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +205 lines, -0 lines 0 comments Download
A blimp/client/core/resources/android/java/res/drawable/dotted_line.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +22 lines, -0 lines 0 comments Download
A blimp/client/core/resources/android/java/res/layout/text_input_popup.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +37 lines, -0 lines 0 comments Download
A blimp/client/core/resources/android/java/res/layout/web_input_bottom_panel.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +41 lines, -0 lines 0 comments Download
A blimp/client/core/resources/android/java/res/values/arrays.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +18 lines, -0 lines 0 comments Download
A blimp/client/core/resources/android/java/res/values/colors.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +10 lines, -0 lines 0 comments Download
A blimp/client/core/resources/android/java/res/values/dimens.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +8 lines, -0 lines 0 comments Download
A blimp/client/core/resources/android/java/res/xml/blimp_preferences.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +22 lines, -0 lines 0 comments Download
A blimp/client/core/resources/blimp_strings.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +80 lines, -0 lines 0 comments Download
A blimp/client/core/resources/blimp_strings.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +267 lines, -0 lines 0 comments Download
A blimp/client/core/resources/dummy_blimp_strings.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +20 lines, -0 lines 0 comments Download
A blimp/client/core/resources/dummy_blimp_strings.grd View 1 chunk +66 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_am.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_ar.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_bg.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_ca.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_cs.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_da.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_de.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_el.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_en-GB.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_es.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_es-419.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_fa.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_fi.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_fil.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_fr.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_hi.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_hr.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_hu.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_id.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_it.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_iw.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_ja.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_ko.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_lt.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_lv.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_nl.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_no.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_pl.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_pt-BR.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_pt-PT.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_ro.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_ru.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_sk.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_sl.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_sr.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_sv.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_sw.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_th.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_tr.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_uk.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_vi.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_zh-CN.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
A blimp/client/core/resources/translations/blimp_strings_zh-TW.xtb View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +48 lines, -0 lines 0 comments Download
M blimp/client/core/settings/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/core/settings/android/java/src/org/chromium/blimp/core/settings/AboutBlimpPreferences.java View 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/public/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M blimp/client/public/blimp_client_context_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
A blimp/client/public/resources/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +23 lines, -0 lines 0 comments Download
A blimp/client/public/resources/blimp_strings.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +42 lines, -0 lines 0 comments Download
M build/android/lint/suppressions.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/android/blimp/chrome_blimp_client_context_delegate.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -8 lines 0 comments Download
M chrome/chrome_repack_locales.gni View 1 2 3 4 5 6 7 8 9 10 14 15 16 3 chunks +10 lines, -2 lines 0 comments Download
M tools/gritsettings/resource_ids View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
M tools/gritsettings/translation_expectations.pyl View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 85 (73 generated)
xingliu
Currently it has an issue that win_clang trybot will fail, I'm trying to figure out ...
4 years, 2 months ago (2016-10-19 21:01:11 UTC) #20
David Trainor- moved to gerrit
A few comments on the structure of the linux client and how we include the ...
4 years, 1 month ago (2016-10-26 00:43:18 UTC) #43
xingliu
Thanks for the feedback, added another target in blimp/client/public/resources, only for app. https://codereview.chromium.org/2431653004/diff/240001/blimp/client/app/BUILD.gn File blimp/client/app/BUILD.gn ...
4 years, 1 month ago (2016-10-26 21:14:42 UTC) #56
xingliu
thakis@chromium.org: Please help review changes in blimp/client/DEPS build/android/lint/suppressions.xml chrome/chrome_repack_locales.gni tools/gritsettings/resource_ids tools/gritsettings/translation_expectations.pyl *.gn Thanks.
4 years, 1 month ago (2016-10-26 21:17:58 UTC) #58
David Trainor- moved to gerrit
https://codereview.chromium.org/2431653004/diff/240001/blimp/client/public/resources/BUILD.gn File blimp/client/public/resources/BUILD.gn (right): https://codereview.chromium.org/2431653004/diff/240001/blimp/client/public/resources/BUILD.gn#newcode8 blimp/client/public/resources/BUILD.gn:8: visibility = [ "//chrome/*" ] On 2016/10/26 21:14:42, xingliu ...
4 years, 1 month ago (2016-10-28 04:20:08 UTC) #59
xingliu
Thanks for the feedback, did some polish on naming. https://codereview.chromium.org/2431653004/diff/240001/blimp/client/public/resources/BUILD.gn File blimp/client/public/resources/BUILD.gn (right): https://codereview.chromium.org/2431653004/diff/240001/blimp/client/public/resources/BUILD.gn#newcode8 blimp/client/public/resources/BUILD.gn:8: ...
4 years, 1 month ago (2016-10-28 22:50:31 UTC) #64
David Trainor- moved to gerrit
lgtm, but we might need to revisit that visibility issue later. I'm fine with landing ...
4 years, 1 month ago (2016-11-02 16:36:33 UTC) #65
xingliu
Friendly ping.
4 years, 1 month ago (2016-11-08 19:18:00 UTC) #66
Nico
lgtm (sorry, have been traveling)
4 years, 1 month ago (2016-11-10 20:58:46 UTC) #67
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/2431653004/360001
4 years, 1 month ago (2016-11-11 03:33:41 UTC) #82
commit-bot: I haz the power
Committed patchset #19 (id:360001)
4 years, 1 month ago (2016-11-11 03:43:50 UTC) #83
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 03:56:42 UTC) #85
Message was sent while issue was closed.
Patchset 19 (id:??) landed as
https://crrev.com/7d4d7a54a39b017222ce964baaf8431f4453a957
Cr-Commit-Position: refs/heads/master@{#431484}

Powered by Google App Engine
This is Rietveld 408576698