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

Side by Side Diff: content/renderer/pepper/resource_creation_impl.h

Issue 2104403003: pepper: parse context creation attrib list on the plugin side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gpu_pref_size_in_attrs
Patch Set: rebase Created 4 years, 5 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
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 #ifndef CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 PP_PrivateFontCharset charset) override; 50 PP_PrivateFontCharset charset) override;
51 PP_Resource CreateFlashMenu(PP_Instance instance, 51 PP_Resource CreateFlashMenu(PP_Instance instance,
52 const PP_Flash_Menu* menu_data) override; 52 const PP_Flash_Menu* menu_data) override;
53 PP_Resource CreateFlashMessageLoop(PP_Instance instance) override; 53 PP_Resource CreateFlashMessageLoop(PP_Instance instance) override;
54 PP_Resource CreateGraphics3D(PP_Instance instance, 54 PP_Resource CreateGraphics3D(PP_Instance instance,
55 PP_Resource share_context, 55 PP_Resource share_context,
56 const int32_t* attrib_list) override; 56 const int32_t* attrib_list) override;
57 PP_Resource CreateGraphics3DRaw( 57 PP_Resource CreateGraphics3DRaw(
58 PP_Instance instance, 58 PP_Instance instance,
59 PP_Resource share_context, 59 PP_Resource share_context,
60 const int32_t* attrib_list, 60 const gpu::gles2::ContextCreationAttribHelper& attrib_helper,
61 gpu::Capabilities* capabilities, 61 gpu::Capabilities* capabilities,
62 base::SharedMemoryHandle* shared_state, 62 base::SharedMemoryHandle* shared_state,
63 gpu::CommandBufferId* command_buffer_id) override; 63 gpu::CommandBufferId* command_buffer_id) override;
64 PP_Resource CreateHostResolver(PP_Instance instance) override; 64 PP_Resource CreateHostResolver(PP_Instance instance) override;
65 PP_Resource CreateHostResolverPrivate(PP_Instance instance) override; 65 PP_Resource CreateHostResolverPrivate(PP_Instance instance) override;
66 PP_Resource CreateImageData(PP_Instance instance, 66 PP_Resource CreateImageData(PP_Instance instance,
67 PP_ImageDataFormat format, 67 PP_ImageDataFormat format,
68 const PP_Size* size, 68 const PP_Size* size,
69 PP_Bool init_to_zero) override; 69 PP_Bool init_to_zero) override;
70 PP_Resource CreateImageDataSimple(PP_Instance instance, 70 PP_Resource CreateImageDataSimple(PP_Instance instance,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 PP_Bool scroll_by_page) override; 141 PP_Bool scroll_by_page) override;
142 PP_Resource CreateX509CertificatePrivate(PP_Instance instance) override; 142 PP_Resource CreateX509CertificatePrivate(PP_Instance instance) override;
143 143
144 private: 144 private:
145 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); 145 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl);
146 }; 146 };
147 147
148 } // namespace content 148 } // namespace content
149 149
150 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ 150 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/ppb_graphics_3d_impl.cc ('k') | content/renderer/pepper/resource_creation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698