| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PLUGIN_PEPPER_VIEW_H_ | 5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_VIEW_H_ |
| 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_VIEW_H_ | 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
| 9 #include "base/task.h" | 9 #include "base/task.h" |
| 10 #include "remoting/client/chromoting_view.h" | 10 #include "remoting/client/chromoting_view.h" |
| 11 #include "remoting/client/pepper/pepper_plugin.h" | 11 #include "third_party/npapi/bindings/npapi.h" |
| 12 #include "third_party/npapi/bindings/npapi_extensions.h" |
| 12 | 13 |
| 13 class MessageLoop; | 14 class MessageLoop; |
| 14 | 15 |
| 15 namespace remoting { | 16 namespace remoting { |
| 16 | 17 |
| 17 class Decoder; | 18 class Decoder; |
| 18 | 19 |
| 19 class PepperView : public ChromotingView { | 20 class PepperView : public ChromotingView { |
| 20 public: | 21 public: |
| 21 // Constructs a PepperView that draw to the |rendering_device|. The | 22 // Constructs a PepperView that draw to the |rendering_device|. The |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 scoped_ptr<Decoder> decoder_; | 69 scoped_ptr<Decoder> decoder_; |
| 69 | 70 |
| 70 DISALLOW_COPY_AND_ASSIGN(PepperView); | 71 DISALLOW_COPY_AND_ASSIGN(PepperView); |
| 71 }; | 72 }; |
| 72 | 73 |
| 73 } // namespace remoting | 74 } // namespace remoting |
| 74 | 75 |
| 75 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::PepperView); | 76 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::PepperView); |
| 76 | 77 |
| 77 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIEW_H_ | 78 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIEW_H_ |
| OLD | NEW |