| 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 #include "ui/compositor/test/in_process_context_factory.h" | 5 #include "ui/compositor/test/in_process_context_factory.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/threading/thread.h" | 9 #include "base/threading/thread.h" |
| 10 #include "cc/output/compositor_frame.h" | 10 #include "cc/output/compositor_frame.h" |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 return NULL; | 158 return NULL; |
| 159 return compositor_thread_->message_loop_proxy().get(); | 159 return compositor_thread_->message_loop_proxy().get(); |
| 160 } | 160 } |
| 161 | 161 |
| 162 scoped_ptr<cc::SurfaceIdAllocator> | 162 scoped_ptr<cc::SurfaceIdAllocator> |
| 163 InProcessContextFactory::CreateSurfaceIdAllocator() { | 163 InProcessContextFactory::CreateSurfaceIdAllocator() { |
| 164 return make_scoped_ptr( | 164 return make_scoped_ptr( |
| 165 new cc::SurfaceIdAllocator(next_surface_id_namespace_++)); | 165 new cc::SurfaceIdAllocator(next_surface_id_namespace_++)); |
| 166 } | 166 } |
| 167 | 167 |
| 168 void InProcessContextFactory::ResizeDisplay(ui::Compositor* compositor, |
| 169 const gfx::Size& size) { |
| 170 } |
| 171 |
| 168 } // namespace ui | 172 } // namespace ui |
| OLD | NEW |