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

Issue 159128: linux: add windowless plugin plumbing (Closed)

Created:
11 years, 5 months ago by Antoine Labour
Modified:
9 years, 7 months ago
Reviewers:
jam, Evan Martin
CC:
chromium-reviews_googlegroups.com, Amanda Walker
Visibility:
Public.

Description

linux: add windowless plugin plumbing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21250

Patch Set 1 #

Patch Set 2 : no need to clear opaque plugin's background #

Total comments: 6

Patch Set 3 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -28 lines) Patch
M chrome/common/transport_dib_linux.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/plugin/webplugin_proxy.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/plugin/webplugin_proxy.cc View 1 3 chunks +27 lines, -4 lines 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.cc View 6 chunks +42 lines, -15 lines 0 comments Download
M webkit/glue/plugins/plugin_host.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/glue/plugins/webplugin_delegate_impl_gtk.cc View 1 2 5 chunks +10 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Antoine Labour
Evan: please review John, Amanda: FYI That gets basic windowless flash working (e.g. www.dailymotion.com, or ...
11 years, 5 months ago (2009-07-21 06:52:24 UTC) #1
jam
lgtm On 2009/07/21 06:52:24, Antoine Labour wrote: > Evan: please review > John, Amanda: FYI ...
11 years, 5 months ago (2009-07-21 17:05:37 UTC) #2
Antoine Labour
On Tue, Jul 21, 2009 at 5:05 PM, <jam@chromium.org> wrote: > lgtm > > On ...
11 years, 5 months ago (2009-07-22 00:01:55 UTC) #3
Evan Martin
LGTM sad we don't share more code with mac... http://codereview.chromium.org/159128/diff/8/10 File chrome/plugin/webplugin_proxy.cc (right): http://codereview.chromium.org/159128/diff/8/10#newcode581 Line ...
11 years, 5 months ago (2009-07-22 00:07:26 UTC) #4
Antoine Labour
http://codereview.chromium.org/159128/diff/8/10 File chrome/plugin/webplugin_proxy.cc (right): http://codereview.chromium.org/159128/diff/8/10#newcode581 Line 581: int width = delegate_->GetRect().width(); On 2009/07/22 00:07:26, Evan ...
11 years, 5 months ago (2009-07-22 00:28:08 UTC) #5
Amanda Walker
We could probably share a bunch of this code among all three platforms if we ...
11 years, 5 months ago (2009-07-22 02:22:13 UTC) #6
Antoine Labour
On Wed, Jul 22, 2009 at 2:21 AM, Amanda Walker<amanda@chromium.org> wrote: > We could probably ...
11 years, 5 months ago (2009-07-22 02:27:20 UTC) #7
Antoine Labour
On Wed, Jul 22, 2009 at 2:26 AM, Antoine Labour<piman@google.com> wrote: > On Wed, Jul ...
11 years, 5 months ago (2009-07-22 04:53:07 UTC) #8
Amanda Walker
11 years, 5 months ago (2009-07-22 12:56:13 UTC) #9
Yes--that patch was a snapshot of a work in progress to unblock you :-). I
have a followup patch I've been working on that fixes a bunch of those, as
well as some geometry problems so that events work better.  I'm hoping to
land it very shortly.
--Amanda

On Wed, Jul 22, 2009 at 12:52 AM, Antoine Labour <piman@google.com> wrote:

> On Wed, Jul 22, 2009 at 2:26 AM, Antoine Labour<piman@google.com> wrote:
> > On Wed, Jul 22, 2009 at 2:21 AM, Amanda Walker<amanda@chromium.org>
> wrote:
> >> We could probably share a bunch of this code among all three platforms
> if we
> >> added a few convenience functions (notably "copy a rectangle of bits
> from
> >> one gfx::NativeDrawingContext to another")...
> >> --Amanda
> >
> > Yeah, I thought I'd do that as a second pass. Of course every single
> > one of these blits is different ever so slightly so I know I'll break
> > some platforms I can't test as I try to refactor. Starting with a
> > clean state will help.
> >
> > Antoine
>
> http://codereview.chromium.org/159190
>
> Not ready for review yet (I need to check that it compiles and run on
> mac & win - and I don't have a mac), but fyi.
> While going through the code to refactor things, I noticed what seems
> to be some bugs on mac (e.g. reverting the blits, or blitting a
> surface onto itself). This fixes one, but I think there's another one
> in webplugin_proxy.cc
>
> Antoine
>
> >>> http://codereview.chromium.org/159128
>



-- 
"Portability is generally the result of advance planning rather than trench
warfare involving #ifdef" -- Henry Spencer (1992)

Powered by Google App Engine
This is Rietveld 408576698