Chromium Code Reviews| Index: ui/gfx/win/dwrite_text_analysis_source.h |
| diff --git a/content/common/dwrite_text_analysis_source_win.h b/ui/gfx/win/dwrite_text_analysis_source.h |
| similarity index 87% |
| rename from content/common/dwrite_text_analysis_source_win.h |
| rename to ui/gfx/win/dwrite_text_analysis_source.h |
| index 2999e43af771d6a30e06a5e0eeb1a40c347e5f78..1a66b651128a8a9c3e85fe6f9d82ce482212fda5 100644 |
| --- a/content/common/dwrite_text_analysis_source_win.h |
| +++ b/ui/gfx/win/dwrite_text_analysis_source.h |
| @@ -2,22 +2,23 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CONTENT_COMMON_DWRITE_TEXT_ANALYSIS_SOURCE_WIN_H_ |
| -#define CONTENT_COMMON_DWRITE_TEXT_ANALYSIS_SOURCE_WIN_H_ |
| +#ifndef UI_GFX_WIN_DWRITE_TEXT_ANALYSIS_SOURCE_H_ |
|
msw
2016/06/23 20:59:38
optional nit: rename files direct_write* to match
Ilya Kulshin
2016/06/24 20:48:24
Done. Renamed to text_analysis_source.*
|
| +#define UI_GFX_WIN_DWRITE_TEXT_ANALYSIS_SOURCE_H_ |
| #include <dwrite.h> |
| #include <wrl.h> |
| #include "base/macros.h" |
| #include "base/strings/string16.h" |
| -#include "content/common/content_export.h" |
| +#include "ui/gfx/gfx_export.h" |
| -namespace content { |
| +namespace gfx { |
| +namespace win { |
| // Implements an IDWriteTextAnalysisSource, describing a single pre-defined |
| // chunk of text with a uniform locale, reading direction, and number |
| // substitution. |
| -class CONTENT_EXPORT TextAnalysisSource |
| +class GFX_EXPORT TextAnalysisSource |
|
msw
2016/06/23 20:59:38
Can you move the applicable unit tests with this f
Ilya Kulshin
2016/06/24 20:48:24
This class doesn't have dedicated unit tests, and
msw
2016/06/27 20:45:36
Agreed; thanks for adding some!
|
| : public Microsoft::WRL::RuntimeClass< |
| Microsoft::WRL::RuntimeClassFlags<Microsoft::WRL::ClassicCom>, |
| IDWriteTextAnalysisSource> { |
| @@ -59,6 +60,7 @@ class CONTENT_EXPORT TextAnalysisSource |
| DISALLOW_ASSIGN(TextAnalysisSource); |
| }; |
| -} // namespace content |
| +} // namespace win |
| +} // namespace gfx |
| -#endif // CONTENT_COMMON_DWRITE_TEXT_ANALYSIS_SOURCE_WIN_H_ |
| +#endif // UI_GFX_WIN_DWRITE_TEXT_ANALYSIS_SOURCE_H_ |