summaryrefslogtreecommitdiffstats
path: root/blimp/client/session/blimp_client_session_linux.h
blob: bee3ad9ac3fadf54c8b963dc6a32864a24e2a6c2 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright 2015 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 BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_LINUX_H_
#define BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_LINUX_H_

#include "base/macros.h"
#include "blimp/client/linux/blimp_display_manager.h"
#include "blimp/client/session/blimp_client_session.h"

namespace ui {
class PlatformEventSource;
}

namespace blimp {
namespace client {

class BlimpClientSessionLinux : public BlimpClientSession,
                                public BlimpDisplayManagerDelegate {
 public:
  BlimpClientSessionLinux();
  ~BlimpClientSessionLinux() override;

  // BlimpDisplayManagerDelegate implementation.
  void OnClosed() override;

 private:
  scoped_ptr<ui::PlatformEventSource> event_source_;
  scoped_ptr<BlimpDisplayManager> blimp_display_manager_;

  DISALLOW_COPY_AND_ASSIGN(BlimpClientSessionLinux);
};

}  // namespace client
}  // namespace blimp

#endif  // BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_LINUX_H_