summaryrefslogtreecommitdiffstats
path: root/remoting/host/continue_window.h
blob: d2eb30fb2c03853a17909088ecb6d8a660dca193 (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
// Copyright (c) 2011 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_CONTINUE_WINDOW_H
#define REMOTING_HOST_CONTINUE_WINDOW_H

namespace remoting {

class ChromotingHost;

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

  // Show the continuation window requesting that the user approve continuing
  // the session.
  virtual void Show(ChromotingHost* host) = 0;

  // Hide the continuation window if it is visible.
  virtual void Hide() = 0;

  static ContinueWindow* Create();

 protected:
  static const char kTitle[];
  static const char kMessage[];
  static const char kDefaultButtonText[];
  static const char kCancelButtonText[];
};

}

#endif  // REMOTING_HOST_CONTINUE_WINDOW_H