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

Side by Side Diff: gpu/gpu_plugin/gpu_plugin_object_factory.cc

Issue 465040: Added CommandBufferClient, CommandBufferStub and some IPC messages.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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
OLDNEW
(Empty)
1 // Copyright (c) 2006-2008 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 "gpu/gpu_plugin/gpu_plugin_object.h"
6 #include "gpu/gpu_plugin/gpu_plugin_object_factory.h"
7 #include "gpu/np_utils/np_utils.h"
8
9 namespace gpu_plugin {
10
11 GPUPluginObjectFactory::GPUPluginObjectFactory() {
12 }
13
14 GPUPluginObjectFactory::~GPUPluginObjectFactory() {
15 }
16
17 np_utils::PluginObject* GPUPluginObjectFactory::CreatePluginObject(
18 NPP npp,
19 NPMIMEType plugin_type) {
20 if (strcmp(plugin_type, GPUPluginObject::kPluginType) == 0) {
21 return np_utils::NPCreateObject<GPUPluginObject>(npp).ToReturned();
22 }
23
24 return NULL;
25 }
26
27 } // namespace gpu_plugin
OLDNEW
« no previous file with comments | « gpu/gpu_plugin/gpu_plugin_object_factory.h ('k') | gpu/gpu_plugin/gpu_plugin_object_factory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698