| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 REMOTING_CLIENT_JNI_JNI_FRAME_CONSUMER_H_ | 5 #ifndef REMOTING_CLIENT_JNI_JNI_FRAME_CONSUMER_H_ |
| 6 #define REMOTING_CLIENT_JNI_JNI_FRAME_CONSUMER_H_ | 6 #define REMOTING_CLIENT_JNI_JNI_FRAME_CONSUMER_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 13 #include "remoting/client/frame_consumer.h" | 14 #include "remoting/client/frame_consumer.h" |
| 14 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" | 15 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" |
| 15 | 16 |
| 16 namespace remoting { | 17 namespace remoting { |
| 17 | 18 |
| 18 class ChromotingJniRuntime; | 19 class ChromotingJniRuntime; |
| 19 | 20 |
| 20 // FrameConsumer implementation that draws onto a JNI direct byte buffer. | 21 // FrameConsumer implementation that draws onto a JNI direct byte buffer. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 44 scoped_ptr<Renderer> renderer_; | 45 scoped_ptr<Renderer> renderer_; |
| 45 | 46 |
| 46 base::WeakPtrFactory<JniFrameConsumer> weak_factory_; | 47 base::WeakPtrFactory<JniFrameConsumer> weak_factory_; |
| 47 | 48 |
| 48 DISALLOW_COPY_AND_ASSIGN(JniFrameConsumer); | 49 DISALLOW_COPY_AND_ASSIGN(JniFrameConsumer); |
| 49 }; | 50 }; |
| 50 | 51 |
| 51 } // namespace remoting | 52 } // namespace remoting |
| 52 | 53 |
| 53 #endif | 54 #endif |
| OLD | NEW |