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

Side by Side Diff: ppapi/cpp/point.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 5 years 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/network_proxy.h ('k') | ppapi/cpp/ppp_entrypoints.cc » ('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_POINT_H_ 5 #ifndef PPAPI_CPP_POINT_H_
6 #define PPAPI_CPP_POINT_H_ 6 #define PPAPI_CPP_POINT_H_
7 7
8 #include <stdint.h>
9
8 #include "ppapi/c/pp_point.h" 10 #include "ppapi/c/pp_point.h"
9 11
10 /// @file 12 /// @file
11 /// This file defines the API to create a 2 dimensional point. 13 /// This file defines the API to create a 2 dimensional point.
12 14
13 namespace pp { 15 namespace pp {
14 16
15 /// A 2 dimensional point with 0,0 being the upper-left starting coordinate. 17 /// A 2 dimensional point with 0,0 being the upper-left starting coordinate.
16 class Point { 18 class Point {
17 public: 19 public:
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 /// @param[in] lhs The Point on the left-hand side of the equation. 329 /// @param[in] lhs The Point on the left-hand side of the equation.
328 /// @param[in] rhs The Point on the right-hand side of the equation. 330 /// @param[in] rhs The Point on the right-hand side of the equation.
329 /// 331 ///
330 /// @return true if the coordinates of lhs are equal to the coordinates 332 /// @return true if the coordinates of lhs are equal to the coordinates
331 /// of rhs, otherwise false. 333 /// of rhs, otherwise false.
332 inline bool operator!=(const pp::FloatPoint& lhs, const pp::FloatPoint& rhs) { 334 inline bool operator!=(const pp::FloatPoint& lhs, const pp::FloatPoint& rhs) {
333 return !(lhs == rhs); 335 return !(lhs == rhs);
334 } 336 }
335 337
336 #endif // PPAPI_CPP_POINT_H_ 338 #endif // PPAPI_CPP_POINT_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/network_proxy.h ('k') | ppapi/cpp/ppp_entrypoints.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698