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

Issue 2651833002: [ios showcase]Configures Resource Bundle and adds Toolbar Coordinator (Closed)

Created:
3 years, 11 months ago by sczs
Modified:
3 years, 10 months ago
CC:
chromium-reviews, marq+watch_chromium.org, lpromero+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios showcase]Configures ApplicationState and adds Toolbar Coordinator In order to run the ToolbarVC in Showcase we need to access the Shared ResourceBundle. -Adds a DEP to ui/base -Inits the Resource bundle singleton. -Inits IOSChromeMain, this is needed since Resource bundle uses current_process_commandline_ to calculate the device scale and load the right resources. -Creates an AtExitManager in main.mm which is needed by IOSChromeMain. -Creates a simple placeholder coordinator file for Toolbar. -Renames Showcase Settings coordinator. BUG=683793 Review-Url: https://codereview.chromium.org/2651833002 Cr-Commit-Position: refs/heads/master@{#446712} Committed: https://chromium.googlesource.com/chromium/src/+/9d62fd77957ef8e486ad77c57e05b717c5a037d3

Patch Set 1 #

Total comments: 13

Patch Set 2 : Removes Application State dependency #

Total comments: 4

Patch Set 3 : CL Feedback #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -61 lines) Patch
M ios/showcase/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ios/showcase/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M ios/showcase/core/BUILD.gn View 1 2 chunks +3 lines, -0 lines 0 comments Download
M ios/showcase/core/app_delegate.mm View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M ios/showcase/core/main.mm View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M ios/showcase/core/showcase_model.mm View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M ios/showcase/settings/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
A + ios/showcase/settings/sc_settings_coordinator.h View 1 chunk +4 lines, -4 lines 0 comments Download
A + ios/showcase/settings/sc_settings_coordinator.mm View 1 chunk +2 lines, -2 lines 0 comments Download
D ios/showcase/settings/settings_coordinator.h View 1 chunk +0 lines, -19 lines 0 comments Download
D ios/showcase/settings/settings_coordinator.mm View 1 chunk +0 lines, -22 lines 0 comments Download
A + ios/showcase/toolbar/BUILD.gn View 1 chunk +5 lines, -5 lines 0 comments Download
A + ios/showcase/toolbar/sc_toolbar_coordinator.h View 1 1 chunk +5 lines, -6 lines 0 comments Download
A ios/showcase/toolbar/sc_toolbar_coordinator.mm View 1 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (23 generated)
sczs
PTAL The coordinator that presents the Toolbar is very simple for now, might make some ...
3 years, 11 months ago (2017-01-23 23:18:06 UTC) #5
edchin
What aspects of applicationState are required for showcase, and why?
3 years, 11 months ago (2017-01-24 00:18:52 UTC) #6
sczs
On 2017/01/24 00:18:52, edchin wrote: > What aspects of applicationState are required for showcase, and ...
3 years, 11 months ago (2017-01-24 00:29:52 UTC) #8
lpromero
I'd rather keep ApplicationState logic out of Showcase entirely. Please just initialize what you need ...
3 years, 11 months ago (2017-01-24 01:54:28 UTC) #10
marq (ping after 24h)
https://codereview.chromium.org/2651833002/diff/20001/ios/showcase/core/app_delegate.mm File ios/showcase/core/app_delegate.mm (right): https://codereview.chromium.org/2651833002/diff/20001/ios/showcase/core/app_delegate.mm#newcode40 ios/showcase/core/app_delegate.mm:40: self.applicationState = [[ApplicationState alloc] init]; Sorry for any confusion ...
3 years, 11 months ago (2017-01-24 09:49:07 UTC) #11
sczs
https://codereview.chromium.org/2651833002/diff/20001/ios/showcase/core/main.mm File ios/showcase/core/main.mm (right): https://codereview.chromium.org/2651833002/diff/20001/ios/showcase/core/main.mm#newcode17 ios/showcase/core/main.mm:17: // is started. This needs to be stack allocated ...
3 years, 11 months ago (2017-01-24 18:32:22 UTC) #12
lpromero
lgtm https://codereview.chromium.org/2651833002/diff/40001/ios/showcase/core/app_delegate.mm File ios/showcase/core/app_delegate.mm (right): https://codereview.chromium.org/2651833002/diff/40001/ios/showcase/core/app_delegate.mm#newcode36 ios/showcase/core/app_delegate.mm:36: std::string(), nullptr, ResourceBundle::LOAD_COMMON_RESOURCES); Can you move this before ...
3 years, 11 months ago (2017-01-25 08:07:30 UTC) #14
marq (ping after 24h)
LGTM Can you please explain in the CL description why IOSChromeMain and the at-exit manager ...
3 years, 11 months ago (2017-01-25 09:29:22 UTC) #15
edchin
lgtm
3 years, 11 months ago (2017-01-25 16:01:05 UTC) #18
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/2651833002/60001
3 years, 11 months ago (2017-01-25 16:10:35 UTC) #22
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/349966)
3 years, 11 months ago (2017-01-25 16:18:44 UTC) #24
sczs
https://codereview.chromium.org/2651833002/diff/40001/ios/showcase/core/app_delegate.mm File ios/showcase/core/app_delegate.mm (right): https://codereview.chromium.org/2651833002/diff/40001/ios/showcase/core/app_delegate.mm#newcode36 ios/showcase/core/app_delegate.mm:36: std::string(), nullptr, ResourceBundle::LOAD_COMMON_RESOURCES); On 2017/01/25 08:07:30, lpromero wrote: > ...
3 years, 11 months ago (2017-01-25 16:59:22 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/2651833002/80001
3 years, 11 months ago (2017-01-25 17:00:27 UTC) #28
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/350021)
3 years, 11 months ago (2017-01-25 17:07:33 UTC) #30
sczs
Thakis, Could you please lgtm, I'm just adding "ui/base" to the showcase DEPS file. Thanks!
3 years, 11 months ago (2017-01-25 17:19:59 UTC) #32
sczs
On 2017/01/25 17:19:59, sczs wrote: > Thakis, > > Could you please lgtm, I'm just ...
3 years, 10 months ago (2017-01-27 02:18:20 UTC) #33
Nico
lgtm, thanks for the ping. Feel free to ping if I don't look within a ...
3 years, 10 months ago (2017-01-27 02:19:13 UTC) #34
sczs
On 2017/01/27 02:19:13, Nico wrote: > lgtm, thanks for the ping. Feel free to ping ...
3 years, 10 months ago (2017-01-27 02:22:43 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/2651833002/80001
3 years, 10 months ago (2017-01-27 02:23:25 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/221593)
3 years, 10 months ago (2017-01-27 04:34:37 UTC) #39
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/2651833002/80001
3 years, 10 months ago (2017-01-27 16:46:37 UTC) #41
commit-bot: I haz the power
3 years, 10 months ago (2017-01-27 18:21:58 UTC) #44
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/9d62fd77957ef8e486ad77c57e05...

Powered by Google App Engine
This is Rietveld 408576698