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

Side by Side Diff: content/renderer/renderer_webkitplatformsupport_impl.cc

Issue 12506003: Stop using the WebView::sharedGraphicsContext3D interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixin Created 7 years, 9 months 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/render_view_impl.cc ('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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 "content/renderer/renderer_webkitplatformsupport_impl.h" 5 #include "content/renderer/renderer_webkitplatformsupport_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
12 #include "base/platform_file.h" 12 #include "base/platform_file.h"
13 #include "base/shared_memory.h" 13 #include "base/shared_memory.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "cc/context_provider.h"
16 #include "content/common/database_util.h" 15 #include "content/common/database_util.h"
17 #include "content/common/file_utilities_messages.h" 16 #include "content/common/file_utilities_messages.h"
18 #include "content/common/fileapi/webblobregistry_impl.h" 17 #include "content/common/fileapi/webblobregistry_impl.h"
19 #include "content/common/fileapi/webfilesystem_impl.h" 18 #include "content/common/fileapi/webfilesystem_impl.h"
19 #include "content/common/gpu/client/context_provider_command_buffer.h"
20 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 20 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
21 #include "content/common/indexed_db/proxy_webidbfactory_impl.h" 21 #include "content/common/indexed_db/proxy_webidbfactory_impl.h"
22 #include "content/common/mime_registry_messages.h" 22 #include "content/common/mime_registry_messages.h"
23 #include "content/common/npobject_util.h" 23 #include "content/common/npobject_util.h"
24 #include "content/common/thread_safe_sender.h" 24 #include "content/common/thread_safe_sender.h"
25 #include "content/common/view_messages.h" 25 #include "content/common/view_messages.h"
26 #include "content/common/webmessageportchannel_impl.h" 26 #include "content/common/webmessageportchannel_impl.h"
27 #include "content/public/common/content_switches.h" 27 #include "content/public/common/content_switches.h"
28 #include "content/public/common/gpu_info.h" 28 #include "content/public/common/gpu_info.h"
29 #include "content/public/renderer/content_renderer_client.h" 29 #include "content/public/renderer/content_renderer_client.h"
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 //------------------------------------------------------------------------------ 888 //------------------------------------------------------------------------------
889 889
890 GrContext* RendererWebKitPlatformSupportImpl::sharedOffscreenGrContext() { 890 GrContext* RendererWebKitPlatformSupportImpl::sharedOffscreenGrContext() {
891 if (!shared_offscreen_context_) 891 if (!shared_offscreen_context_)
892 return NULL; 892 return NULL;
893 return shared_offscreen_context_->GrContext(); 893 return shared_offscreen_context_->GrContext();
894 } 894 }
895 895
896 896
897 } // namespace content 897 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698