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

Unified Diff: trunk/src/remoting/client/plugin/chromoting_instance.h

Issue 24217003: Revert 224101 "Remove dependency on Skia from chromoting client." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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
Index: trunk/src/remoting/client/plugin/chromoting_instance.h
===================================================================
--- trunk/src/remoting/client/plugin/chromoting_instance.h (revision 224204)
+++ trunk/src/remoting/client/plugin/chromoting_instance.h (working copy)
@@ -33,6 +33,9 @@
#include "remoting/protocol/mouse_input_filter.h"
#include "remoting/protocol/negotiating_client_authenticator.h"
#include "remoting/protocol/third_party_client_authenticator.h"
+#include "third_party/skia/include/core/SkPoint.h"
+#include "third_party/skia/include/core/SkRegion.h"
+#include "third_party/skia/include/core/SkSize.h"
namespace base {
class DictionaryValue;
@@ -43,12 +46,6 @@
class Module;
} // namespace pp
-namespace webrtc {
-class DesktopRegion;
-class DesktopSize;
-class DesktopVector;
-} // namespace webrtc
-
namespace remoting {
class ChromotingClient;
@@ -135,9 +132,8 @@
const protocol::CursorShapeInfo& cursor_shape) OVERRIDE;
// Called by PepperView.
- void SetDesktopSize(const webrtc::DesktopSize& size,
- const webrtc::DesktopVector& dpi);
- void SetDesktopShape(const webrtc::DesktopRegion& shape);
+ void SetDesktopSize(const SkISize& size, const SkIPoint& dpi);
+ void SetDesktopShape(const SkRegion& shape);
void OnFirstFrameReceived();
// Return statistics record by ChromotingClient.
@@ -243,7 +239,7 @@
pp::View plugin_view_;
// Contains the most-recently-reported desktop shape, if any.
- scoped_ptr<webrtc::DesktopRegion> desktop_shape_;
+ scoped_ptr<SkRegion> desktop_shape_;
scoped_ptr<DelegatingSignalStrategy> signal_strategy_;
« no previous file with comments | « trunk/src/remoting/client/jni/jni_frame_consumer.cc ('k') | trunk/src/remoting/client/plugin/chromoting_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698