OLD | NEW |
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 "webkit/glue/plugins/pepper_plugin_object.h" | 5 #include "webkit/glue/plugins/pepper_plugin_object.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/ref_counted.h" | 8 #include "base/ref_counted.h" |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
877 static PPB_Class interface = { | 877 static PPB_Class interface = { |
878 &Create, | 878 &Create, |
879 &Instantiate | 879 &Instantiate |
880 }; | 880 }; |
881 return &interface; | 881 return &interface; |
882 } | 882 } |
883 | 883 |
884 // virtual | 884 // virtual |
885 VarObjectClass::~VarObjectClass() { } | 885 VarObjectClass::~VarObjectClass() { } |
886 | 886 |
| 887 VarObjectClass* VarObjectClass::AsVarObjectClass() { |
| 888 return this; |
| 889 } |
| 890 |
887 } // namespace pepper | 891 } // namespace pepper |
OLD | NEW |