| OLD | NEW |
| 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 #ifndef CHROME_BROWSER_UI_METRO_DRIVER_PRINT_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_METRO_DRIVER_PRINT_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_METRO_DRIVER_PRINT_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_METRO_DRIVER_PRINT_HANDLER_H_ |
| 7 | 7 |
| 8 #include <windows.media.playto.h> | 8 #include <windows.media.playto.h> |
| 9 #include <stddef.h> |
| 9 #include <windows.graphics.printing.h> | 10 #include <windows.graphics.printing.h> |
| 10 #include <windows.ui.core.h> | 11 #include <windows.ui.core.h> |
| 11 | 12 |
| 12 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
| 13 #include "base/threading/thread.h" | 14 #include "base/threading/thread.h" |
| 14 #include "win8/metro_driver/print_document_source.h" | 15 #include "win8/metro_driver/print_document_source.h" |
| 15 #include "win8/metro_driver/winrt_utils.h" | 16 #include "win8/metro_driver/winrt_utils.h" |
| 16 | 17 |
| 17 namespace base { | 18 namespace base { |
| 18 | 19 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 108 |
| 108 extern "C" __declspec(dllexport) | 109 extern "C" __declspec(dllexport) |
| 109 void MetroSetPrintPageContent(size_t current_page, | 110 void MetroSetPrintPageContent(size_t current_page, |
| 110 void* data, | 111 void* data, |
| 111 size_t data_size); | 112 size_t data_size); |
| 112 | 113 |
| 113 extern "C" __declspec(dllexport) | 114 extern "C" __declspec(dllexport) |
| 114 void MetroShowPrintUI(); | 115 void MetroShowPrintUI(); |
| 115 | 116 |
| 116 #endif // CHROME_BROWSER_UI_METRO_DRIVER_PRINT_HANDLER_H_ | 117 #endif // CHROME_BROWSER_UI_METRO_DRIVER_PRINT_HANDLER_H_ |
| OLD | NEW |