| 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_DRI_DRI_GPU_PLATFORM_SUPPORT_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRI_DRI_GPU_PLATFORM_SUPPORT_H_ |
| 6 #define UI_OZONE_PLATFORM_DRI_DRI_GPU_PLATFORM_SUPPORT_H_ | 6 #define UI_OZONE_PLATFORM_DRI_DRI_GPU_PLATFORM_SUPPORT_H_ |
| 7 | 7 |
| 8 #include "base/containers/scoped_ptr_hash_map.h" | 8 #include "base/containers/scoped_ptr_hash_map.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
| 11 #include "ipc/message_filter.h" |
| 11 #include "ui/gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
| 12 #include "ui/ozone/public/gpu_platform_support.h" | 13 #include "ui/ozone/public/gpu_platform_support.h" |
| 13 | 14 |
| 14 class SkBitmap; | 15 class SkBitmap; |
| 15 | 16 |
| 16 namespace base { | 17 namespace base { |
| 17 class FilePath; | 18 class FilePath; |
| 18 } | 19 } |
| 19 | 20 |
| 20 namespace gfx { | 21 namespace gfx { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 void OnAddGraphicsDevice(const base::FilePath& path); | 76 void OnAddGraphicsDevice(const base::FilePath& path); |
| 76 void OnRemoveGraphicsDevice(const base::FilePath& path); | 77 void OnRemoveGraphicsDevice(const base::FilePath& path); |
| 77 | 78 |
| 78 IPC::Sender* sender_; // Not owned. | 79 IPC::Sender* sender_; // Not owned. |
| 79 DriWrapper* drm_; // Not owned. | 80 DriWrapper* drm_; // Not owned. |
| 80 DriWindowDelegateManager* window_manager_; // Not owned. | 81 DriWindowDelegateManager* window_manager_; // Not owned. |
| 81 ScreenManager* screen_manager_; // Not owned. | 82 ScreenManager* screen_manager_; // Not owned. |
| 82 | 83 |
| 83 scoped_ptr<NativeDisplayDelegateDri> ndd_; | 84 scoped_ptr<NativeDisplayDelegateDri> ndd_; |
| 84 ScopedVector<GpuPlatformSupport> handlers_; | 85 ScopedVector<GpuPlatformSupport> handlers_; |
| 86 scoped_refptr<IPC::MessageFilter> filter_; |
| 85 }; | 87 }; |
| 86 | 88 |
| 87 } // namespace ui | 89 } // namespace ui |
| 88 | 90 |
| 89 #endif // UI_OZONE_PLATFORM_DRI_DRI_GPU_PLATFORM_SUPPORT_H_ | 91 #endif // UI_OZONE_PLATFORM_DRI_DRI_GPU_PLATFORM_SUPPORT_H_ |
| OLD | NEW |