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

Unified Diff: ui/gfx/win/text_analysis_source.h

Issue 2054273002: Font fallback for UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix clang build error due to signed-unsigned comparison Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: ui/gfx/win/text_analysis_source.h
diff --git a/content/common/dwrite_text_analysis_source_win.h b/ui/gfx/win/text_analysis_source.h
similarity index 87%
rename from content/common/dwrite_text_analysis_source_win.h
rename to ui/gfx/win/text_analysis_source.h
index 2999e43af771d6a30e06a5e0eeb1a40c347e5f78..8307c9f14656764d8c6706af82199283ee61dbf9 100644
--- a/content/common/dwrite_text_analysis_source_win.h
+++ b/ui/gfx/win/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_TEXT_ANALYSIS_SOURCE_H_
+#define UI_GFX_WIN_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
: 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_TEXT_ANALYSIS_SOURCE_H_

Powered by Google App Engine
This is Rietveld 408576698