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

Side by Side Diff: ppapi/cpp/dev/graphics_3d_client_dev.cc

Issue 7782020: Revert 99855 - Move PPAPI graphics3d and opengles interfaces out of Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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 | « ppapi/cpp/dev/graphics_3d_client_dev.h ('k') | ppapi/cpp/dev/graphics_3d_dev.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "ppapi/cpp/dev/graphics_3d_client_dev.h" 5 #include "ppapi/cpp/dev/graphics_3d_client_dev.h"
6 6
7 #include "ppapi/c/dev/ppp_graphics_3d_dev.h" 7 #include "ppapi/c/dev/ppp_graphics_3d_dev.h"
8 #include "ppapi/cpp/instance.h" 8 #include "ppapi/cpp/instance.h"
9 #include "ppapi/cpp/module.h" 9 #include "ppapi/cpp/module.h"
10 #include "ppapi/cpp/module_impl.h" 10 #include "ppapi/cpp/module_impl.h"
(...skipping 23 matching lines...) Expand all
34 pp::Module::Get()->AddPluginInterface(kPPPGraphics3DInterface, 34 pp::Module::Get()->AddPluginInterface(kPPPGraphics3DInterface,
35 &graphics3d_interface); 35 &graphics3d_interface);
36 associated_instance_->AddPerInstanceObject(kPPPGraphics3DInterface, this); 36 associated_instance_->AddPerInstanceObject(kPPPGraphics3DInterface, this);
37 } 37 }
38 38
39 Graphics3DClient_Dev::~Graphics3DClient_Dev() { 39 Graphics3DClient_Dev::~Graphics3DClient_Dev() {
40 associated_instance_->RemovePerInstanceObject(kPPPGraphics3DInterface, this); 40 associated_instance_->RemovePerInstanceObject(kPPPGraphics3DInterface, this);
41 } 41 }
42 42
43 } // namespace pp 43 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/cpp/dev/graphics_3d_client_dev.h ('k') | ppapi/cpp/dev/graphics_3d_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698