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_VIEW_H_ | 5 #ifndef PPAPI_CPP_VIEW_H_ |
6 #define PPAPI_CPP_VIEW_H_ | 6 #define PPAPI_CPP_VIEW_H_ |
7 | 7 |
8 #include "ppapi/cpp/resource.h" | 8 #include "ppapi/cpp/resource.h" |
9 #include "ppapi/cpp/rect.h" | 9 #include "ppapi/cpp/rect.h" |
10 #include "ppapi/cpp/size.h" | 10 #include "ppapi/cpp/size.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 /// happens. | 105 /// happens. |
106 /// | 106 /// |
107 /// @return The rectangle representing the visible part of the instance. | 107 /// @return The rectangle representing the visible part of the instance. |
108 /// If the resource is invalid, the empty rect is returned. | 108 /// If the resource is invalid, the empty rect is returned. |
109 Rect GetClipRect() const; | 109 Rect GetClipRect() const; |
110 }; | 110 }; |
111 | 111 |
112 } // namespace pp | 112 } // namespace pp |
113 | 113 |
114 #endif // PPAPI_CPP_VIEW_H_ | 114 #endif // PPAPI_CPP_VIEW_H_ |
OLD | NEW |