From 177ac431c361d9bcec1350d3f622ae82b471f1ae Mon Sep 17 00:00:00 2001 From: "mattm@chromium.org" Date: Thu, 4 Mar 2010 22:02:30 +0000 Subject: 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 --- chrome/browser/views/page_info_window_view.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'chrome/browser/views/page_info_window_view.cc') 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 -- cgit v1.1