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

Side by Side Diff: printing/printing_context_win.cc

Issue 1586843002: Remove remote tree host and some related input and metro_driver code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-3
Patch Set: remove ash_unittests from being run Created 4 years, 11 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
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | testing/buildbot/chromium.win.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "printing/backend/print_backend.h" 12 #include "printing/backend/print_backend.h"
13 #include "printing/backend/win_helper.h" 13 #include "printing/backend/win_helper.h"
14 #include "printing/print_settings_initializer_win.h" 14 #include "printing/print_settings_initializer_win.h"
15 #include "printing/printed_document.h" 15 #include "printing/printed_document.h"
16 #include "printing/printing_context_system_dialog_win.h" 16 #include "printing/printing_context_system_dialog_win.h"
17 #include "printing/printing_utils.h" 17 #include "printing/printing_utils.h"
18 #include "printing/units.h" 18 #include "printing/units.h"
19 #include "skia/ext/skia_utils_win.h" 19 #include "skia/ext/skia_utils_win.h"
20 #include "ui/aura/remote_window_tree_host_win.h"
21 #include "ui/aura/window.h" 20 #include "ui/aura/window.h"
21 #include "ui/aura/window_tree_host.h"
22 22
23 namespace printing { 23 namespace printing {
24 24
25 namespace { 25 namespace {
26 26
27 void AssingResult(PrintingContext::Result* out, PrintingContext::Result in) { 27 void AssingResult(PrintingContext::Result* out, PrintingContext::Result in) {
28 *out = in; 28 *out = in;
29 } 29 }
30 30
31 } // namespace 31 } // namespace
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 if (view && view->GetHost()) 364 if (view && view->GetHost())
365 window = view->GetHost()->GetAcceleratedWidget(); 365 window = view->GetHost()->GetAcceleratedWidget();
366 if (!window) { 366 if (!window) {
367 // TODO(maruel): crbug.com/1214347 Get the right browser window instead. 367 // TODO(maruel): crbug.com/1214347 Get the right browser window instead.
368 return GetDesktopWindow(); 368 return GetDesktopWindow();
369 } 369 }
370 return window; 370 return window;
371 } 371 }
372 372
373 } // namespace printing 373 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | testing/buildbot/chromium.win.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698