OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #include "ui/aura/window_port_for_shutdown.h" | 5 #include "ui/aura/window_port_for_shutdown.h" |
6 | 6 |
7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
8 #include "cc/output/compositor_frame_sink.h" | 8 #include "cc/output/compositor_frame_sink.h" |
9 #include "ui/aura/window.h" | 9 #include "ui/aura/window.h" |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... |
41 const void* key) { | 41 const void* key) { |
42 return nullptr; | 42 return nullptr; |
43 } | 43 } |
44 | 44 |
45 void WindowPortForShutdown::OnPropertyChanged( | 45 void WindowPortForShutdown::OnPropertyChanged( |
46 const void* key, | 46 const void* key, |
47 int64_t old_value, | 47 int64_t old_value, |
48 std::unique_ptr<ui::PropertyData> data) {} | 48 std::unique_ptr<ui::PropertyData> data) {} |
49 | 49 |
50 std::unique_ptr<cc::CompositorFrameSink> | 50 std::unique_ptr<cc::CompositorFrameSink> |
51 WindowPortForShutdown::CreateCompositorFrameSink() { | 51 WindowPortForShutdown::CreateCompositorFrameSink( |
| 52 scoped_refptr<cc::ContextProvider> context_provider, |
| 53 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager) { |
52 return nullptr; | 54 return nullptr; |
53 } | 55 } |
54 | 56 |
55 cc::SurfaceId WindowPortForShutdown::GetSurfaceId() const { | 57 cc::SurfaceId WindowPortForShutdown::GetSurfaceId() const { |
56 return cc::SurfaceId(); | 58 return cc::SurfaceId(); |
57 } | 59 } |
58 | 60 |
59 void WindowPortForShutdown::OnWindowAddedToRootWindow() {} | 61 void WindowPortForShutdown::OnWindowAddedToRootWindow() {} |
60 | 62 |
61 void WindowPortForShutdown::OnWillRemoveWindowFromRootWindow() {} | 63 void WindowPortForShutdown::OnWillRemoveWindowFromRootWindow() {} |
62 | 64 |
63 } // namespace aura | 65 } // namespace aura |
OLD | NEW |