diff options
author | Sadrul Habib Chowdhury <sadrul@chromium.org> | 2015-02-13 12:12:22 -0500 |
---|---|---|
committer | Sadrul Habib Chowdhury <sadrul@chromium.org> | 2015-02-13 17:13:38 +0000 |
commit | da8b9b72a31951a1a2b68a4e60c5719b52443404 (patch) | |
tree | 9eb818178903311d92c66e9c8ecf4d19bbd9af87 /printing | |
parent | c25e09cb403ef31802ad6fdcacdbfbe123565980 (diff) | |
download | chromium_src-da8b9b72a31951a1a2b68a4e60c5719b52443404.zip chromium_src-da8b9b72a31951a1a2b68a4e60c5719b52443404.tar.gz chromium_src-da8b9b72a31951a1a2b68a4e60c5719b52443404.tar.bz2 |
win/aura: Remove some more non-aura code for Windows.
This removes all the uses of USE_AURA ifdefs from the _win.cc files (and some
additional removal of dead code).
BUG=none
R=mkwst@chromium.org, sky@chromium.org, thestig@chromium.org
Review URL: https://codereview.chromium.org/909183002
Cr-Commit-Position: refs/heads/master@{#316231}
Diffstat (limited to 'printing')
-rw-r--r-- | printing/printing_context_win.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc index 678e7f2..7822429 100644 --- a/printing/printing_context_win.cc +++ b/printing/printing_context_win.cc @@ -17,11 +17,8 @@ #include "printing/printing_utils.h" #include "printing/units.h" #include "skia/ext/platform_device.h" - -#if defined(USE_AURA) #include "ui/aura/remote_window_tree_host_win.h" #include "ui/aura/window.h" -#endif namespace printing { @@ -362,14 +359,8 @@ PrintingContext::Result PrintingContextWin::InitializeSettings( HWND PrintingContextWin::GetRootWindow(gfx::NativeView view) { HWND window = NULL; -#if defined(USE_AURA) if (view) window = view->GetHost()->GetAcceleratedWidget(); -#else - if (view && IsWindow(view)) { - window = GetAncestor(view, GA_ROOTOWNER); - } -#endif if (!window) { // TODO(maruel): crbug.com/1214347 Get the right browser window instead. return GetDesktopWindow(); |