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

Issue 2387233002: chrome/mash: Load resources before running the mus app. (Closed)

Created:
4 years, 2 months ago by sadrul
Modified:
4 years, 2 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, kalyank, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chrome/mash: Load resources before running the mus app. When running 'chrome --mash' on device, all the resource files necessary for ash, mus etc. apps are already in the resource files used for regular chrome. So instead of deploying separate resource files for these apps, just load chrome's resource files, before initializing the app. BUG=628715, 633656 Committed: https://crrev.com/6a570def6dbb73675bdbee3766e636f0f2218439 Cr-Commit-Position: refs/heads/master@{#422694}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 8

Patch Set 3 : . #

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -10 lines) Patch
M chrome/app/mash/mash_runner.cc View 1 2 3 chunks +14 lines, -0 lines 0 comments Download
M ui/views/mus/aura_init.cc View 1 2 3 3 chunks +12 lines, -10 lines 0 comments Download

Messages

Total messages: 31 (20 generated)
sadrul
4 years, 2 months ago (2016-10-03 21:44:03 UTC) #7
msw
https://codereview.chromium.org/2387233002/diff/20001/chrome/app/mash/mash_runner.cc File chrome/app/mash/mash_runner.cc (right): https://codereview.chromium.org/2387233002/diff/20001/chrome/app/mash/mash_runner.cc#newcode55 chrome/app/mash/mash_runner.cc:55: ui::ResourceBundle::InitSharedInstanceWithLocale( nit: add a comment that this loads Chrome's ...
4 years, 2 months ago (2016-10-03 22:07:39 UTC) #9
sky
LGTM https://codereview.chromium.org/2387233002/diff/20001/chrome/app/mash/mash_runner.cc File chrome/app/mash/mash_runner.cc (right): https://codereview.chromium.org/2387233002/diff/20001/chrome/app/mash/mash_runner.cc#newcode56 chrome/app/mash/mash_runner.cc:56: locale, NULL, ui::ResourceBundle::LOAD_COMMON_RESOURCES); nullptr
4 years, 2 months ago (2016-10-03 22:17:17 UTC) #10
sadrul
https://codereview.chromium.org/2387233002/diff/20001/chrome/app/mash/mash_runner.cc File chrome/app/mash/mash_runner.cc (right): https://codereview.chromium.org/2387233002/diff/20001/chrome/app/mash/mash_runner.cc#newcode55 chrome/app/mash/mash_runner.cc:55: ui::ResourceBundle::InitSharedInstanceWithLocale( On 2016/10/03 22:07:39, msw wrote: > nit: add ...
4 years, 2 months ago (2016-10-04 00:42:48 UTC) #14
msw
lgtm; it'd be nice if we could express this data dependency, but I'm not sure ...
4 years, 2 months ago (2016-10-04 00:47:59 UTC) #16
sadrul
On 2016/10/04 00:47:59, msw wrote: > lgtm; it'd be nice if we could express this ...
4 years, 2 months ago (2016-10-04 01:04:05 UTC) #17
msw
On 2016/10/04 01:04:05, sadrul wrote: > On 2016/10/04 00:47:59, msw wrote: > > lgtm; it'd ...
4 years, 2 months ago (2016-10-04 01:56:45 UTC) #21
sadrul
https://codereview.chromium.org/2387233002/diff/20001/ui/views/mus/aura_init.cc File ui/views/mus/aura_init.cc (right): https://codereview.chromium.org/2387233002/diff/20001/ui/views/mus/aura_init.cc#newcode83 ui/views/mus/aura_init.cc:83: void AuraInit::InitializeResources(shell::Connector* connector) { On 2016/10/04 00:47:59, msw wrote: ...
4 years, 2 months ago (2016-10-04 01:56:47 UTC) #22
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/2387233002/60001
4 years, 2 months ago (2016-10-04 03:29:52 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-04 03:45:15 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 03:47:38 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6a570def6dbb73675bdbee3766e636f0f2218439
Cr-Commit-Position: refs/heads/master@{#422694}

Powered by Google App Engine
This is Rietveld 408576698