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

Issue 2616203002: android: Remove DeviceDisplayInfo from ResourceBundle (Closed)

Created:
3 years, 11 months ago by boliu
Modified:
3 years, 11 months ago
Reviewers:
Ted C, gone, sky
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

android: Remove DeviceDisplayInfo from ResourceBundle Instead, copy the logic to get the primary display density in resource_bundle_android. Note this is not using Display to avoid initializing Display backend in any child process. BUG=625089

Patch Set 1 #

Patch Set 2 : rewrite #

Patch Set 3 : forced scale factor #

Patch Set 4 : move to resource_bundle_android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -6 lines) Patch
M ui/android/java/src/org/chromium/ui/base/ResourceBundle.java View 1 2 3 3 chunks +17 lines, -1 line 0 comments Download
M ui/android/java/src/org/chromium/ui/display/DisplayAndroidManager.java View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ui/base/resource/resource_bundle.cc View 1 2 3 2 chunks +1 line, -3 lines 0 comments Download
M ui/base/resource/resource_bundle_android.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ui/base/resource/resource_bundle_android.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (27 generated)
boliu
ptal, for android review, will add owner stamp after
3 years, 11 months ago (2017-01-07 00:35:00 UTC) #4
gone
lgtm
3 years, 11 months ago (2017-01-07 01:05:08 UTC) #5
boliu
+sky for owner stamp
3 years, 11 months ago (2017-01-07 01:07:35 UTC) #7
boliu
Ahh, InitSharedInstance is called before Screen is initialized on android. Need to fix that too
3 years, 11 months ago (2017-01-07 02:01:20 UTC) #9
boliu
On 2017/01/07 02:01:20, boliu wrote: > Ahh, InitSharedInstance is called before Screen is initialized on ...
3 years, 11 months ago (2017-01-07 02:24:01 UTC) #10
boliu
Dan, can you take another look, and let me know how much you hate this.. ...
3 years, 11 months ago (2017-01-09 22:50:29 UTC) #17
boliu
On 2017/01/09 22:50:29, boliu wrote: > Dan, can you take another look, and let me ...
3 years, 11 months ago (2017-01-09 23:43:11 UTC) #18
boliu
ptal moved to resource_bundle_android.. and I was wrong on chat, there was already a java ...
3 years, 11 months ago (2017-01-10 00:53:31 UTC) #20
gone
lgtm % updating the commit message as necessary
3 years, 11 months ago (2017-01-10 01:03:40 UTC) #21
boliu
+sky back for stamping resource_bundle.cc +tedchoc for ui/android
3 years, 11 months ago (2017-01-10 01:15:24 UTC) #28
sky
LGTM
3 years, 11 months ago (2017-01-10 15:53:22 UTC) #31
Ted C
On 2017/01/10 15:53:22, sky wrote: > LGTM lgtm
3 years, 11 months ago (2017-01-10 16:34:54 UTC) #34
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/2616203002/60001
3 years, 11 months ago (2017-01-10 16:57:45 UTC) #38
commit-bot: I haz the power
Prior attempt to commit was detected, but we were not able to check whether the ...
3 years, 11 months ago (2017-01-10 17:08:36 UTC) #41
boliu
3 years, 11 months ago (2017-01-10 17:10:05 UTC) #42
On 2017/01/10 17:08:36, commit-bot: I haz the power wrote:
> Prior attempt to commit was detected, but we were not able to check whether
the
> issue was successfully committed. Please check Git history manually and
re-check
> CQ or close this issue as needed.

Guess I should be happy it didn't try to commit the CL twice..

Powered by Google App Engine
This is Rietveld 408576698