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

Unified Diff: remoting/base/capture_data.h

Issue 7992011: Move us fully from gfx:: over to skia types for consistency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for bad DEPS Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/base/DEPS ('k') | remoting/base/capture_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/capture_data.h
diff --git a/remoting/base/capture_data.h b/remoting/base/capture_data.h
index ae5b89e9b190b27c3534cd9f745ca7ae0bdf2aab..61bc2e877c4468897d6a895bd969a1c35a64a3d6 100644
--- a/remoting/base/capture_data.h
+++ b/remoting/base/capture_data.h
@@ -11,7 +11,6 @@
#include "base/memory/ref_counted.h"
#include "media/base/video_frame.h"
#include "third_party/skia/include/core/SkRegion.h"
-#include "ui/gfx/size.h"
namespace remoting {
@@ -28,7 +27,7 @@ struct DataPlanes {
class CaptureData : public base::RefCountedThreadSafe<CaptureData> {
public:
CaptureData(const DataPlanes &data_planes,
- const gfx::Size& size,
+ const SkISize& size,
media::VideoFrame::Format format);
// Get the data_planes data of the previous capture.
@@ -38,7 +37,7 @@ class CaptureData : public base::RefCountedThreadSafe<CaptureData> {
const SkRegion& dirty_region() const { return dirty_region_; }
// Return the size of the image captured.
- gfx::Size size() const { return size_; }
+ SkISize size() const { return size_; }
// Get the pixel format of the image captured.
media::VideoFrame::Format pixel_format() const { return pixel_format_; }
@@ -63,7 +62,7 @@ class CaptureData : public base::RefCountedThreadSafe<CaptureData> {
private:
const DataPlanes data_planes_;
SkRegion dirty_region_;
- gfx::Size size_;
+ SkISize size_;
media::VideoFrame::Format pixel_format_;
// Time spent in capture. Unit is in milliseconds.
« no previous file with comments | « remoting/base/DEPS ('k') | remoting/base/capture_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698