| 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_OZONE_PLATFORM_CACA_CACA_WINDOW_H_ | 5 #ifndef UI_OZONE_PLATFORM_CACA_CACA_WINDOW_H_ |
| 6 #define UI_OZONE_PLATFORM_CACA_CACA_WINDOW_H_ | 6 #define UI_OZONE_PLATFORM_CACA_CACA_WINDOW_H_ |
| 7 | 7 |
| 8 #include <caca.h> | 8 #include <caca.h> |
| 9 | 9 |
| 10 #include "base/debug/stack_trace.h" | 10 #include "base/debug/stack_trace.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "ui/events/platform/platform_event_dispatcher.h" | 13 #include "ui/events/platform/platform_event_dispatcher.h" |
| 14 #include "ui/gfx/geometry/size.h" | 14 #include "ui/gfx/geometry/size.h" |
| 15 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
| 16 #include "ui/ozone/platform/caca/scoped_caca_types.h" | 16 #include "ui/ozone/platform/caca/scoped_caca_types.h" |
| 17 #include "ui/platform_window/platform_window.h" | 17 #include "ui/platform_window/types/platform_window.h" |
| 18 | 18 |
| 19 namespace ui { | 19 namespace ui { |
| 20 | 20 |
| 21 class CacaEventFactory; | 21 class CacaEventFactory; |
| 22 class CacaWindowManager; | 22 class CacaWindowManager; |
| 23 class PlatformWindowDelegate; | 23 class PlatformWindowDelegate; |
| 24 | 24 |
| 25 // Basic initialization of Libcaca. This needs to be shared between SFO and EFO | 25 // Basic initialization of Libcaca. This needs to be shared between SFO and EFO |
| 26 // since both need the |display_| to draw and process events respectively. | 26 // since both need the |display_| to draw and process events respectively. |
| 27 // Note, |canvas_| needs to be here since it is needed for creating a | 27 // Note, |canvas_| needs to be here since it is needed for creating a |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 gfx::Size bitmap_size_; | 86 gfx::Size bitmap_size_; |
| 87 | 87 |
| 88 base::WeakPtrFactory<CacaWindow> weak_ptr_factory_; | 88 base::WeakPtrFactory<CacaWindow> weak_ptr_factory_; |
| 89 | 89 |
| 90 DISALLOW_COPY_AND_ASSIGN(CacaWindow); | 90 DISALLOW_COPY_AND_ASSIGN(CacaWindow); |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 } // namespace ui | 93 } // namespace ui |
| 94 | 94 |
| 95 #endif // UI_OZONE_PLATFORM_CACA_CACA_WINDOW_H_ | 95 #endif // UI_OZONE_PLATFORM_CACA_CACA_WINDOW_H_ |
| OLD | NEW |