OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef REMOTING_HOST_SESSION_CONTROLLER_H_ |
| 6 #define REMOTING_HOST_SESSION_CONTROLLER_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "third_party/skia/include/core/SkPoint.h" |
| 10 #include "third_party/skia/include/core/SkSize.h" |
| 11 |
| 12 namespace remoting { |
| 13 |
| 14 class SessionController { |
| 15 public: |
| 16 virtual ~SessionController() {} |
| 17 |
| 18 // Called when the client view size or pixel density change. |
| 19 virtual void OnClientResolutionChanged(const SkIPoint& client_dpi, |
| 20 const SkISize& client_size) = 0; |
| 21 }; |
| 22 |
| 23 } // namespace remoting |
| 24 |
| 25 #endif // REMOTING_HOST_SESSION_CONTROLLER_H_ |
OLD | NEW |