OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/views/page_info_window.h" | 5 #include "chrome/browser/views/page_info_window.h" |
6 | 6 |
7 #include <cryptuiapi.h> | 7 #include <cryptuiapi.h> |
8 #pragma comment(lib, "cryptui.lib") | 8 #pragma comment(lib, "cryptui.lib") |
9 | 9 |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
11 #include "base/time_format.h" | 11 #include "base/time_format.h" |
12 #include "chrome/app/locales/locale_settings.h" | 12 #include "chrome/app/locales/locale_settings.h" |
13 #include "chrome/app/theme/theme_resources.h" | 13 #include "grit/theme_resources.h" |
14 #include "chrome/browser/browser_process.h" | 14 #include "chrome/browser/browser_process.h" |
15 #include "chrome/browser/cert_store.h" | 15 #include "chrome/browser/cert_store.h" |
16 #include "chrome/browser/history/history.h" | 16 #include "chrome/browser/history/history.h" |
17 #include "chrome/browser/profile.h" | 17 #include "chrome/browser/profile.h" |
18 #include "chrome/browser/ssl/ssl_manager.h" | 18 #include "chrome/browser/ssl/ssl_manager.h" |
19 #include "chrome/browser/views/standard_layout.h" | 19 #include "chrome/browser/views/standard_layout.h" |
20 #include "chrome/common/l10n_util.h" | 20 #include "chrome/common/l10n_util.h" |
21 #include "chrome/common/pref_names.h" | 21 #include "chrome/common/pref_names.h" |
22 #include "chrome/common/pref_service.h" | 22 #include "chrome/common/pref_service.h" |
23 #include "chrome/common/resource_bundle.h" | 23 #include "chrome/common/resource_bundle.h" |
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 HCERTSTORE cert_store = view_info.pCertContext->hCertStore; | 678 HCERTSTORE cert_store = view_info.pCertContext->hCertStore; |
679 view_info.cStores = 1; | 679 view_info.cStores = 1; |
680 view_info.rghStores = &cert_store; | 680 view_info.rghStores = &cert_store; |
681 BOOL properties_changed; | 681 BOOL properties_changed; |
682 | 682 |
683 // This next call blocks but keeps processing windows messages, making it | 683 // This next call blocks but keeps processing windows messages, making it |
684 // modal to the browser window. | 684 // modal to the browser window. |
685 BOOL rv = ::CryptUIDlgViewCertificate(&view_info, &properties_changed); | 685 BOOL rv = ::CryptUIDlgViewCertificate(&view_info, &properties_changed); |
686 } | 686 } |
687 | 687 |
OLD | NEW |