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

Unified Diff: content/child/dwrite_font_proxy/dwrite_font_proxy_init_win.h

Issue 1514183002: Revert "Create direct write font proxy classes and unit tests." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: content/child/dwrite_font_proxy/dwrite_font_proxy_init_win.h
diff --git a/content/child/dwrite_font_proxy/dwrite_font_proxy_init_win.h b/content/child/dwrite_font_proxy/dwrite_font_proxy_init_win.h
deleted file mode 100644
index e346cb0168474b6d3095dd7f29f2a0fab8a0c80a..0000000000000000000000000000000000000000
--- a/content/child/dwrite_font_proxy/dwrite_font_proxy_init_win.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_CHILD_DWRITE_FONT_PROXY_DWRITE_FONT_PROXY_INIT_WIN_H_
-#define CONTENT_CHILD_DWRITE_FONT_PROXY_DWRITE_FONT_PROXY_INIT_WIN_H_
-
-#include "base/callback.h"
-#include "content/common/content_export.h"
-#include "ipc/ipc_sender.h"
-
-namespace content {
-
-// Initializes the dwrite font proxy, using the specified callback to obtain
-// the sender to be used for sending IPC messages to the browser process.
-CONTENT_EXPORT void InitializeDWriteFontProxy(
- const base::Callback<IPC::Sender*(void)>& sender);
-
-// Uninitialize the dwrite font proxy. This is safe to call even if the proxy
-// has not been initialized. After this, calls to load fonts may fail.
-CONTENT_EXPORT void UninitializeDWriteFontProxy();
-
-// Configures the dwrite font proxy to use the specified sender. This can be
-// useful in tests which use a fake render thread which is unable to process
-// font IPC messages. This should only be called when running as a test.
-CONTENT_EXPORT void SetDWriteFontProxySenderForTesting(IPC::Sender* sender);
-
-} // namespace content
-
-#endif // CONTENT_CHILD_DWRITE_FONT_PROXY_DWRITE_FONT_PROXY_INIT_WIN_H_
« no previous file with comments | « content/child/dwrite_font_proxy/OWNERS ('k') | content/child/dwrite_font_proxy/dwrite_font_proxy_init_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698