Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(796)

Side by Side Diff: ppapi/cpp/rect.h

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/cpp/private/video_source_private.h ('k') | ppapi/cpp/tcp_socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ppapi/cpp/private/video_source_private.h ('k') | ppapi/cpp/tcp_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698