| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 BASE_SCOPED_HANDLE_GTK_H_ | 5 #ifndef BASE_SCOPED_HANDLE_GTK_H_ |
| 6 #define BASE_SCOPED_HANDLE_GTK_H_ | 6 #define BASE_SCOPED_HANDLE_GTK_H_ |
| 7 | 7 |
| 8 #include <gdk/gdk.h> | 8 #include <gdk/gdk.h> |
| 9 | 9 |
| 10 // Wraps a GdkRegion. This class provides the same methods as ScopedGDIObject in | 10 // Wraps a GdkRegion. This class provides the same methods as ScopedGDIObject in |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 region_ = NULL; | 41 region_ = NULL; |
| 42 } | 42 } |
| 43 } | 43 } |
| 44 | 44 |
| 45 GdkRegion* region_; | 45 GdkRegion* region_; |
| 46 | 46 |
| 47 DISALLOW_COPY_AND_ASSIGN(ScopedRegion); | 47 DISALLOW_COPY_AND_ASSIGN(ScopedRegion); |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 #endif // BASE_SCOPED_HANDLE_GTK_H_ | 50 #endif // BASE_SCOPED_HANDLE_GTK_H_ |
| OLD | NEW |