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 #include "remoting/client/plugin/pepper_view.h" | 5 #include "remoting/client/plugin/pepper_view.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "remoting/client/decoder_verbatim.h" | 8 #include "remoting/base/decoder_verbatim.h" |
9 #include "remoting/client/plugin/chromoting_plugin.h" | 9 #include "remoting/client/plugin/chromoting_plugin.h" |
10 #include "remoting/client/plugin/pepper_util.h" | 10 #include "remoting/client/plugin/pepper_util.h" |
11 #include "third_party/ppapi/cpp/device_context_2d.h" | 11 #include "third_party/ppapi/cpp/device_context_2d.h" |
12 #include "third_party/ppapi/cpp/image_data.h" | 12 #include "third_party/ppapi/cpp/image_data.h" |
13 #include "third_party/ppapi/cpp/point.h" | 13 #include "third_party/ppapi/cpp/point.h" |
14 #include "third_party/ppapi/cpp/size.h" | 14 #include "third_party/ppapi/cpp/size.h" |
15 | 15 |
16 namespace remoting { | 16 namespace remoting { |
17 | 17 |
18 PepperView::PepperView(ChromotingPlugin* plugin) | 18 PepperView::PepperView(ChromotingPlugin* plugin) |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 update_rects_.begin(), update_rects_.end()); | 202 update_rects_.begin(), update_rects_.end()); |
203 Paint(); | 203 Paint(); |
204 // TODO(ajwong): Need to block here to be synchronous. | 204 // TODO(ajwong): Need to block here to be synchronous. |
205 } | 205 } |
206 | 206 |
207 | 207 |
208 void PepperView::OnDecodeDone() { | 208 void PepperView::OnDecodeDone() { |
209 } | 209 } |
210 | 210 |
211 } // namespace remoting | 211 } // namespace remoting |
OLD | NEW |