| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_HTML_VIEWER_UI_SETUP_ANDROID_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_UI_SETUP_ANDROID_H_ |
| 6 #define COMPONENTS_HTML_VIEWER_UI_SETUP_ANDROID_H_ | 6 #define COMPONENTS_HTML_VIEWER_UI_SETUP_ANDROID_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 | 10 |
| 11 namespace gfx { | 11 namespace gfx { |
| 12 class Screen; | 12 class Screen; |
| 13 class Size; |
| 13 } | 14 } |
| 14 | 15 |
| 15 namespace ui { | 16 namespace ui { |
| 16 class GestureConfiguration; | 17 class GestureConfiguration; |
| 17 } | 18 } |
| 18 | 19 |
| 19 namespace html_viewer { | 20 namespace html_viewer { |
| 20 | 21 |
| 21 class GestureConfigurationMandoline; | 22 class GestureConfigurationMandoline; |
| 22 | 23 |
| 23 class UISetup { | 24 class UISetup { |
| 24 public: | 25 public: |
| 25 UISetup(); | 26 UISetup(const gfx::Size& screen_size_in_pixels, float device_pixel_ratio); |
| 26 ~UISetup(); | 27 ~UISetup(); |
| 27 | 28 |
| 28 private: | 29 private: |
| 29 scoped_ptr<gfx::Screen> screen_; | 30 scoped_ptr<gfx::Screen> screen_; |
| 30 scoped_ptr<GestureConfigurationMandoline> gesture_configuration_; | 31 scoped_ptr<GestureConfigurationMandoline> gesture_configuration_; |
| 31 | 32 |
| 32 DISALLOW_COPY_AND_ASSIGN(UISetup); | 33 DISALLOW_COPY_AND_ASSIGN(UISetup); |
| 33 }; | 34 }; |
| 34 | 35 |
| 35 } // namespace html_viewer | 36 } // namespace html_viewer |
| 36 | 37 |
| 37 #endif // COMPONENTS_HTML_VIEWER_UI_SETUP_ANDROID_H_ | 38 #endif // COMPONENTS_HTML_VIEWER_UI_SETUP_ANDROID_H_ |
| OLD | NEW |