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

Side by Side Diff: ui/base/range/range_mac.mm

Issue 7248068: Rename range.mm to range_mac.mm. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ui/base/range/range.mm ('k') | ui/base/range/range_mac_unittest.mm » ('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 #include "ui/base/range/range.h" 5 #include "ui/base/range/range.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 10
(...skipping 16 matching lines...) Expand all
27 return *this; 27 return *this;
28 } 28 }
29 29
30 NSRange Range::ToNSRange() const { 30 NSRange Range::ToNSRange() const {
31 if (!IsValid()) 31 if (!IsValid())
32 return NSMakeRange(NSNotFound, 0); 32 return NSMakeRange(NSNotFound, 0);
33 return NSMakeRange(GetMin(), length()); 33 return NSMakeRange(GetMin(), length());
34 } 34 }
35 35
36 } // namespace gfx 36 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/base/range/range.mm ('k') | ui/base/range/range_mac_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698