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 #ifndef PPAPI_CPP_RECT_H_ | 5 #ifndef PPAPI_CPP_RECT_H_ |
6 #define PPAPI_CPP_RECT_H_ | 6 #define PPAPI_CPP_RECT_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/c/pp_rect.h" | 10 #include "ppapi/c/pp_rect.h" |
9 #include "ppapi/cpp/point.h" | 11 #include "ppapi/cpp/point.h" |
10 #include "ppapi/cpp/size.h" | 12 #include "ppapi/cpp/size.h" |
11 | 13 |
12 /// @file | 14 /// @file |
13 /// This file defines the APIs for creating a 2 dimensional rectangle. | 15 /// This file defines the APIs for creating a 2 dimensional rectangle. |
14 | 16 |
15 namespace pp { | 17 namespace pp { |
16 | 18 |
17 /// A 2 dimensional rectangle. A rectangle is represented by x and y (which | 19 /// A 2 dimensional rectangle. A rectangle is represented by x and y (which |
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 /// @param[in] rhs The <code>FloatRect</code> on the right-hand side of the | 834 /// @param[in] rhs The <code>FloatRect</code> on the right-hand side of the |
833 /// equation. | 835 /// equation. |
834 /// | 836 /// |
835 /// @return true if the given Rects are equal, otherwise false. | 837 /// @return true if the given Rects are equal, otherwise false. |
836 inline bool operator!=(const pp::FloatRect& lhs, const pp::FloatRect& rhs) { | 838 inline bool operator!=(const pp::FloatRect& lhs, const pp::FloatRect& rhs) { |
837 return !(lhs == rhs); | 839 return !(lhs == rhs); |
838 } | 840 } |
839 | 841 |
840 #endif | 842 #endif |
841 | 843 |
OLD | NEW |