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

Side by Side Diff: chrome/common/gfx/text_elider.h

Issue 10255: Port some files in chrome/common to Linux.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 | « chrome/common/gfx/chrome_font.h ('k') | chrome/common/pref_service.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_COMMON_GFX_TEXT_ELIDER_H_ 5 #ifndef CHROME_COMMON_GFX_TEXT_ELIDER_H_
6 #define CHROME_COMMON_GFX_TEXT_ELIDER_H_ 6 #define CHROME_COMMON_GFX_TEXT_ELIDER_H_
7 7
8 #include <unicode/coll.h> 8 #include <unicode/coll.h>
9 #include <unicode/uchar.h> 9 #include <unicode/uchar.h>
10 #include <windows.h>
11 10
12 #include "base/basictypes.h" 11 #include "base/basictypes.h"
13 #include "chrome/common/gfx/chrome_font.h" 12 #include "chrome/common/gfx/chrome_font.h"
14 13
15 class GURL; 14 class GURL;
16 15
17 namespace gfx { 16 namespace gfx {
18 17
19 // This function takes a GURL object and elides it. It returns a string 18 // This function takes a GURL object and elides it. It returns a string
20 // which composed of parts from subdomain, domain, path, filename and query. 19 // which composed of parts from subdomain, domain, path, filename and query.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 66
68 // End of the prefix (spec and separator) in display_url_. 67 // End of the prefix (spec and separator) in display_url_.
69 size_t prefix_end_; 68 size_t prefix_end_;
70 69
71 std::wstring display_url_; 70 std::wstring display_url_;
72 }; 71 };
73 72
74 } // namespace gfx. 73 } // namespace gfx.
75 74
76 #endif // CHROME_COMMON_GFX_TEXT_ELIDER_H_ 75 #endif // CHROME_COMMON_GFX_TEXT_ELIDER_H_
OLDNEW
« no previous file with comments | « chrome/common/gfx/chrome_font.h ('k') | chrome/common/pref_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698