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

Issue 10815077: mac: Let panels get its resize cursors from WebKit. (Closed)

Created:
8 years, 4 months ago by Nico
Modified:
8 years, 4 months ago
CC:
chromium-reviews, jennb, jianli, Dmitry Titov, dcheng, Avi (use Gerrit)
Visibility:
Public.

Description

mac: Let panels get its resize cursors from WebKit. This way, they pick up native cursors on Lion, and they no longer implicitly depend on resources added to the bundle by WebCore.gyp. Depends on https://chromiumcodereview.appspot.com/10815077/ BUG=137588 TEST=none TBR=dimich (who lg'd with his @google instead of his OWNING @chromium) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148187

Patch Set 1 #

Patch Set 2 : . #

Total comments: 3

Patch Set 3 : avi #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -17 lines) Patch
M chrome/browser/ui/panels/panel_window_controller_cocoa.mm View 1 2 2 chunks +15 lines, -17 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Nico
https://chromiumcodereview.appspot.com/10815077/diff/2001/chrome/browser/ui/panels/panel_window_controller_cocoa.mm File chrome/browser/ui/panels/panel_window_controller_cocoa.mm (right): https://chromiumcodereview.appspot.com/10815077/diff/2001/chrome/browser/ui/panels/panel_window_controller_cocoa.mm#newcode143 chrome/browser/ui/panels/panel_window_controller_cocoa.mm:143: [LoadWebKitCursor(WebKit::WebCursorInfo::TypeNorthSouthResize) retain]); Note that native Lion windows use TypeNorthResize ...
8 years, 4 months ago (2012-07-24 18:44:28 UTC) #1
Avi (use Gerrit)
https://chromiumcodereview.appspot.com/10815077/diff/2001/chrome/browser/ui/panels/panel_window_controller_cocoa.mm File chrome/browser/ui/panels/panel_window_controller_cocoa.mm (right): https://chromiumcodereview.appspot.com/10815077/diff/2001/chrome/browser/ui/panels/panel_window_controller_cocoa.mm#newcode131 chrome/browser/ui/panels/panel_window_controller_cocoa.mm:131: static NSCursor* LoadWebKitCursor(WebKit::WebCursorInfo::Type type) { namespace { ... } ...
8 years, 4 months ago (2012-07-24 18:49:25 UTC) #2
Nico
https://chromiumcodereview.appspot.com/10815077/diff/2001/chrome/browser/ui/panels/panel_window_controller_cocoa.mm File chrome/browser/ui/panels/panel_window_controller_cocoa.mm (right): https://chromiumcodereview.appspot.com/10815077/diff/2001/chrome/browser/ui/panels/panel_window_controller_cocoa.mm#newcode131 chrome/browser/ui/panels/panel_window_controller_cocoa.mm:131: static NSCursor* LoadWebKitCursor(WebKit::WebCursorInfo::Type type) { On 2012/07/24 18:49:26, Avi ...
8 years, 4 months ago (2012-07-24 18:52:08 UTC) #3
Avi (use Gerrit)
This is exactly the change I wanted to make when I ran across this code ...
8 years, 4 months ago (2012-07-24 18:54:14 UTC) #4
dimich
lgtm as well.
8 years, 4 months ago (2012-07-24 18:59:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/10815077/7003
8 years, 4 months ago (2012-07-24 19:02:12 UTC) #6
commit-bot: I haz the power
Presubmit check for 10815077-7003 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-07-24 19:02:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/10815077/7003
8 years, 4 months ago (2012-07-24 19:12:11 UTC) #8
commit-bot: I haz the power
8 years, 4 months ago (2012-07-24 20:39:17 UTC) #9
Change committed as 148187

Powered by Google App Engine
This is Rietveld 408576698