| 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_var.h" |    5 #include "webkit/glue/plugins/pepper_var.h" | 
|    6  |    6  | 
|    7 #include <limits> |    7 #include <limits> | 
|    8  |    8  | 
|    9 #include "base/logging.h" |    9 #include "base/logging.h" | 
|   10 #include "base/scoped_ptr.h" |   10 #include "base/scoped_ptr.h" | 
|   11 #include "base/string_util.h" |   11 #include "base/string_util.h" | 
|   12 #include "third_party/ppapi/c/dev/ppb_var_deprecated.h" |   12 #include "ppapi/c/dev/ppb_var_deprecated.h" | 
|   13 #include "third_party/ppapi/c/ppb_var.h" |   13 #include "ppapi/c/ppb_var.h" | 
|   14 #include "third_party/ppapi/c/pp_var.h" |   14 #include "ppapi/c/pp_var.h" | 
|   15 #include "third_party/WebKit/WebKit/chromium/public/WebBindings.h" |   15 #include "third_party/WebKit/WebKit/chromium/public/WebBindings.h" | 
|   16 #include "webkit/glue/plugins/pepper_plugin_instance.h" |   16 #include "webkit/glue/plugins/pepper_plugin_instance.h" | 
|   17 #include "webkit/glue/plugins/pepper_plugin_module.h" |   17 #include "webkit/glue/plugins/pepper_plugin_module.h" | 
|   18 #include "webkit/glue/plugins/pepper_plugin_object.h" |   18 #include "webkit/glue/plugins/pepper_plugin_object.h" | 
|   19 #include "v8/include/v8.h" |   19 #include "v8/include/v8.h" | 
|   20  |   20  | 
|   21 using WebKit::WebBindings; |   21 using WebKit::WebBindings; | 
|   22  |   22  | 
|   23 namespace pepper { |   23 namespace pepper { | 
|   24  |   24  | 
| (...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  828       *exception_ = PP_MakeInt32(1); |  828       *exception_ = PP_MakeInt32(1); | 
|  829   } |  829   } | 
|  830 } |  830 } | 
|  831  |  831  | 
|  832 // static |  832 // static | 
|  833 void TryCatch::Catch(void* self, const char* message) { |  833 void TryCatch::Catch(void* self, const char* message) { | 
|  834   static_cast<TryCatch*>(self)->SetException(message); |  834   static_cast<TryCatch*>(self)->SetException(message); | 
|  835 } |  835 } | 
|  836  |  836  | 
|  837 }  // namespace pepper |  837 }  // namespace pepper | 
| OLD | NEW |