| 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 #ifndef PPAPI_CPP_MOUSE_CURSOR_H_ | 5 #ifndef PPAPI_CPP_MOUSE_CURSOR_H_ |
| 6 #define PPAPI_CPP_MOUSE_CURSOR_H_ | 6 #define PPAPI_CPP_MOUSE_CURSOR_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/ppb_mouse_cursor.h" | 8 #include "ppapi/c/ppb_mouse_cursor.h" |
| 9 #include "ppapi/cpp/image_data.h" | 9 #include "ppapi/cpp/image_data.h" |
| 10 #include "ppapi/cpp/instance_handle.h" | 10 #include "ppapi/cpp/instance_handle.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 /// was invalid or if the image was too large. | 47 /// was invalid or if the image was too large. |
| 48 static bool SetCursor(const InstanceHandle& instance, | 48 static bool SetCursor(const InstanceHandle& instance, |
| 49 PP_MouseCursor_Type type, | 49 PP_MouseCursor_Type type, |
| 50 const ImageData& image = ImageData(), | 50 const ImageData& image = ImageData(), |
| 51 const Point& hot_spot = Point(0, 0)); | 51 const Point& hot_spot = Point(0, 0)); |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace pp | 54 } // namespace pp |
| 55 | 55 |
| 56 #endif // PPAPI_CPP_MOUSE_CURSOR_H_ | 56 #endif // PPAPI_CPP_MOUSE_CURSOR_H_ |
| OLD | NEW |