Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: chrome/browser/views/page_info_window.cc

Issue 113169: Move win_util.h from common to app. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/views/options/cookies_view.cc ('k') | chrome/browser/views/shell_dialogs_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "app/l10n_util.h" 10 #include "app/l10n_util.h"
11 #include "app/resource_bundle.h" 11 #include "app/resource_bundle.h"
12 #include "app/win_util.h"
12 #include "base/string_util.h" 13 #include "base/string_util.h"
13 #include "base/time_format.h" 14 #include "base/time_format.h"
14 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
15 #include "chrome/browser/cert_store.h" 16 #include "chrome/browser/cert_store.h"
16 #include "chrome/browser/history/history.h" 17 #include "chrome/browser/history/history.h"
17 #include "chrome/browser/profile.h" 18 #include "chrome/browser/profile.h"
18 #include "chrome/browser/ssl/ssl_manager.h" 19 #include "chrome/browser/ssl/ssl_manager.h"
19 #include "chrome/common/pref_names.h" 20 #include "chrome/common/pref_names.h"
20 #include "chrome/common/pref_service.h" 21 #include "chrome/common/pref_service.h"
21 #include "chrome/common/win_util.h"
22 #include "grit/generated_resources.h" 22 #include "grit/generated_resources.h"
23 #include "grit/locale_settings.h" 23 #include "grit/locale_settings.h"
24 #include "grit/theme_resources.h" 24 #include "grit/theme_resources.h"
25 #include "net/base/cert_status_flags.h" 25 #include "net/base/cert_status_flags.h"
26 #include "net/base/x509_certificate.h" 26 #include "net/base/x509_certificate.h"
27 #include "skia/include/SkColor.h" 27 #include "skia/include/SkColor.h"
28 #include "views/background.h" 28 #include "views/background.h"
29 #include "views/grid_layout.h" 29 #include "views/grid_layout.h"
30 #include "views/controls/button/native_button.h" 30 #include "views/controls/button/native_button.h"
31 #include "views/controls/image_view.h" 31 #include "views/controls/image_view.h"
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 // Search the cert store that 'cert' is in when building the cert chain. 676 // Search the cert store that 'cert' is in when building the cert chain.
677 HCERTSTORE cert_store = view_info.pCertContext->hCertStore; 677 HCERTSTORE cert_store = view_info.pCertContext->hCertStore;
678 view_info.cStores = 1; 678 view_info.cStores = 1;
679 view_info.rghStores = &cert_store; 679 view_info.rghStores = &cert_store;
680 BOOL properties_changed; 680 BOOL properties_changed;
681 681
682 // This next call blocks but keeps processing windows messages, making it 682 // This next call blocks but keeps processing windows messages, making it
683 // modal to the browser window. 683 // modal to the browser window.
684 BOOL rv = ::CryptUIDlgViewCertificate(&view_info, &properties_changed); 684 BOOL rv = ::CryptUIDlgViewCertificate(&view_info, &properties_changed);
685 } 685 }
OLDNEW
« no previous file with comments | « chrome/browser/views/options/cookies_view.cc ('k') | chrome/browser/views/shell_dialogs_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698