| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |