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

Issue 7538006: Pepper and WebKit API change to support a plugin knowing if a scrollbar is an overlay one. (Closed)

Created:
9 years, 4 months ago by jam
Modified:
9 years, 4 months ago
CC:
chromium-reviews, piman+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Pepper and WebKit API change to support a plugin knowing if a scrollbar is an overlay one. BUG=90530 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96244

Patch Set 1 : '' #

Patch Set 2 : sync #

Patch Set 3 : '' #

Total comments: 6

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : review comments #

Total comments: 1

Patch Set 7 : working patch, other than one scrollbar doesn't animate the other. have to add new pepper concepts #

Patch Set 8 : sync #

Patch Set 9 : Redo by adding ScrollbarGroup to pepper and WebKit #

Total comments: 6

Patch Set 10 : Get scrollbars to show up during resizing #

Patch Set 11 : Get rid of ScrollbarGroup's methods and the ResizeClient interface #

Total comments: 3

Patch Set 12 : Keep the logic to call WebScrollbarGroupImpl's methods in WebKit entirely #

Total comments: 2

Patch Set 13 : '' #

Total comments: 8

Patch Set 14 : Get rid of scrollbar group concept in WebKit and Pepper #

Patch Set 15 : Fix scrollbar sometimes not disappearing when the mouse exits #

Patch Set 16 : Register group with Page, remove indirection, and almost get scrollbars to show on activation #

Patch Set 17 : Bring back compatibility with old scrollbar API #

Patch Set 18 : Make scrollbars appear when chrome becomes active #

Total comments: 3

