OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <math.h> | 5 #include <math.h> |
6 | 6 |
| 7 #include <algorithm> |
| 8 |
7 #include "ppapi/cpp/graphics_2d.h" | 9 #include "ppapi/cpp/graphics_2d.h" |
8 #include "ppapi/cpp/image_data.h" | 10 #include "ppapi/cpp/image_data.h" |
9 #include "ppapi/cpp/instance.h" | 11 #include "ppapi/cpp/instance.h" |
10 #include "ppapi/cpp/module.h" | 12 #include "ppapi/cpp/module.h" |
11 #include "ppapi/cpp/rect.h" | 13 #include "ppapi/cpp/rect.h" |
12 #include "ppapi/cpp/var.h" | 14 #include "ppapi/cpp/var.h" |
13 #include "ppapi/utility/completion_callback_factory.h" | 15 #include "ppapi/utility/completion_callback_factory.h" |
14 #include "ppapi/utility/graphics/paint_manager.h" | 16 #include "ppapi/utility/graphics/paint_manager.h" |
15 | 17 |
16 static const int kSquareSpacing = 98; | 18 static const int kSquareSpacing = 98; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 }; | 113 }; |
112 | 114 |
113 namespace pp { | 115 namespace pp { |
114 | 116 |
115 // Factory function for your specialization of the Module object. | 117 // Factory function for your specialization of the Module object. |
116 Module* CreateModule() { | 118 Module* CreateModule() { |
117 return new MyModule(); | 119 return new MyModule(); |
118 } | 120 } |
119 | 121 |
120 } // namespace pp | 122 } // namespace pp |
OLD | NEW |