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

Side by Side Diff: printing/printing_context_win.cc

Issue 1837483003: Move base::FreeDeleter into its own header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "printing/printing_context_win.h" 5 #include "printing/printing_context_win.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/memory/free_deleter.h"
10 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
12 #include "printing/backend/print_backend.h" 13 #include "printing/backend/print_backend.h"
13 #include "printing/backend/win_helper.h" 14 #include "printing/backend/win_helper.h"
14 #include "printing/print_settings_initializer_win.h" 15 #include "printing/print_settings_initializer_win.h"
15 #include "printing/printed_document.h" 16 #include "printing/printed_document.h"
16 #include "printing/printing_context_system_dialog_win.h" 17 #include "printing/printing_context_system_dialog_win.h"
17 #include "printing/printing_utils.h" 18 #include "printing/printing_utils.h"
18 #include "printing/units.h" 19 #include "printing/units.h"
19 #include "skia/ext/skia_utils_win.h" 20 #include "skia/ext/skia_utils_win.h"
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 if (view && view->GetHost()) 365 if (view && view->GetHost())
365 window = view->GetHost()->GetAcceleratedWidget(); 366 window = view->GetHost()->GetAcceleratedWidget();
366 if (!window) { 367 if (!window) {
367 // TODO(maruel): crbug.com/1214347 Get the right browser window instead. 368 // TODO(maruel): crbug.com/1214347 Get the right browser window instead.
368 return GetDesktopWindow(); 369 return GetDesktopWindow();
369 } 370 }
370 return window; 371 return window;
371 } 372 }
372 373
373 } // namespace printing 374 } // namespace printing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698