diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-04 22:02:30 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-04 22:02:30 +0000 |
commit | 177ac431c361d9bcec1350d3f622ae82b471f1ae (patch) | |
tree | 9c97fa42f998c9281abb7b4c576962880813c62c /chrome/browser | |
parent | 149c7c9d39c7c60d5057194313c2b278242d1d0f (diff) | |
download | chromium_src-177ac431c361d9bcec1350d3f622ae82b471f1ae.zip chromium_src-177ac431c361d9bcec1350d3f622ae82b471f1ae.tar.gz chromium_src-177ac431c361d9bcec1350d3f622ae82b471f1ae.tar.bz2 |
Linux views: Hook up gtk certificate viewer to page info window.
BUG=18119
TEST=load https site, click page info then certificate info button.
Review URL: http://codereview.chromium.org/669030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40669 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/views/page_info_window_view.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/views/page_info_window_view.cc b/chrome/browser/views/page_info_window_view.cc index 199ecd7..9f0a197 100644 --- a/chrome/browser/views/page_info_window_view.cc +++ b/chrome/browser/views/page_info_window_view.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -35,6 +35,8 @@ #if defined(OS_WIN) #include "app/win_util.h" +#elif defined(OS_LINUX) +#include "chrome/browser/gtk/certificate_viewer.h" #endif namespace { @@ -357,6 +359,8 @@ void PageInfoWindowView::ShowCertDialog(int cert_id) { // This next call blocks but keeps processing windows messages, making it // modal to the browser window. BOOL rv = ::CryptUIDlgViewCertificate(&view_info, &properties_changed); +#elif defined(OS_LINUX) + ShowCertificateViewer(window()->GetNativeWindow(), cert_id); #else NOTIMPLEMENTED(); #endif |