OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 | 6 |
7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <cryptuiapi.h> | 9 #include <cryptuiapi.h> |
10 #pragma comment(lib, "cryptui.lib") | 10 #pragma comment(lib, "cryptui.lib") |
11 #endif | 11 #endif |
12 | 12 |
13 #include "app/resource_bundle.h" | 13 #include "app/resource_bundle.h" |
14 #include "app/l10n_util.h" | 14 #include "app/l10n_util.h" |
15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
16 #include "base/string_util.h" | 16 #include "base/utf_string_conversions.h" |
17 #include "chrome/browser/cert_store.h" | 17 #include "chrome/browser/cert_store.h" |
18 #include "chrome/browser/page_info_model.h" | 18 #include "chrome/browser/page_info_model.h" |
19 #include "chrome/browser/page_info_window.h" | 19 #include "chrome/browser/page_info_window.h" |
20 #include "chrome/common/pref_names.h" | 20 #include "chrome/common/pref_names.h" |
21 #include "grit/locale_settings.h" | 21 #include "grit/locale_settings.h" |
22 #include "grit/generated_resources.h" | 22 #include "grit/generated_resources.h" |
23 #include "grit/theme_resources.h" | 23 #include "grit/theme_resources.h" |
24 #include "net/base/x509_certificate.h" | 24 #include "net/base/x509_certificate.h" |
25 #include "views/background.h" | 25 #include "views/background.h" |
26 #include "views/grid_layout.h" | 26 #include "views/grid_layout.h" |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 Profile* profile, | 480 Profile* profile, |
481 const GURL& url, | 481 const GURL& url, |
482 const NavigationEntry::SSLStatus& ssl, | 482 const NavigationEntry::SSLStatus& ssl, |
483 bool show_history) { | 483 bool show_history) { |
484 PageInfoWindowView* page_info_window = | 484 PageInfoWindowView* page_info_window = |
485 new PageInfoWindowView(parent, profile, url, ssl, show_history); | 485 new PageInfoWindowView(parent, profile, url, ssl, show_history); |
486 page_info_window->Show(); | 486 page_info_window->Show(); |
487 } | 487 } |
488 | 488 |
489 } | 489 } |
OLD | NEW |