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

Issue 18233015: Abstract PPAPI's ImageData behind webrtc::DesktopFrame interface (Closed)

Created:
7 years, 5 months ago by solb
Modified:
7 years, 5 months ago
Reviewers:
Lambros, garykac, Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, weitaosu+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Abstract PPAPI's ImageData behind webrtc::DesktopFrame interface This abstracts away RectangleUpdateDecoder's direct use of the the former class. It will ease the development of non--Web app client implementations. BUG=255309 TBR=brettw (third_party/webrtc dependency) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210113

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix GYP file indentation #

Patch Set 3 : Switch to using existing webrtc::DesktopFrame class #

Total comments: 4

Patch Set 4 : Simplify PepperDesktopFrame implementation #

Total comments: 8

Patch Set 5 : Make PepperDesktopFrame anonymous to pepper_view #

Patch Set 6 : Implement Lambros's suggestions #

Total comments: 1

Patch Set 7 : Fix const-correctness #

Total comments: 6

Patch Set 8 : Implement Wez's final corrections #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -58 lines) Patch
M remoting/client/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M remoting/client/frame_consumer.h View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M remoting/client/frame_consumer_proxy.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/client/frame_consumer_proxy.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M remoting/client/frame_producer.h View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M remoting/client/plugin/pepper_view.h View 1 2 3 5 chunks +14 lines, -8 lines 0 comments Download
M remoting/client/plugin/pepper_view.cc View 1 2 3 4 5 6 7 8 chunks +44 lines, -14 lines 0 comments Download
M remoting/client/rectangle_update_decoder.h View 1 2 3 chunks +2 lines, -6 lines 0 comments Download
M remoting/client/rectangle_update_decoder.cc View 1 2 4 chunks +7 lines, -8 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 2 chunks +9 lines, -8 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
solb
I didn't use webrtc::DesktopFrame as the bug suggests because I need to be able to ...
7 years, 5 months ago (2013-07-01 21:11:00 UTC) #1
Wez
On 2013/07/01 21:11:00, solb wrote: > I didn't use webrtc::DesktopFrame as the bug suggests because ...
7 years, 5 months ago (2013-07-01 21:15:40 UTC) #2
garykac
lgtm, and I'd rather not add a dependency on webrtc here just to get an ...
7 years, 5 months ago (2013-07-01 23:50:36 UTC) #3
Wez
On 2013/07/01 23:50:36, garykac wrote: > lgtm, and I'd rather not add a dependency on ...
7 years, 5 months ago (2013-07-02 00:06:08 UTC) #4
solb
On 2013/07/02 00:06:08, Wez wrote: > On 2013/07/01 23:50:36, garykac wrote: > > lgtm, and ...
7 years, 5 months ago (2013-07-03 19:42:40 UTC) #5
Wez
https://codereview.chromium.org/18233015/diff/10001/remoting/client/plugin/pepper_desktop_frame.h File remoting/client/plugin/pepper_desktop_frame.h (right): https://codereview.chromium.org/18233015/diff/10001/remoting/client/plugin/pepper_desktop_frame.h#newcode1 remoting/client/plugin/pepper_desktop_frame.h:1: #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_IMAGE_BUFFER_H_ New files need copyright notice. https://codereview.chromium.org/18233015/diff/10001/remoting/client/plugin/pepper_desktop_frame.h#newcode20 remoting/client/plugin/pepper_desktop_frame.h:20: ...
7 years, 5 months ago (2013-07-03 20:01:23 UTC) #6
solb
On 2013/07/03 20:01:23, Wez wrote: > https://codereview.chromium.org/18233015/diff/10001/remoting/client/plugin/pepper_desktop_frame.h > File remoting/client/plugin/pepper_desktop_frame.h (right): > > https://codereview.chromium.org/18233015/diff/10001/remoting/client/plugin/pepper_desktop_frame.h#newcode1 > ...
7 years, 5 months ago (2013-07-03 21:04:56 UTC) #7
solb
On 2013/07/03 21:04:56, solb wrote: > On 2013/07/03 20:01:23, Wez wrote: > > > https://codereview.chromium.org/18233015/diff/10001/remoting/client/plugin/pepper_desktop_frame.h ...
7 years, 5 months ago (2013-07-03 21:35:36 UTC) #8
Wez
https://codereview.chromium.org/18233015/diff/19001/remoting/client/plugin/pepper_desktop_frame.h File remoting/client/plugin/pepper_desktop_frame.h (right): https://codereview.chromium.org/18233015/diff/19001/remoting/client/plugin/pepper_desktop_frame.h#newcode17 remoting/client/plugin/pepper_desktop_frame.h:17: class PepperDesktopFrame : public webrtc::DesktopFrame { This class is ...
7 years, 5 months ago (2013-07-03 21:46:39 UTC) #9
Lambros (do not use)
Just some drive-by nits. https://codereview.chromium.org/18233015/diff/19001/remoting/client/plugin/pepper_desktop_frame.h File remoting/client/plugin/pepper_desktop_frame.h (right): https://codereview.chromium.org/18233015/diff/19001/remoting/client/plugin/pepper_desktop_frame.h#newcode5 remoting/client/plugin/pepper_desktop_frame.h:5: #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_IMAGE_BUFFER_H_ nit: ..._DESKTOP_FRAME_H_ https://codereview.chromium.org/18233015/diff/19001/remoting/client/plugin/pepper_desktop_frame.h#newcode19 ...
7 years, 5 months ago (2013-07-03 21:53:25 UTC) #10
Wez
https://codereview.chromium.org/18233015/diff/19001/remoting/client/plugin/pepper_desktop_frame.h File remoting/client/plugin/pepper_desktop_frame.h (right): https://codereview.chromium.org/18233015/diff/19001/remoting/client/plugin/pepper_desktop_frame.h#newcode26 remoting/client/plugin/pepper_desktop_frame.h:26: pp::ImageData* buffer_; This should be pp::ImageData, not pp::ImageData* since ...
7 years, 5 months ago (2013-07-03 21:56:52 UTC) #11
solb
On 2013/07/03 21:56:52, Wez wrote: > https://codereview.chromium.org/18233015/diff/19001/remoting/client/plugin/pepper_desktop_frame.h > File remoting/client/plugin/pepper_desktop_frame.h (right): > > https://codereview.chromium.org/18233015/diff/19001/remoting/client/plugin/pepper_desktop_frame.h#newcode26 > ...
7 years, 5 months ago (2013-07-03 22:14:49 UTC) #12
Lambros
https://codereview.chromium.org/18233015/diff/23002/remoting/client/plugin/pepper_view.cc File remoting/client/plugin/pepper_view.cc (right): https://codereview.chromium.org/18233015/diff/23002/remoting/client/plugin/pepper_view.cc#newcode39 remoting/client/plugin/pepper_view.cc:39: inline const pp::ImageData& get_buffer(); nit: Add another const after ...
7 years, 5 months ago (2013-07-03 22:39:45 UTC) #13
solb
On 2013/07/03 22:39:45, Lambros wrote: > https://codereview.chromium.org/18233015/diff/23002/remoting/client/plugin/pepper_view.cc > File remoting/client/plugin/pepper_view.cc (right): > > https://codereview.chromium.org/18233015/diff/23002/remoting/client/plugin/pepper_view.cc#newcode39 > ...
7 years, 5 months ago (2013-07-03 23:27:32 UTC) #14
Wez
lgtm https://codereview.chromium.org/18233015/diff/29001/remoting/client/plugin/pepper_view.cc File remoting/client/plugin/pepper_view.cc (right): https://codereview.chromium.org/18233015/diff/29001/remoting/client/plugin/pepper_view.cc#newcode32 remoting/client/plugin/pepper_view.cc:32: // ImageBuffer that uses PPAPI to allocate space ...
7 years, 5 months ago (2013-07-03 23:43:48 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/solb@chromium.org/18233015/33001
7 years, 5 months ago (2013-07-04 00:02:33 UTC) #16
Wez
Great! Thanks for cleaning this up. :D
7 years, 5 months ago (2013-07-04 00:11:05 UTC) #17
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=13845
7 years, 5 months ago (2013-07-04 00:16:00 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/solb@chromium.org/18233015/33001
7 years, 5 months ago (2013-07-04 00:20:19 UTC) #19
commit-bot: I haz the power
7 years, 5 months ago (2013-07-04 02:46:51 UTC) #20
Message was sent while issue was closed.
Change committed as 210113

Powered by Google App Engine
This is Rietveld 408576698