| 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 UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ | 5 #ifndef UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ |
| 6 #define UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ | 6 #define UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor, | 51 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor, |
| 52 base::TimeDelta interval) override {} | 52 base::TimeDelta interval) override {} |
| 53 void SetDisplayVSyncParameters(ui::Compositor* compositor, | 53 void SetDisplayVSyncParameters(ui::Compositor* compositor, |
| 54 base::TimeTicks timebase, | 54 base::TimeTicks timebase, |
| 55 base::TimeDelta interval) override {} | 55 base::TimeDelta interval) override {} |
| 56 void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override {} | 56 void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override {} |
| 57 void AddObserver(ui::ContextFactoryObserver* observer) override {} | 57 void AddObserver(ui::ContextFactoryObserver* observer) override {} |
| 58 void RemoveObserver(ui::ContextFactoryObserver* observer) override {} | 58 void RemoveObserver(ui::ContextFactoryObserver* observer) override {} |
| 59 | 59 |
| 60 cc::SurfaceManager surface_manager_; | 60 cc::SurfaceManager surface_manager_; |
| 61 uint32_t next_surface_id_namespace_; | 61 uint32_t next_sink_id_; |
| 62 ui::RasterThreadHelper raster_thread_helper_; | 62 ui::RasterThreadHelper raster_thread_helper_; |
| 63 ui::GpuService* gpu_service_; | 63 ui::GpuService* gpu_service_; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory); | 65 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace views | 68 } // namespace views |
| 69 | 69 |
| 70 #endif // UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ | 70 #endif // UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ |
| OLD | NEW |