summaryrefslogtreecommitdiffstats
path: root/printing/printing_context_win.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 06:34:04 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 06:34:04 +0000
commit69f5b1e6690af4184fc5fdc8734ad4b7936123bd (patch)
tree1ce92b715b5bee418b6d3e88f96a72a2177e4890 /printing/printing_context_win.h
parent0e3c7d88f2fd4070e0b373e97ce400e522d15245 (diff)
downloadchromium_src-69f5b1e6690af4184fc5fdc8734ad4b7936123bd.zip
chromium_src-69f5b1e6690af4184fc5fdc8734ad4b7936123bd.tar.gz
chromium_src-69f5b1e6690af4184fc5fdc8734ad4b7936123bd.tar.bz2
Add printing.dll to the component build.
R=rvargas,thestig Review URL: http://codereview.chromium.org/7799003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99144 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing_context_win.h')
-rw-r--r--printing/printing_context_win.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/printing_context_win.h b/printing/printing_context_win.h
index c830736..feee8f6 100644
--- a/printing/printing_context_win.h
+++ b/printing/printing_context_win.h
@@ -17,7 +17,7 @@
namespace printing {
-class PrintingContextWin : public PrintingContext {
+class PRINTING_EXPORT PrintingContextWin : public PrintingContext {
public:
explicit PrintingContextWin(const std::string& app_locale);
~PrintingContextWin();
@@ -40,7 +40,7 @@ class PrintingContextWin : public PrintingContext {
virtual void ReleaseContext();
virtual gfx::NativeDrawingContext context() const;
-#if defined(UNIT_TEST)
+#if defined(UNIT_TEST) || defined(PRINTING_IMPLEMENTATION)
// Sets a fake PrintDlgEx function pointer in tests.
void SetPrintDialog(HRESULT (__stdcall *print_dialog_func)(LPPRINTDLGEX)) {
print_dialog_func_ = print_dialog_func;