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

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: CR feedback 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
« no previous file with comments | « remoting/host/ipc_session_controller.cc ('k') | remoting/host/resizing_host_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..d6f439089e5f0ddd39c5ac2d06ff7005bd4554ef 100644
--- a/remoting/host/resizing_host_observer.h
+++ b/remoting/host/resizing_host_observer.h
@@ -14,6 +14,7 @@
namespace remoting {
class DesktopResizer;
+class 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_;
« no previous file with comments | « remoting/host/ipc_session_controller.cc ('k') | remoting/host/resizing_host_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698