Patch Set 19 : sync and take out WebKit changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -21 lines) Patch
M ppapi/c/dev/ppb_scrollbar_dev.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +26 lines, -4 lines 0 comments Download
M ppapi/c/dev/ppp_scrollbar_dev.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +9 lines, -1 line 0 comments Download
M ppapi/cpp/dev/scrollbar_dev.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/cpp/dev/scrollbar_dev.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +7 lines, -0 lines 0 comments Download
M ppapi/cpp/dev/widget_client_dev.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +7 lines, -0 lines 0 comments Download
M ppapi/cpp/dev/widget_client_dev.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +12 lines, -0 lines 0 comments Download
M ppapi/cpp/instance.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/tests/test_scrollbar.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/tests/test_scrollbar.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_scrollbar_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/thunk/ppb_scrollbar_thunk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +10 lines, -2 lines 0 comments Download
M ppapi/thunk/thunk.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +3 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/ppb_scrollbar_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +14 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/ppb_scrollbar_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 5 chunks +75 lines, -8 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (0 generated)
jam
Brett: can you review the non-WebKit parts? This is mostly done although there's one bug ...
9 years, 4 months ago (2011-08-02 05:51:33 UTC) #1
brettw
http://codereview.chromium.org/7538006/diff/10001/ppapi/c/dev/ppb_scrollbar_dev.h File ppapi/c/dev/ppb_scrollbar_dev.h (right): http://codereview.chromium.org/7538006/diff/10001/ppapi/c/dev/ppb_scrollbar_dev.h#newcode43 ppapi/c/dev/ppb_scrollbar_dev.h:43: // Returns PP_TRUE if this is an overlay scrollbar. ...
9 years, 4 months ago (2011-08-02 16:41:38 UTC) #2
darin (slow to review)
WebKit API changes look fine to me. If you post those to a WebKit bug, ...
9 years, 4 months ago (2011-08-02 17:40:01 UTC) #3
jam
Brett: please diff patchset 3 and 6 Darin: I'll send you the WebKit changes soon ...
9 years, 4 months ago (2011-08-03 16:12:09 UTC) #4
brettw
LGTM http://codereview.chromium.org/7538006/diff/27001/webkit/plugins/ppapi/ppb_scrollbar_impl.cc File webkit/plugins/ppapi/ppb_scrollbar_impl.cc (right): http://codereview.chromium.org/7538006/diff/27001/webkit/plugins/ppapi/ppb_scrollbar_impl.cc#newcode241 webkit/plugins/ppapi/ppb_scrollbar_impl.cc:241: // Try the old version. Can you add ...
9 years, 4 months ago (2011-08-03 17:13:58 UTC) #5
jam
Brett & Darin: please have a look at this latest patchset. I've added a ScrollbarGroup ...
9 years, 4 months ago (2011-08-05 08:00:41 UTC) #6
darin (slow to review)
http://codereview.chromium.org/7538006/diff/41001/ppapi/c/dev/ppb_scrollbar_dev.h File ppapi/c/dev/ppb_scrollbar_dev.h (right): http://codereview.chromium.org/7538006/diff/41001/ppapi/c/dev/ppb_scrollbar_dev.h#newcode32 ppapi/c/dev/ppb_scrollbar_dev.h:32: PP_Instance scrollbar_group, nit: no longer need a PP_Instance parameter ...
9 years, 4 months ago (2011-08-05 15:23:59 UTC) #7
jam
Brett: you can hold off on reviewing http://codereview.chromium.org/7538006/diff/41001/ppapi/c/dev/ppb_scrollbar_group_dev.h File ppapi/c/dev/ppb_scrollbar_group_dev.h (right): http://codereview.chromium.org/7538006/diff/41001/ppapi/c/dev/ppb_scrollbar_group_dev.h#newcode22 ppapi/c/dev/ppb_scrollbar_group_dev.h:22: // Used ...
9 years, 4 months ago (2011-08-05 17:07:01 UTC) #8
sail1
> > Sailesh: I can't figure out how to make the scrollbars show up on ...
9 years, 4 months ago (2011-08-05 17:14:48 UTC) #9
sail1
Just an update, this is working on my machine now. On Fri, Aug 5, 2011 ...
9 years, 4 months ago (2011-08-05 23:12:51 UTC) #10
jam
http://codereview.chromium.org/7538006/diff/41001/ppapi/c/dev/ppb_scrollbar_group_dev.h File ppapi/c/dev/ppb_scrollbar_group_dev.h (right): http://codereview.chromium.org/7538006/diff/41001/ppapi/c/dev/ppb_scrollbar_group_dev.h#newcode22 ppapi/c/dev/ppb_scrollbar_group_dev.h:22: // Used on platforms that animate the scrollbars when ...
9 years, 4 months ago (2011-08-06 02:15:58 UTC) #11
jam
http://codereview.chromium.org/7538006/diff/41001/ppapi/c/dev/ppb_scrollbar_group_dev.h File ppapi/c/dev/ppb_scrollbar_group_dev.h (right): http://codereview.chromium.org/7538006/diff/41001/ppapi/c/dev/ppb_scrollbar_group_dev.h#newcode22 ppapi/c/dev/ppb_scrollbar_group_dev.h:22: // Used on platforms that animate the scrollbars when ...
9 years, 4 months ago (2011-08-06 15:57:47 UTC) #12
jam
http://codereview.chromium.org/7538006/diff/41001/ppapi/c/dev/ppb_scrollbar_group_dev.h File ppapi/c/dev/ppb_scrollbar_group_dev.h (right): http://codereview.chromium.org/7538006/diff/41001/ppapi/c/dev/ppb_scrollbar_group_dev.h#newcode22 ppapi/c/dev/ppb_scrollbar_group_dev.h:22: // Used on platforms that animate the scrollbars when ...
9 years, 4 months ago (2011-08-06 17:29:47 UTC) #13
brettw
LGTM http://codereview.chromium.org/7538006/diff/6122/ppapi/cpp/dev/scrollbar_dev.cc File ppapi/cpp/dev/scrollbar_dev.cc (right): http://codereview.chromium.org/7538006/diff/6122/ppapi/cpp/dev/scrollbar_dev.cc#newcode34 ppapi/cpp/dev/scrollbar_dev.cc:34: instance.pp_instance(), scrollbar_group.pp_resource(), This line should be indented 2 ...
9 years, 4 months ago (2011-08-08 20:22:47 UTC) #14
jam
http://codereview.chromium.org/7538006/diff/6122/ppapi/thunk/ppb_scrollbar_group_api.h File ppapi/thunk/ppb_scrollbar_group_api.h (right): http://codereview.chromium.org/7538006/diff/6122/ppapi/thunk/ppb_scrollbar_group_api.h#newcode13 ppapi/thunk/ppb_scrollbar_group_api.h:13: class PPB_ScrollbarGroup_API { On 2011/08/08 20:22:47, brettw wrote: > ...
9 years, 4 months ago (2011-08-08 20:27:46 UTC) #15
jam
Darin: can you take a look at the WebKit changes? If it's good, then I'll ...
9 years, 4 months ago (2011-08-08 20:40:38 UTC) #16
darin (slow to review)
http://codereview.chromium.org/7538006/diff/48034/third_party/WebKit/Source/WebKit/chromium/public/WebScrollbar.h File third_party/WebKit/Source/WebKit/chromium/public/WebScrollbar.h (right): http://codereview.chromium.org/7538006/diff/48034/third_party/WebKit/Source/WebKit/chromium/public/WebScrollbar.h#newcode67 third_party/WebKit/Source/WebKit/chromium/public/WebScrollbar.h:67: WEBKIT_EXPORT static WebScrollbar* create(WebScrollbarClient*, there is a little bit ...
9 years, 4 months ago (2011-08-08 22:22:06 UTC) #17
jam
Brett/Darin: can you guys please take another look? thanks
9 years, 4 months ago (2011-08-10 17:48:01 UTC) #18
darin (slow to review)
WebKit changes look good http://codereview.chromium.org/7538006/diff/60052/third_party/WebKit/Source/WebKit/chromium/public/WebScrollbar.h File third_party/WebKit/Source/WebKit/chromium/public/WebScrollbar.h (right): http://codereview.chromium.org/7538006/diff/60052/third_party/WebKit/Source/WebKit/chromium/public/WebScrollbar.h#newcode68 third_party/WebKit/Source/WebKit/chromium/public/WebScrollbar.h:68: WEBKIT_EXPORT static WebScrollbar* create(Orientation, nit: ...
9 years, 4 months ago (2011-08-10 18:00:34 UTC) #19
darin (slow to review)
Pepper API changes look good.
9 years, 4 months ago (2011-08-10 18:00:56 UTC) #20
jam
all done, thanks. creating webkit patch now. On 2011/08/10 18:00:34, darin wrote: > WebKit changes ...
9 years, 4 months ago (2011-08-10 18:03:06 UTC) #21
brettw
9 years, 4 months ago (2011-08-10 18:17:31 UTC) #22
Pepper stuff LGTM

Powered by Google App Engine
This is Rietveld 408576698