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

Issue 7992011: Move us fully from gfx:: over to skia types for consistency. (Closed)

Created:
9 years, 3 months ago by dmac
Modified:
9 years, 2 months ago
Reviewers:
Sergey Ulanov, Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, Paweł Hajdan Jr., dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Move us fully from gfx:: over to skia types for consistency. BUG=92085 TEST=BUILD Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103523 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103533

Patch Set 1 #

Patch Set 2 : fix up new point reference #

Patch Set 3 : removed stuff from deps #

Patch Set 4 : cleaned up copyrights #

Total comments: 3

Patch Set 5 : fix up sergey's complaints #

Patch Set 6 : Fix for bad DEPS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -319 lines) Patch
M remoting/base/DEPS View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M remoting/base/capture_data.h View 4 chunks +3 lines, -4 lines 0 comments Download
M remoting/base/capture_data.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/base/codec_test.cc View 3 chunks +5 lines, -7 lines 0 comments Download
M remoting/base/decoder.h View 3 chunks +5 lines, -7 lines 0 comments Download
M remoting/base/decoder_row_based.h View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M remoting/base/decoder_row_based.cc View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M remoting/base/decoder_vp8.h View 3 chunks +16 lines, -15 lines 0 comments Download
M remoting/base/decoder_vp8.cc View 1 2 3 4 7 chunks +29 lines, -29 lines 0 comments Download
M remoting/base/encoder_row_based.h View 1 2 3 4 5 2 chunks +1 line, -2 lines 0 comments Download
M remoting/base/encoder_row_based.cc View 1 2 3 4 5 3 chunks +2 lines, -3 lines 0 comments Download
M remoting/base/encoder_vp8.h View 1 2 3 4 5 chunks +8 lines, -7 lines 0 comments Download
M remoting/base/encoder_vp8.cc View 1 2 3 4 7 chunks +24 lines, -22 lines 0 comments Download
M remoting/base/encoder_vp8_unittest.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M remoting/base/util.h View 4 chunks +7 lines, -8 lines 0 comments Download
M remoting/base/util.cc View 3 chunks +30 lines, -28 lines 0 comments Download
M remoting/client/DEPS View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M remoting/client/chromoting_view.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M remoting/client/frame_consumer.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/client/plugin/pepper_input_handler.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M remoting/client/plugin/pepper_view.h View 3 chunks +7 lines, -8 lines 0 comments Download
M remoting/client/plugin/pepper_view.cc View 1 2 3 4 9 chunks +18 lines, -18 lines 0 comments Download
M remoting/client/plugin/pepper_view_proxy.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/client/plugin/pepper_view_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/client/rectangle_update_decoder.h View 4 chunks +5 lines, -7 lines 0 comments Download
M remoting/client/rectangle_update_decoder.cc View 8 chunks +38 lines, -34 lines 0 comments Download
M remoting/host/capturer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/capturer_fake.h View 1 chunk +3 lines, -3 lines 0 comments Download
M remoting/host/capturer_fake.cc View 4 chunks +3 lines, -5 lines 0 comments Download
M remoting/host/capturer_fake_ascii.h View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/capturer_fake_ascii.cc View 3 chunks +3 lines, -5 lines 0 comments Download
M remoting/host/capturer_helper.h View 4 chunks +4 lines, -5 lines 0 comments Download
M remoting/host/capturer_helper.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M remoting/host/capturer_linux.cc View 5 chunks +7 lines, -7 lines 0 comments Download
M remoting/host/capturer_mac.cc View 1 7 chunks +9 lines, -10 lines 0 comments Download
M remoting/host/capturer_win.cc View 10 chunks +19 lines, -19 lines 0 comments Download
M remoting/host/chromoting_host.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/chromoting_host.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/client_session.h View 1 3 chunks +4 lines, -4 lines 0 comments Download
M remoting/host/client_session.cc View 1 2 chunks +6 lines, -6 lines 0 comments Download
M remoting/host/client_session_unittest.cc View 1 4 chunks +7 lines, -7 lines 0 comments Download
M remoting/host/event_executor_mac.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/event_executor_win.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/host_mock_objects.h View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/local_input_monitor_thread_linux.h View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/local_input_monitor_thread_linux.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M remoting/host/screen_recorder_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
dmac
Don't want to submit this just yet because of the amount of files it touches ...
9 years, 3 months ago (2011-09-22 16:36:58 UTC) #1
Sergey Ulanov
I suggest that we move all code to gfx types instead. gfx types are simpler ...
9 years, 3 months ago (2011-09-22 16:50:17 UTC) #2
dmaclach1
Sergey, we moved to Skia types because we wanted the functionality of SkRegions for calculating ...
9 years, 3 months ago (2011-09-22 16:57:33 UTC) #3
Sergey Ulanov
On 2011/09/22 16:50:17, sergeyu wrote: > I suggest that we move all code to gfx ...
9 years, 3 months ago (2011-09-22 16:57:59 UTC) #4
dmaclach1
> Can you please also update DEPS files to make sure we don't depend on ...
9 years, 3 months ago (2011-09-22 17:51:35 UTC) #5
Sergey Ulanov
On Thu, Sep 22, 2011 at 10:51 AM, David Maclachlan <dmaclach@google.com>wrote: > > Can you ...
9 years, 3 months ago (2011-09-22 17:59:47 UTC) #6
dmac
On 2011/09/22 17:59:47, sergeyu wrote: > On Thu, Sep 22, 2011 at 10:51 AM, David ...
9 years, 2 months ago (2011-09-28 15:58:56 UTC) #7
Sergey Ulanov
9 years, 2 months ago (2011-09-28 18:09:27 UTC) #8
a few nits. LGTM otherwise.

http://codereview.chromium.org/7992011/diff/10001/remoting/base/decoder_vp8.cc
File remoting/base/decoder_vp8.cc (right):

http://codereview.chromium.org/7992011/diff/10001/remoting/base/decoder_vp8.c...
remoting/base/decoder_vp8.cc:95: ::remoting::Rect remoting_rect =
packet->dirty_rects(i);
Do we need to specify namespace for Rect?

http://codereview.chromium.org/7992011/diff/10001/remoting/base/encoder_vp8.h
File remoting/base/encoder_vp8.h (right):

http://codereview.chromium.org/7992011/diff/10001/remoting/base/encoder_vp8.h...
remoting/base/encoder_vp8.h:19: typedef std::vector<SkIRect> RectVector;
This duplicates typedef in decoder.h. given that it is used only internally in
EncoderVp8 maybe define it as private inside EncoderVp8?

http://codereview.chromium.org/7992011/diff/10001/remoting/host/DEPS
File remoting/host/DEPS (left):

http://codereview.chromium.org/7992011/diff/10001/remoting/host/DEPS#oldcode2
remoting/host/DEPS:2: "+ui",
I think we still need this: remoting/host/event_executor*.cc include
ui/base/keycodes/keyboard_codes.h
Maybe change this to ui/base

Powered by Google App Engine
This is Rietveld 408576698