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

Side by Side Diff: win8/metro_driver/print_handler.cc

Issue 1540973003: Switch to standard integer types in win8/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « win8/metro_driver/print_handler.h ('k') | win8/test/open_with_dialog_controller.h » ('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 "stdafx.h" 5 #include "stdafx.h"
6 #include "win8/metro_driver/print_handler.h" 6 #include "win8/metro_driver/print_handler.h"
7 7
8 #include <stddef.h>
8 #include <windows.graphics.display.h> 9 #include <windows.graphics.display.h>
9 10
10 #include "base/bind.h" 11 #include "base/bind.h"
11 #include "base/logging.h" 12 #include "base/logging.h"
12 #include "base/numerics/safe_conversions.h" 13 #include "base/numerics/safe_conversions.h"
13 #include "chrome/app/chrome_command_ids.h" 14 #include "chrome/app/chrome_command_ids.h"
14 #include "win8/metro_driver/chrome_app_view.h" 15 #include "win8/metro_driver/chrome_app_view.h"
15 #include "win8/metro_driver/winrt_utils.h" 16 #include "win8/metro_driver/winrt_utils.h"
16 17
17 namespace { 18 namespace {
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 482
482 metro_driver::PrintHandler::AddPage(page_number, metafile_stream.Get()); 483 metro_driver::PrintHandler::AddPage(page_number, metafile_stream.Get());
483 } else { 484 } else {
484 NOTREACHED() << "Failed to CreateStreamOnHGlobal " << std::hex << hr; 485 NOTREACHED() << "Failed to CreateStreamOnHGlobal " << std::hex << hr;
485 } 486 }
486 } 487 }
487 488
488 void MetroShowPrintUI() { 489 void MetroShowPrintUI() {
489 metro_driver::PrintHandler::ShowPrintUI(); 490 metro_driver::PrintHandler::ShowPrintUI();
490 } 491 }
OLDNEW
« no previous file with comments | « win8/metro_driver/print_handler.h ('k') | win8/test/open_with_dialog_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698