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

Unified Diff: remoting/base/encoder_zlib.h

Issue 3013015: Initial pass at integrating Differ into the chromoting host code.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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/encoder_verbatim.cc ('k') | remoting/base/encoder_zlib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/encoder_zlib.h
===================================================================
--- remoting/base/encoder_zlib.h (revision 55264)
+++ remoting/base/encoder_zlib.h (working copy)
@@ -7,6 +7,8 @@
#include "remoting/base/encoder.h"
+#include "gfx/rect.h"
+
namespace remoting {
class CompressorZlib;
@@ -26,18 +28,19 @@
private:
// Encode a single dirty rect using compressor.
- void EncodeRect(CompressorZlib* compressor);
+ void EncodeRect(CompressorZlib* compressor, const gfx::Rect& rect,
+ size_t rect_index);
// Create a new HostMessage with the right flag and attributes. The message
// can be used immediately for output of encoding.
- HostMessage* PrepareMessage(bool new_rect);
+ HostMessage* PrepareMessage(const gfx::Rect* rect);
// Submit |message| to |callback_|.
- void SubmitMessage(HostMessage* message);
+ void SubmitMessage(HostMessage* message, size_t rect_index);
scoped_refptr<CaptureData> capture_data_;
scoped_ptr<DataAvailableCallback> callback_;
- size_t current_rect_;
+ //size_t current_rect_;
int packet_size_;
};
Property changes on: remoting\base\encoder_zlib.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « remoting/base/encoder_verbatim.cc ('k') | remoting/base/encoder_zlib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698