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

Side by Side Diff: ui/gfx/range/range.h

Issue 1543183002: Switch to standard integer types in ui/gfx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ui/gfx/platform_font_win.cc ('k') | ui/gfx/range/range_f.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) 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
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_
OLDNEW
« no previous file with comments | « ui/gfx/platform_font_win.cc ('k') | ui/gfx/range/range_f.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698