Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Side by Side Diff: content/renderer/browser_plugin/mock_browser_plugin_texture_provider.cc

Issue 11359024: Texture provider to feed data to the impl side thread for webview compositing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/browser_plugin/mock_browser_plugin_texture_provider.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « content/renderer/browser_plugin/mock_browser_plugin_texture_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698