summaryrefslogtreecommitdiffstats
path: root/remoting/host/session_controller.h
blob: 46fff8ddbdae29ccc4d85ae526d85ed5af60be3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef REMOTING_HOST_SESSION_CONTROLLER_H_
#define REMOTING_HOST_SESSION_CONTROLLER_H_

#include "base/basictypes.h"
#include "third_party/skia/include/core/SkPoint.h"
#include "third_party/skia/include/core/SkSize.h"

namespace remoting {

class SessionController {
 public:
  virtual ~SessionController() {}

  // Called when the client view size or pixel density change.
  virtual void OnClientResolutionChanged(const SkIPoint& client_dpi,
                                         const SkISize& client_size) = 0;
};

}  // namespace remoting

#endif  // REMOTING_HOST_SESSION_CONTROLLER_H_