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_PRINTING_PRINT_ERROR_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_ERROR_DIALOG_H_ |
6 #define CHROME_BROWSER_PRINTING_PRINT_ERROR_DIALOG_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINT_ERROR_DIALOG_H_ |
7 | 7 |
8 #include "ui/gfx/native_widget_types.h" | |
9 | |
10 namespace chrome { | 8 namespace chrome { |
11 | 9 |
12 // Shows a window-modal error that printing failed for some unknown reason. | 10 // Shows a window-modal error that printing failed for some unknown reason. |
13 void ShowPrintErrorDialog(gfx::NativeWindow parent); | 11 // TODO(vitalybuka, crbug.com/351550): Should be replaced with better UI. |
| 12 void ShowPrintErrorDialog(); |
14 | 13 |
15 } // namespace chrome | 14 } // namespace chrome |
16 | 15 |
17 #endif // CHROME_BROWSER_PRINTING_PRINT_ERROR_DIALOG_H_ | 16 #endif // CHROME_BROWSER_PRINTING_PRINT_ERROR_DIALOG_H_ |
OLD | NEW |