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

Issue 7529009: Updated demo to use resizable plugin element. This exercises the new PPB_Graphics3D_Dev::Resize()... (Closed)

Created:
9 years, 4 months ago by alokp
Modified:
9 years, 4 months ago
CC:
chromium-reviews, apatrick_chromium
Visibility:
Public.

Description

Updated demo to use resizable plugin element. This exercises the new PPB_Graphics3D_Dev::Resize() API. BUG=62383 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95134

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -29 lines) Patch
M gpu/demos/framework/demo.h View 2 chunks +4 lines, -3 lines 0 comments Download
M gpu/demos/framework/demo.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M gpu/demos/framework/pepper.cc View 1 4 chunks +39 lines, -13 lines 0 comments Download
M gpu/demos/framework/window.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/demos/gles2_book/example.h View 2 chunks +3 lines, -2 lines 0 comments Download
M gpu/demos/pepper_gpu_demo.html View 1 1 chunk +37 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
alokp
9 years, 4 months ago (2011-07-28 21:32:47 UTC) #1
apatrick_chromium
LGTM
9 years, 4 months ago (2011-07-28 22:05:54 UTC) #2
piman
LGTM on the C++ code, I'm curious about the HTML/JS bits.... http://codereview.chromium.org/7529009/diff/1/gpu/demos/pepper_gpu_demo.html File gpu/demos/pepper_gpu_demo.html (right): ...
9 years, 4 months ago (2011-07-28 22:09:24 UTC) #3
alokp
http://codereview.chromium.org/7529009/diff/1/gpu/demos/pepper_gpu_demo.html File gpu/demos/pepper_gpu_demo.html (right): http://codereview.chromium.org/7529009/diff/1/gpu/demos/pepper_gpu_demo.html#newcode34 gpu/demos/pepper_gpu_demo.html:34: resizePlugin(); On 2011/07/28 22:09:24, piman wrote: > Why is ...
9 years, 4 months ago (2011-07-28 22:28:45 UTC) #4
piman
9 years, 4 months ago (2011-07-28 22:37:49 UTC) #5
On Thu, Jul 28, 2011 at 3:28 PM, <alokp@chromium.org> wrote:

>
> http://codereview.chromium.**org/7529009/diff/1/gpu/demos/**
>
pepper_gpu_demo.html<http://codereview.chromium.org/7529009/diff/1/gpu/demos/pepper_gpu_demo.html>
> File gpu/demos/pepper_gpu_demo.html (right):
>
> http://codereview.chromium.**org/7529009/diff/1/gpu/demos/**
>
pepper_gpu_demo.html#newcode34<http://codereview.chromium.org/7529009/diff/1/gpu/demos/pepper_gpu_demo.html#newcode34>
> gpu/demos/pepper_gpu_demo.**html:34: resizePlugin();
> On 2011/07/28 22:09:24, piman wrote:
>
>> Why is this logic needed ? Setting the plugin's width/height to 100%
>>
> of the
>
>> container should work, no ?
>>
>
> I tried 100% initially, but the plugin was still overflowing out of the
> container. CSS spec also says that height/width for a embed tag can only
> be specified in pixels. The code above worked so I did not pay much
> attention to it.


Ok, LGTM then...

Antoine


>
>
>
http://codereview.chromium.**org/7529009/<http://codereview.chromium.org/7529...
>

Powered by Google App Engine
This is Rietveld 408576698