NaCl: Update revision in DEPS, r12770 -> r12773
[chromium-blink-merge.git] / chrome / browser / printing / print_error_dialog.cc
blob5b57b08db83939c148e0a8448b5cbfdc1d9d0ee0
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
3 // found in the LICENSE file.
5 #include "chrome/browser/printing/print_error_dialog.h"
7 #include "chrome/browser/ui/simple_message_box.h"
8 #include "grit/generated_resources.h"
9 #include "ui/base/l10n/l10n_util.h"
11 namespace chrome {
13 void ShowPrintErrorDialog(gfx::NativeWindow parent) {
14 ShowMessageBox(parent,
15 l10n_util::GetStringUTF16(IDS_PRINT_SPOOL_FAILED_TITLE_TEXT),
16 l10n_util::GetStringUTF16(IDS_PRINT_SPOOL_FAILED_ERROR_TEXT),
17 MESSAGE_BOX_TYPE_WARNING);
20 } // namespace chrome