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

Issue 10383006: Add scale factor and 2x resources from webkit and plumb through to ContentClient. (Closed)

Created:
8 years, 7 months ago by flackr
Modified:
8 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, pkotwicz
Visibility:
Public.

Description

Add scale factor and 2x resources from webkit and plumb through to ContentClient. BUG=124158 TEST=Run debug chrome with --default-device-scale-factor=2 and view a textarea with scrollbars. The previously blank assets are now there and chrome no longer crashes. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=136610

Patch Set 1 #

Patch Set 2 : Add scale factor to resource map including the few @2x resources specified in we #

Patch Set 3 : Add comment to use trie. #

Total comments: 1

Patch Set 4 : Merge with master. #

Patch Set 5 : Implement GetImageData in webkit platform support. #

Patch Set 6 : Add more test class GetImageResource methods. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -62 lines) Patch
M chrome/common/chrome_content_client.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_content_client.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M content/common/webkitplatformsupport_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/webkitplatformsupport_impl.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M content/public/common/content_client.h View 1 chunk +5 lines, -0 lines 0 comments Download
M content/shell/shell_content_client.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/shell_content_client.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M content/test/test_content_client.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/test_content_client.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M ui/compositor/test/compositor_test_support.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/glue/webkitplatformsupport_impl.h View 1 chunk +6 lines, -0 lines 0 comments Download
M webkit/glue/webkitplatformsupport_impl.cc View 1 2 2 chunks +74 lines, -61 lines 0 comments Download
M webkit/support/platform_support_android.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M webkit/support/platform_support_linux.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M webkit/support/platform_support_mac.mm View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M webkit/support/platform_support_win.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M webkit/support/test_webkit_platform_support.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell_gtk.cc View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell_mac.mm View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell_webkit_init.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell_win.cc View 1 2 3 4 5 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
flackr
Hi tony, Can you take a look at this change. Chrome crashes in 2x mode ...
8 years, 7 months ago (2012-05-04 15:20:38 UTC) #1
tony
from IM discussion: flackr said he would look to see where the @2x comes from. ...
8 years, 7 months ago (2012-05-04 17:37:54 UTC) #2
flackr
On 2012/05/04 17:37:54, tony wrote: > from IM discussion: > flackr said he would look ...
8 years, 7 months ago (2012-05-04 19:58:25 UTC) #3
tony
On 2012/05/04 19:58:25, flackr wrote: > Given that these are > hard-coded one off cases ...
8 years, 7 months ago (2012-05-04 20:34:38 UTC) #4
flackr
On 2012/05/04 20:34:38, tony wrote: > On 2012/05/04 19:58:25, flackr wrote: > > Given that ...
8 years, 7 months ago (2012-05-05 03:01:44 UTC) #5
tony
LGTM https://chromiumcodereview.appspot.com/10383006/diff/6012/webkit/glue/webkitplatformsupport_impl.cc File webkit/glue/webkitplatformsupport_impl.cc (right): https://chromiumcodereview.appspot.com/10383006/diff/6012/webkit/glue/webkitplatformsupport_impl.cc#newcode389 webkit/glue/webkitplatformsupport_impl.cc:389: { "missingImage@2x", IDR_BROKENIMAGE, 2.0 }, Nit: I would ...
8 years, 7 months ago (2012-05-07 17:02:34 UTC) #6
flackr
+ben for content/* Take a look when you get a chance, thanks!
8 years, 7 months ago (2012-05-07 17:44:48 UTC) #7
flackr
ben, ping, just in case this got buried in email :-).
8 years, 7 months ago (2012-05-09 13:58:20 UTC) #8
Ben Goodger (Google)
On 2012/05/09 13:58:20, flackr wrote: > ben, ping, just in case this got buried in ...
8 years, 7 months ago (2012-05-09 17:42:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/10383006/11001
8 years, 7 months ago (2012-05-09 17:58:08 UTC) #10
commit-bot: I haz the power
Try job failure for 10383006-11001 (retry) on android for steps "Compile, build". It's a second ...
8 years, 7 months ago (2012-05-09 18:12:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/10383006/11001
8 years, 7 months ago (2012-05-09 20:04:02 UTC) #12
commit-bot: I haz the power
Try job failure for 10383006-11001 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-09 20:21:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/10383006/11004
8 years, 7 months ago (2012-05-09 20:36:42 UTC) #14
commit-bot: I haz the power
Try job failure for 10383006-11004 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-09 21:02:41 UTC) #15
tony
8 years, 7 months ago (2012-05-11 18:06:53 UTC) #16
I committed this manually (it was blocking part of the android upstreaming):
https://src.chromium.org/viewvc/chrome?view=rev&revision=136610

Powered by Google App Engine
This is Rietveld 408576698