| 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 "chrome/renderer/pepper_plugin_delegate_impl.h" | 5 #include "chrome/renderer/pepper_plugin_delegate_impl.h" |
| 6 | 6 |
| 7 #include "app/surface/transport_dib.h" | 7 #include "app/surface/transport_dib.h" |
| 8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| (...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 DCHECK(callback); | 634 DCHECK(callback); |
| 635 messages_waiting_replies_.Remove(message_id); | 635 messages_waiting_replies_.Remove(message_id); |
| 636 callback->Run(error_code, file); | 636 callback->Run(error_code, file); |
| 637 delete callback; | 637 delete callback; |
| 638 } | 638 } |
| 639 | 639 |
| 640 scoped_refptr<base::MessageLoopProxy> | 640 scoped_refptr<base::MessageLoopProxy> |
| 641 PepperPluginDelegateImpl::GetFileThreadMessageLoopProxy() { | 641 PepperPluginDelegateImpl::GetFileThreadMessageLoopProxy() { |
| 642 return RenderThread::current()->GetFileThreadMessageLoopProxy(); | 642 return RenderThread::current()->GetFileThreadMessageLoopProxy(); |
| 643 } | 643 } |
| 644 |
| 645 pepper::FullscreenContainer* |
| 646 PepperPluginDelegateImpl::CreateFullscreenContainer( |
| 647 pepper::PluginInstance* instance) { |
| 648 return render_view_->CreatePepperFullscreenContainer(instance); |
| 649 } |
| OLD | NEW |