OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/renderer/browser_plugin/mock_browser_plugin_texture_provider.h
" |
| 6 |
| 7 #include "base/message_loop.h" |
| 8 #include "content/common/browser_plugin_messages.h" |
| 9 #include "content/renderer/browser_plugin/browser_plugin_compositing_filter.h" |
| 10 #include "content/renderer/browser_plugin/browser_plugin_manager.h" |
| 11 #include "content/renderer/browser_plugin/browser_plugin_manager_impl.h" |
| 12 #include "content/renderer/render_view_impl.h" |
| 13 #include "content/renderer/render_thread_impl.h" |
| 14 #include "content/renderer/gpu/compositor_thread.h" |
| 15 |
| 16 #include "ui/gfx/size.h" |
| 17 |
| 18 using WebKit::WebFloatRect; |
| 19 |
| 20 namespace content { |
| 21 |
| 22 MockBrowserPluginTextureProvider::MockBrowserPluginTextureProvider( |
| 23 int instance_id, |
| 24 int host_routing_id, |
| 25 IPC::ChannelProxy* channel_proxy, |
| 26 scoped_refptr<base::MessageLoopProxy> message_loop) |
| 27 : BrowserPluginTextureProvider(instance_id, |
| 28 host_routing_id, |
| 29 channel_proxy, |
| 30 message_loop) { |
| 31 } |
| 32 |
| 33 MockBrowserPluginTextureProvider::~MockBrowserPluginTextureProvider() { } |
| 34 |
| 35 bool MockBrowserPluginTextureProvider::IsOnCorrectThread() { return true; } |
| 36 |
| 37 void MockBrowserPluginTextureProvider::Destroy() { |
| 38 DestroyImpl(); |
| 39 } |
| 40 |
| 41 } // namespace content |
OLD | NEW |