OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/browser/chromeos/app_mode/certificate_manager_dialog.h" | 5 #include "chrome/browser/chromeos/app_mode/certificate_manager_dialog.h" |
6 | 6 |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "chrome/browser/chromeos/login/helper.h" | 8 #include "chrome/browser/chromeos/login/helper.h" |
9 #include "chrome/browser/profiles/profile_manager.h" | 9 #include "chrome/browser/profiles/profile_manager.h" |
10 #include "chrome/browser/ui/browser_dialogs.h" | 10 #include "chrome/browser/ui/browser_dialogs.h" |
11 #include "chrome/common/url_constants.h" | 11 #include "chrome/common/url_constants.h" |
| 12 #include "chrome/grit/generated_resources.h" |
12 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
13 #include "grit/generated_resources.h" | |
14 #include "ui/base/l10n/l10n_util.h" | 14 #include "ui/base/l10n/l10n_util.h" |
15 #include "ui/gfx/rect.h" | 15 #include "ui/gfx/rect.h" |
16 #include "ui/gfx/size.h" | 16 #include "ui/gfx/size.h" |
17 #include "ui/views/controls/webview/web_dialog_view.h" | 17 #include "ui/views/controls/webview/web_dialog_view.h" |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
21 // Hints for size of certificate manager dialog. | 21 // Hints for size of certificate manager dialog. |
22 const int kCertificateManagerDialogReasonableWidth = 712; | 22 const int kCertificateManagerDialogReasonableWidth = 712; |
23 const int kCertificateManagerDialogReasonableHeight = 412; | 23 const int kCertificateManagerDialogReasonableHeight = 412; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 kCertificateManagerDialogReasonableHeightRatio)); | 55 kCertificateManagerDialogReasonableHeightRatio)); |
56 | 56 |
57 SetDialogTitle(l10n_util::GetStringUTF16(IDS_CERTIFICATE_MANAGER_TITLE)); | 57 SetDialogTitle(l10n_util::GetStringUTF16(IDS_CERTIFICATE_MANAGER_TITLE)); |
58 } | 58 } |
59 | 59 |
60 CertificateManagerDialog::~CertificateManagerDialog() { | 60 CertificateManagerDialog::~CertificateManagerDialog() { |
61 } | 61 } |
62 | 62 |
63 | 63 |
64 } // namespace chromeos | 64 } // namespace chromeos |
OLD | NEW |