| 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 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_WIDGET_H_ | 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_WIDGET_H_ |
| 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_WIDGET_H_ | 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_WIDGET_H_ |
| 7 | 7 |
| 8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
| 9 #include "third_party/ppapi/c/pp_rect.h" | 9 #include "ppapi/c/pp_rect.h" |
| 10 #include "webkit/glue/plugins/pepper_resource.h" | 10 #include "webkit/glue/plugins/pepper_resource.h" |
| 11 | 11 |
| 12 struct PPB_Widget_Dev; | 12 struct PPB_Widget_Dev; |
| 13 struct PP_InputEvent; | 13 struct PP_InputEvent; |
| 14 | 14 |
| 15 namespace pepper { | 15 namespace pepper { |
| 16 | 16 |
| 17 class ImageData; | 17 class ImageData; |
| 18 class PluginInstance; | 18 class PluginInstance; |
| 19 | 19 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 44 PP_Rect location() const { return location_; } | 44 PP_Rect location() const { return location_; } |
| 45 | 45 |
| 46 private: | 46 private: |
| 47 scoped_refptr<PluginInstance> instance_; | 47 scoped_refptr<PluginInstance> instance_; |
| 48 PP_Rect location_; | 48 PP_Rect location_; |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace pepper | 51 } // namespace pepper |
| 52 | 52 |
| 53 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_WIDGET_H_ | 53 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_WIDGET_H_ |
| OLD | NEW |