| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <algorithm> |
| 6 |
| 5 #include "ppapi/cpp/graphics_2d.h" | 7 #include "ppapi/cpp/graphics_2d.h" |
| 6 #include "ppapi/cpp/image_data.h" | 8 #include "ppapi/cpp/image_data.h" |
| 7 #include "ppapi/cpp/input_event.h" | 9 #include "ppapi/cpp/input_event.h" |
| 8 #include "ppapi/cpp/instance.h" | 10 #include "ppapi/cpp/instance.h" |
| 9 #include "ppapi/cpp/module.h" | 11 #include "ppapi/cpp/module.h" |
| 10 #include "ppapi/cpp/mouse_cursor.h" | 12 #include "ppapi/cpp/mouse_cursor.h" |
| 11 #include "ppapi/cpp/view.h" | 13 #include "ppapi/cpp/view.h" |
| 12 | 14 |
| 13 void FillRect(pp::ImageData* image, int left, int top, int width, int height, | 15 void FillRect(pp::ImageData* image, int left, int top, int width, int height, |
| 14 uint32_t color) { | 16 uint32_t color) { |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 }; | 91 }; |
| 90 | 92 |
| 91 namespace pp { | 93 namespace pp { |
| 92 | 94 |
| 93 // Factory function for your specialization of the Module object. | 95 // Factory function for your specialization of the Module object. |
| 94 Module* CreateModule() { | 96 Module* CreateModule() { |
| 95 return new MyModule(); | 97 return new MyModule(); |
| 96 } | 98 } |
| 97 | 99 |
| 98 } // namespace pp | 100 } // namespace pp |
| OLD | NEW |