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 CONTENT_RENDERER_HYPHENATOR_HYPHENATOR_H_ | 5 #ifndef CONTENT_RENDERER_HYPHENATOR_HYPHENATOR_H_ |
6 #define CONTENT_RENDERER_HYPHENATOR_HYPHENATOR_H_ | 6 #define CONTENT_RENDERER_HYPHENATOR_HYPHENATOR_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_handle.h" | 10 #include "base/memory/scoped_handle.h" |
11 #include "base/platform_file.h" | 11 #include "base/platform_file.h" |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 #include "content/public/renderer/render_process_observer.h" | 14 #include "content/public/renderer/render_process_observer.h" |
15 #include "ipc/ipc_platform_file.h" | 15 #include "ipc/ipc_platform_file.h" |
16 | 16 |
17 typedef struct _HyphenDict HyphenDict; | 17 typedef struct _HyphenDict HyphenDict; |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 class RenderThread; | 20 class RenderThread; |
21 | 21 |
22 // A class that hyphenates a word. This class encapsulates the hyphen library | 22 // A class that hyphenates a word. This class encapsulates the hyphen library |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 string16 word_; | 65 string16 word_; |
66 bool result_; | 66 bool result_; |
67 std::vector<int> hyphen_offsets_; | 67 std::vector<int> hyphen_offsets_; |
68 | 68 |
69 DISALLOW_COPY_AND_ASSIGN(Hyphenator); | 69 DISALLOW_COPY_AND_ASSIGN(Hyphenator); |
70 }; | 70 }; |
71 | 71 |
72 } // namespace content | 72 } // namespace content |
73 | 73 |
74 #endif // CONTENT_RENDERER_HYPHENATOR_HYPHENATOR_H_ | 74 #endif // CONTENT_RENDERER_HYPHENATOR_HYPHENATOR_H_ |
OLD | NEW |