| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 UI_VIEWS_LINUX_UI_LINUX_UI_H_ | 5 #ifndef UI_VIEWS_LINUX_UI_LINUX_UI_H_ |
| 6 #define UI_VIEWS_LINUX_UI_LINUX_UI_H_ | 6 #define UI_VIEWS_LINUX_UI_LINUX_UI_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "third_party/skia/include/core/SkColor.h" | 11 #include "third_party/skia/include/core/SkColor.h" |
| 12 #include "ui/base/ime/linux/linux_input_method_context_factory.h" | 12 #include "ui/base/ime/linux/linux_input_method_context_factory.h" |
| 13 #include "ui/events/linux/text_edit_key_bindings_delegate_auralinux.h" | 13 #include "ui/base/ime/linux/text_edit_key_bindings_delegate_auralinux.h" |
| 14 #include "ui/gfx/linux_font_delegate.h" | 14 #include "ui/gfx/linux_font_delegate.h" |
| 15 #include "ui/shell_dialogs/shell_dialog_linux.h" | 15 #include "ui/shell_dialogs/shell_dialog_linux.h" |
| 16 #include "ui/views/controls/button/button.h" | 16 #include "ui/views/controls/button/button.h" |
| 17 #include "ui/views/linux_ui/status_icon_linux.h" | 17 #include "ui/views/linux_ui/status_icon_linux.h" |
| 18 #include "ui/views/views_export.h" | 18 #include "ui/views/views_export.h" |
| 19 | 19 |
| 20 // The main entrypoint into Linux toolkit specific code. GTK code should only | 20 // The main entrypoint into Linux toolkit specific code. GTK code should only |
| 21 // be executed behind this interface. | 21 // be executed behind this interface. |
| 22 | 22 |
| 23 namespace aura { | 23 namespace aura { |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 // recalculated. | 163 // recalculated. |
| 164 virtual void UpdateDeviceScaleFactor(float device_scale_factor) = 0; | 164 virtual void UpdateDeviceScaleFactor(float device_scale_factor) = 0; |
| 165 | 165 |
| 166 // Determines the device scale factor of the primary screen. | 166 // Determines the device scale factor of the primary screen. |
| 167 virtual float GetDeviceScaleFactor() const = 0; | 167 virtual float GetDeviceScaleFactor() const = 0; |
| 168 }; | 168 }; |
| 169 | 169 |
| 170 } // namespace views | 170 } // namespace views |
| 171 | 171 |
| 172 #endif // UI_VIEWS_LINUX_UI_LINUX_UI_H_ | 172 #endif // UI_VIEWS_LINUX_UI_LINUX_UI_H_ |
| OLD | NEW |