1 // Copyright 2015 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.
5 #ifndef UI_MOJO_INIT_UI_INIT_H_
6 #define UI_MOJO_INIT_UI_INIT_H_
8 #include "base/basictypes.h"
9 #include "base/callback_forward.h"
10 #include "base/memory/scoped_ptr.h"
18 class GestureConfiguration
;
22 class GestureConfigurationMojo
;
24 // UIInit configures any state needed by apps that make use of ui classes (not
28 UIInit(const gfx::Size
& screen_size_in_pixels
, float device_pixel_ratio
);
32 scoped_ptr
<gfx::Screen
> screen_
;
33 #if defined(OS_ANDROID)
34 scoped_ptr
<GestureConfigurationMojo
> gesture_configuration_
;
37 DISALLOW_COPY_AND_ASSIGN(UIInit
);
43 #endif // UI_MOJO_INIT_UI_INIT_H_