summaryrefslogtreecommitdiffstats
path: root/components/html_viewer/ui_setup_android.h
blob: d9638e19a291efeb52ff18a0bdba99fac4f81d5d (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 COMPONENTS_HTML_VIEWER_UI_SETUP_ANDROID_H_
#define COMPONENTS_HTML_VIEWER_UI_SETUP_ANDROID_H_

#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"

namespace gfx {
class Screen;
class Size;
}

namespace ui {
class GestureConfiguration;
}

namespace html_viewer {

class GestureConfigurationMandoline;

class UISetup {
 public:
  UISetup(const gfx::Size& screen_size_in_pixels, float device_pixel_ratio);
  ~UISetup();

 private:
  scoped_ptr<gfx::Screen> screen_;
  scoped_ptr<GestureConfigurationMandoline> gesture_configuration_;

  DISALLOW_COPY_AND_ASSIGN(UISetup);
};

}  // namespace html_viewer

#endif  // COMPONENTS_HTML_VIEWER_UI_SETUP_ANDROID_H_