diff options
author | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-11 05:08:49 +0000 |
---|---|---|
committer | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-11 05:08:49 +0000 |
commit | 274e372af7a6d457e4773fdce215e3e6d70efcea (patch) | |
tree | 407836ad1a4f7a34fa14c8ff045e833d90b9b1d5 /remoting/host/capturer_fake.h | |
parent | 418b75e0f077a184e6f1ae81f7e41e98454706dd (diff) | |
download | chromium_src-274e372af7a6d457e4773fdce215e3e6d70efcea.zip chromium_src-274e372af7a6d457e4773fdce215e3e6d70efcea.tar.gz chromium_src-274e372af7a6d457e4773fdce215e3e6d70efcea.tar.bz2 |
Switch over to using SkRegions to calculate dirty areas.
BUG=91619
TEST=Set up a remoting sesssion and make sure it works.
Review URL: http://codereview.chromium.org/7491070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96327 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/capturer_fake.h')
-rw-r--r-- | remoting/host/capturer_fake.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/remoting/host/capturer_fake.h b/remoting/host/capturer_fake.h index 879ee03..61f41283 100644 --- a/remoting/host/capturer_fake.h +++ b/remoting/host/capturer_fake.h @@ -21,14 +21,15 @@ class CapturerFake : public Capturer { virtual ~CapturerFake(); // Capturer interface. - virtual void ScreenConfigurationChanged(); - virtual media::VideoFrame::Format pixel_format() const; - virtual void ClearInvalidRects(); - virtual void InvalidateRects(const InvalidRects& inval_rects); - virtual void InvalidateScreen(const gfx::Size& size); - virtual void InvalidateFullScreen(); - virtual void CaptureInvalidRects(CaptureCompletedCallback* callback); - virtual const gfx::Size& size_most_recent() const; + virtual void ScreenConfigurationChanged() OVERRIDE; + virtual media::VideoFrame::Format pixel_format() const OVERRIDE; + virtual void ClearInvalidRegion() OVERRIDE; + virtual void InvalidateRegion(const SkRegion& invalid_region) OVERRIDE; + virtual void InvalidateScreen(const gfx::Size& size) OVERRIDE; + virtual void InvalidateFullScreen() OVERRIDE; + virtual void CaptureInvalidRegion(CaptureCompletedCallback* callback) + OVERRIDE; + virtual const gfx::Size& size_most_recent() const OVERRIDE; private: // Generates an image in the front buffer. |