| 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 #if !defined(__has_feature) || !__has_feature(objc_arc) | 5 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 6 #error "This file requires ARC support." | 6 #error "This file requires ARC support." |
| 7 #endif | 7 #endif |
| 8 | 8 |
| 9 #include <array> | 9 #include <array> |
| 10 | 10 |
| 11 #import "remoting/client/ios/display/gl_display_handler.h" | 11 #import "remoting/ios/display/gl_display_handler.h" |
| 12 | 12 |
| 13 #import "base/mac/bind_objc_block.h" | 13 #import "base/mac/bind_objc_block.h" |
| 14 #import "remoting/client/display/sys_opengl.h" | 14 #import "remoting/client/display/sys_opengl.h" |
| 15 #import "remoting/client/ios/display/gl_demo_screen.h" | 15 #import "remoting/ios/display/gl_demo_screen.h" |
| 16 | 16 |
| 17 #include "base/bind.h" | 17 #include "base/bind.h" |
| 18 #include "base/macros.h" | 18 #include "base/macros.h" |
| 19 #include "base/memory/ptr_util.h" | 19 #include "base/memory/ptr_util.h" |
| 20 #include "base/memory/weak_ptr.h" | 20 #include "base/memory/weak_ptr.h" |
| 21 #include "remoting/client/chromoting_client_runtime.h" | 21 #include "remoting/client/chromoting_client_runtime.h" |
| 22 #include "remoting/client/cursor_shape_stub_proxy.h" | 22 #include "remoting/client/cursor_shape_stub_proxy.h" |
| 23 #include "remoting/client/display/gl_canvas.h" | 23 #include "remoting/client/display/gl_canvas.h" |
| 24 #include "remoting/client/display/gl_renderer.h" | 24 #include "remoting/client/display/gl_renderer.h" |
| 25 #include "remoting/client/display/gl_renderer_delegate.h" | 25 #include "remoting/client/display/gl_renderer_delegate.h" |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 _core->GetWeakPtr(), delegate)); | 271 _core->GetWeakPtr(), delegate)); |
| 272 } | 272 } |
| 273 | 273 |
| 274 - (id<GlDisplayHandlerDelegate>)delegate { | 274 - (id<GlDisplayHandlerDelegate>)delegate { |
| 275 // Implementation is still required for UNAVAILABLE_ATTRIBUTE. | 275 // Implementation is still required for UNAVAILABLE_ATTRIBUTE. |
| 276 NOTREACHED(); | 276 NOTREACHED(); |
| 277 return nil; | 277 return nil; |
| 278 } | 278 } |
| 279 | 279 |
| 280 @end | 280 @end |
| OLD | NEW |