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

Issue 7582009: [Mac] Rubber-banding on Lion. (Closed)

Created:
9 years, 4 months ago by Alexei Svitkine (slow)
Modified:
9 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, brettw-cc_chromium.org
Visibility:
Public.

Description

[Mac] Rubber-banding on Lion. BUG=88353 TEST=On Lion, scroll past the edge of the web content area and see textured over-scroll area. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96387

Patch Set 1 : '' #

Patch Set 2 : '' #

Total comments: 11

Patch Set 3 : '' #

Total comments: 6

Patch Set 4 : '' #

Total comments: 3

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 1

Patch Set 9 : x #

Patch Set 10 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -4 lines) Patch
M chrome/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 8 9 9 chunks +132 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host.h View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host.cc View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
M content/renderer/render_view.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Alexei Svitkine (slow)
9 years, 4 months ago (2011-08-08 17:22:42 UTC) #1
Nico
http://codereview.chromium.org/7582009/diff/14/chrome/browser/renderer_host/render_widget_host_view_mac.mm File chrome/browser/renderer_host/render_widget_host_view_mac.mm (right): http://codereview.chromium.org/7582009/diff/14/chrome/browser/renderer_host/render_widget_host_view_mac.mm#newcode1235 chrome/browser/renderer_host/render_widget_host_view_mac.mm:1235: - (void)beginGestureWithEvent:(NSEvent*)theEvent { s/theEvent/event/ This override means the same ...
9 years, 4 months ago (2011-08-08 17:30:53 UTC) #2
Alexei Svitkine (slow)
http://codereview.chromium.org/7582009/diff/14/chrome/browser/renderer_host/render_widget_host_view_mac.mm File chrome/browser/renderer_host/render_widget_host_view_mac.mm (right): http://codereview.chromium.org/7582009/diff/14/chrome/browser/renderer_host/render_widget_host_view_mac.mm#newcode1248 chrome/browser/renderer_host/render_widget_host_view_mac.mm:1248: }]; On 2011/08/08 17:30:53, Nico wrote: > do you ...
9 years, 4 months ago (2011-08-08 18:31:31 UTC) #3
Nico
http://codereview.chromium.org/7582009/diff/14/chrome/browser/renderer_host/render_widget_host_view_mac.mm File chrome/browser/renderer_host/render_widget_host_view_mac.mm (right): http://codereview.chromium.org/7582009/diff/14/chrome/browser/renderer_host/render_widget_host_view_mac.mm#newcode1248 chrome/browser/renderer_host/render_widget_host_view_mac.mm:1248: }]; On 2011/08/08 18:31:31, asvitkine_ wrote: > On 2011/08/08 ...
9 years, 4 months ago (2011-08-08 18:49:15 UTC) #4
Alexei Svitkine (slow)
>http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/EventOverview/MonitoringEvents/MonitoringEvents.html > > Did you check if that example is built with garbage collection or ...
9 years, 4 months ago (2011-08-08 18:58:49 UTC) #5
Nico
The code looks ok. Can you give me a high-level description of how this works, ...
9 years, 4 months ago (2011-08-08 19:44:59 UTC) #6
Alexei Svitkine (slow)
> (Why did you override beingGesture…: instead of doing this in scrollEvent:?) I followed how ...
9 years, 4 months ago (2011-08-08 20:06:29 UTC) #7
Nico
http://codereview.chromium.org/7582009/diff/14003/chrome/browser/renderer_host/render_widget_host_view_mac.mm File chrome/browser/renderer_host/render_widget_host_view_mac.mm (right): http://codereview.chromium.org/7582009/diff/14003/chrome/browser/renderer_host/render_widget_host_view_mac.mm#newcode1236 chrome/browser/renderer_host/render_widget_host_view_mac.mm:1236: - (void)beginGestureWithEvent:(NSEvent*)theEvent { On 2011/08/08 20:06:29, asvitkine_ wrote: > ...
9 years, 4 months ago (2011-08-08 20:10:09 UTC) #8
Nico
http://codereview.chromium.org/7582009/diff/8008/chrome/browser/renderer_host/render_widget_host_view_mac.mm File chrome/browser/renderer_host/render_widget_host_view_mac.mm (right): http://codereview.chromium.org/7582009/diff/8008/chrome/browser/renderer_host/render_widget_host_view_mac.mm#newcode1223 chrome/browser/renderer_host/render_widget_host_view_mac.mm:1223: if ([theEvent subtype] == kIOHIDEventTypeScroll) { On 2011/08/08 20:06:29, ...
9 years, 4 months ago (2011-08-08 20:11:27 UTC) #9
Nico
On Mon, Aug 8, 2011 at 1:06 PM, <asvitkine@chromium.org> wrote: >> (Why did you override ...
9 years, 4 months ago (2011-08-08 20:13:19 UTC) #10
Alexei Svitkine (slow)
On Mon, Aug 8, 2011 at 4:11 PM, <thakis@chromium.org> wrote: > > http://codereview.chromium.org/7582009/diff/8008/chrome/browser/renderer_host/render_widget_host_view_mac.mm > File ...
9 years, 4 months ago (2011-08-08 20:26:18 UTC) #11
Alexei Svitkine (slow)
Updated version which doesn't use blocks (and thus doesn't need 10.6 SDK), but works just ...
9 years, 4 months ago (2011-08-08 20:30:41 UTC) #12
Mark Mentovai
So I wrote the blocks support for nothing? http://codereview.chromium.org/7582032/
9 years, 4 months ago (2011-08-08 20:56:08 UTC) #13
Alexei Svitkine (slow)
On Mon, Aug 8, 2011 at 4:56 PM, Mark Mentovai <mark@chromium.org> wrote: > So I ...
9 years, 4 months ago (2011-08-08 21:05:12 UTC) #14
Nico
LGTM
9 years, 4 months ago (2011-08-08 21:08:59 UTC) #15
Nico
One issue with drawing the background in the browser is that if there's a vertical ...
9 years, 4 months ago (2011-08-09 03:37:40 UTC) #16
Alexei Svitkine (slow)
On Mon, Aug 8, 2011 at 11:37 PM, <thakis@chromium.org> wrote: > One issue with drawing ...
9 years, 4 months ago (2011-08-09 04:58:48 UTC) #17
Nico
On Mon, Aug 8, 2011 at 9:58 PM, Alexei Svitkine <asvitkine@chromium.org> wrote: > On Mon, ...
9 years, 4 months ago (2011-08-09 05:34:14 UTC) #18
Alexei Svitkine (slow)
> It would probably be very similar code to what you have, just hooked > ...
9 years, 4 months ago (2011-08-09 13:43:31 UTC) #19
Alexei Svitkine (slow)
So it looks like the "correct" place to draw the gutters from the WebKit-side is ...
9 years, 4 months ago (2011-08-09 16:56:47 UTC) #20
Alexei Svitkine (slow)
Ah, looks like we can have a Chromium subclass of ScrollView which overrides paintOverhangAreas(). -Alexei ...
9 years, 4 months ago (2011-08-09 17:03:28 UTC) #21
Alexei Svitkine (slow)
Brett, could I get an OWNERS approval for the renderer changes?
9 years, 4 months ago (2011-08-10 18:42:03 UTC) #22
brettw
LGTM with comment enhancement. http://codereview.chromium.org/7582009/diff/19009/content/browser/renderer_host/render_widget_host.h File content/browser/renderer_host/render_widget_host.h (right): http://codereview.chromium.org/7582009/diff/19009/content/browser/renderer_host/render_widget_host.h#newcode557 content/browser/renderer_host/render_widget_host.h:557: // |last_scroll_offset_|. We should make ...
9 years, 4 months ago (2011-08-11 00:08:27 UTC) #23
commit-bot: I haz the power
9 years, 4 months ago (2011-08-11 14:39:21 UTC) #24
Change committed as 96387

Powered by Google App Engine
This is Rietveld 408576698