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

Unified Diff: remoting/host/capturer_helper.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/host/capturer_fake_ascii.cc ('k') | remoting/host/capturer_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/capturer_helper.h
diff --git a/remoting/host/capturer_helper.h b/remoting/host/capturer_helper.h
index e9479e5635083c4e9aaf3b4064868a2a2f4a8272..10c95db9b1ecb76bc790582d0b6bc95dd8c96f9c 100644
--- a/remoting/host/capturer_helper.h
+++ b/remoting/host/capturer_helper.h
@@ -7,7 +7,6 @@
#include "base/synchronization/lock.h"
#include "third_party/skia/include/core/SkRegion.h"
-#include "ui/gfx/size.h"
namespace remoting {
@@ -26,7 +25,7 @@ class CapturerHelper {
void InvalidateRegion(const SkRegion& invalid_region);
// Invalidate the entire screen, of a given size.
- void InvalidateScreen(const gfx::Size& size);
+ void InvalidateScreen(const SkISize& size);
// Invalidate the entire screen, using the size of the most recently
// captured screen.
@@ -36,8 +35,8 @@ class CapturerHelper {
void SwapInvalidRegion(SkRegion* invalid_region);
// Access the size of the most recently captured screen.
- const gfx::Size& size_most_recent() const;
- void set_size_most_recent(const gfx::Size& size);
+ const SkISize& size_most_recent() const;
+ void set_size_most_recent(const SkISize& size);
private:
// A region that has been manually invalidated (through InvalidateRegion).
@@ -49,7 +48,7 @@ class CapturerHelper {
base::Lock invalid_region_lock_;
// The size of the most recently captured screen.
- gfx::Size size_most_recent_;
+ SkISize size_most_recent_;
DISALLOW_COPY_AND_ASSIGN(CapturerHelper);
};
« no previous file with comments | « remoting/host/capturer_fake_ascii.cc ('k') | remoting/host/capturer_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698