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

Unified Diff: remoting/host/resizing_host_observer.h

Issue 12678008: Reworked the plumbing required to pass the client resolution to the desktop resizer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: remoting/host/resizing_host_observer.h
diff --git a/remoting/host/resizing_host_observer.h b/remoting/host/resizing_host_observer.h
index ded8fc87749db5603da1a678236f26a9870aa0da..b574fb3ef41b2abbc7caba2d7cf848fb5e8c8bd5 100644
--- a/remoting/host/resizing_host_observer.h
+++ b/remoting/host/resizing_host_observer.h
@@ -14,6 +14,7 @@
namespace remoting {
class DesktopResizer;
+struct ScreenResolution;
// TODO(alexeypa): Rename this class to reflect that it is not
// HostStatusObserver any more.
@@ -27,8 +28,7 @@ class ResizingHostObserver : public SessionController {
virtual ~ResizingHostObserver();
// SessionController interface.
- virtual void OnClientResolutionChanged(const SkIPoint& client_dpi,
- const SkISize& client_size) OVERRIDE;
+ virtual void SetScreenResolution(const ScreenResolution& resolution) OVERRIDE;
private:
scoped_ptr<DesktopResizer> desktop_resizer_;

Powered by Google App Engine
This is Rietveld 408576698