| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_GFX_RANGE_RANGE_H_ | 5 #ifndef UI_GFX_RANGE_RANGE_H_ |
| 6 #define UI_GFX_RANGE_RANGE_H_ | 6 #define UI_GFX_RANGE_RANGE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <ostream> | 10 #include <ostream> |
| 9 #include <string> | 11 #include <string> |
| 10 | 12 |
| 11 #include "base/basictypes.h" | 13 #include "build/build_config.h" |
| 12 #include "ui/gfx/gfx_export.h" | 14 #include "ui/gfx/gfx_export.h" |
| 13 | 15 |
| 14 #if defined(OS_MACOSX) | 16 #if defined(OS_MACOSX) |
| 15 #if __OBJC__ | 17 #if __OBJC__ |
| 16 #import <Foundation/Foundation.h> | 18 #import <Foundation/Foundation.h> |
| 17 #else | 19 #else |
| 18 typedef struct _NSRange NSRange; | 20 typedef struct _NSRange NSRange; |
| 19 #endif | 21 #endif |
| 20 #endif // defined(OS_MACOSX) | 22 #endif // defined(OS_MACOSX) |
| 21 | 23 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 private: | 110 private: |
| 109 size_t start_; | 111 size_t start_; |
| 110 size_t end_; | 112 size_t end_; |
| 111 }; | 113 }; |
| 112 | 114 |
| 113 GFX_EXPORT std::ostream& operator<<(std::ostream& os, const Range& range); | 115 GFX_EXPORT std::ostream& operator<<(std::ostream& os, const Range& range); |
| 114 | 116 |
| 115 } // namespace gfx | 117 } // namespace gfx |
| 116 | 118 |
| 117 #endif // UI_GFX_RANGE_RANGE_H_ | 119 #endif // UI_GFX_RANGE_RANGE_H_ |
| OLD | NEW |