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

Issue 6254004: Move more web widgets painting from webkit to chrome. (Closed)

Created:
9 years, 11 months ago by xiyuan
Modified:
9 years, 7 months ago
Reviewers:
tony, DaveMoore
CC:
chromium-reviews, pam+watch_chromium.org, darin-cc_chromium.org, davemoore+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Move more web widgets painting from webkit to chrome. - Move linux web widgets painting code from webkit; - Move dependent resources from webkit_resources into gfx_resources and follow the pattern in net package to add resource loading support to gfx package; - Update ChromeOS theme engine to follow mocks in chromium-os:9256. BUG=chromium-os:9256 TEST=Verify default web widgets has desired look on ChromeOS. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71969

Patch Set 1 #

Total comments: 42

Patch Set 2 : for tony's comments #1 #

Total comments: 12

Patch Set 3 : for tony #2 and davemoore #1 #

Patch Set 4 : sync and fix width100percent-checkbox #

Unified diffs Side-by-side diffs Delta from patch set Stats (+951 lines, -138 lines) Patch
M chrome/browser/browser_main.cc View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/native_theme_chromeos.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/native_theme_chromeos.cc View 1 2 3 7 chunks +7 lines, -69 lines 0 comments Download
M chrome/browser/renderer_preferences_util.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/common/gfx_resource_provider.h View 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/common/gfx_resource_provider.cc View 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/renderer/renderer_main.cc View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M gfx/gfx.gyp View 4 chunks +5 lines, -3 lines 0 comments Download
A gfx/gfx_module.h View 1 chunk +34 lines, -0 lines 0 comments Download
A gfx/gfx_module.cc View 1 chunk +21 lines, -0 lines 0 comments Download
M gfx/gfx_resources.grd View 1 chunk +21 lines, -1 line 0 comments Download
M gfx/native_theme_linux.h View 1 2 3 4 chunks +131 lines, -18 lines 0 comments Download
M gfx/native_theme_linux.cc View 1 2 3 9 chunks +556 lines, -14 lines 0 comments Download
M gfx/rect.h View 1 chunk +4 lines, -0 lines 0 comments Download
M gfx/rect.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M webkit/glue/webthemeengine_impl_linux.cc View 1 2 3 chunks +88 lines, -12 lines 0 comments Download
M webkit/support/platform_support_gtk.cc View 3 chunks +11 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/test_shell.gypi View 1 2 chunks +2 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell_gtk.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/test_shell_mac.mm View 1 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/test_shell_main.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/test_shell_win.cc View 1 2 3 3 chunks +2 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
xiyuan
This is the step 2 change after WebThemeEngine API change (https://bugs.webkit.org/show_bug.cgi?id=52413) is landed and rolled ...
9 years, 11 months ago (2011-01-14 18:08:46 UTC) #1
tony
http://codereview.chromium.org/6254004/diff/1/chrome/browser/chromeos/native_theme_chromeos.h File chrome/browser/chromeos/native_theme_chromeos.h (right): http://codereview.chromium.org/6254004/diff/1/chrome/browser/chromeos/native_theme_chromeos.h#newcode33 chrome/browser/chromeos/native_theme_chromeos.h:33: const ButtonExtraParams& button); Can you add OVERRIDE to the ...
9 years, 11 months ago (2011-01-14 22:06:04 UTC) #2
xiyuan
Sorry it took me a bit long. I was having some fun with the webkit ...
9 years, 11 months ago (2011-01-18 21:30:48 UTC) #3
tony
LGTM. BTW, about how many tests need to be rebaselined? http://codereview.chromium.org/6254004/diff/1/gfx/native_theme_linux.cc File gfx/native_theme_linux.cc (right): http://codereview.chromium.org/6254004/diff/1/gfx/native_theme_linux.cc#newcode660 ...
9 years, 11 months ago (2011-01-18 22:39:19 UTC) #4
DaveMoore
http://codereview.chromium.org/6254004/diff/8001/gfx/native_theme_linux.cc File gfx/native_theme_linux.cc (right): http://codereview.chromium.org/6254004/diff/8001/gfx/native_theme_linux.cc#newcode442 gfx/native_theme_linux.cc:442: image = button.checked ? image_disabled_on : image_disabled_off; Nit: No ...
9 years, 11 months ago (2011-01-19 17:04:13 UTC) #5
xiyuan
CL updated to address comments. Please take another look. tony: it breaks about 30-40 layout ...
9 years, 11 months ago (2011-01-19 19:06:42 UTC) #6
tony
On 2011/01/19 19:06:42, xiyuan wrote: > CL updated to address comments. Please take another look. ...
9 years, 11 months ago (2011-01-19 19:13:13 UTC) #7
DaveMoore
LGTM
9 years, 11 months ago (2011-01-19 22:25:03 UTC) #8
xiyuan
9 years, 11 months ago (2011-01-19 23:46:20 UTC) #9
CL updated to fix fast/replaced/width100percent-checkbox.html which is a real
layout test break. We should stretch the checkbox/radio image. I moved
DrawBitmapInt which can do stretching from NativeThemeChromeos into
NativeThemeLinux.

Powered by Google App Engine
This is Rietveld 408576698