| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_DISPLAY_MANAGER_CHROMEOS_CONFIGURE_DISPLAYS_TASK_H_ | 5 #ifndef UI_DISPLAY_MANAGER_CHROMEOS_CONFIGURE_DISPLAYS_TASK_H_ |
| 6 #define UI_DISPLAY_MANAGER_CHROMEOS_CONFIGURE_DISPLAYS_TASK_H_ | 6 #define UI_DISPLAY_MANAGER_CHROMEOS_CONFIGURE_DISPLAYS_TASK_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <queue> | 10 #include <queue> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "ui/display/manager/display_manager_export.h" | 16 #include "ui/display/manager/display_manager_export.h" |
| 17 #include "ui/gfx/geometry/point.h" | 17 #include "ui/gfx/geometry/point.h" |
| 18 | 18 |
| 19 namespace ui { | 19 namespace display { |
| 20 | 20 |
| 21 class DisplayMode; | 21 class DisplayMode; |
| 22 class DisplaySnapshot; | 22 class DisplaySnapshot; |
| 23 class NativeDisplayDelegate; | 23 class NativeDisplayDelegate; |
| 24 | 24 |
| 25 struct DISPLAY_MANAGER_EXPORT DisplayConfigureRequest { | 25 struct DISPLAY_MANAGER_EXPORT DisplayConfigureRequest { |
| 26 DisplayConfigureRequest(DisplaySnapshot* display, | 26 DisplayConfigureRequest(DisplaySnapshot* display, |
| 27 const DisplayMode* mode, | 27 const DisplayMode* mode, |
| 28 const gfx::Point& origin); | 28 const gfx::Point& origin); |
| 29 | 29 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 // pending requests. | 79 // pending requests. |
| 80 size_t num_displays_configured_; | 80 size_t num_displays_configured_; |
| 81 | 81 |
| 82 Status task_status_; | 82 Status task_status_; |
| 83 | 83 |
| 84 base::WeakPtrFactory<ConfigureDisplaysTask> weak_ptr_factory_; | 84 base::WeakPtrFactory<ConfigureDisplaysTask> weak_ptr_factory_; |
| 85 | 85 |
| 86 DISALLOW_COPY_AND_ASSIGN(ConfigureDisplaysTask); | 86 DISALLOW_COPY_AND_ASSIGN(ConfigureDisplaysTask); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace ui | 89 } // namespace display |
| 90 | 90 |
| 91 #endif // UI_DISPLAY_MANAGER_CHROMEOS_CONFIGURE_DISPLAYS_TASK_H_ | 91 #endif // UI_DISPLAY_MANAGER_CHROMEOS_CONFIGURE_DISPLAYS_TASK_H_ |
| OLD | NEW |