| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 5ad781c63e1c0d52ad5d5abeda232e7c3ee7c987..400b7d487b048cdf468167e32bff30ae4aa0b4a4 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -1374,6 +1374,14 @@ content::SecurityStyle Browser::GetSecurityStyle(
|
| return security_info.security_style;
|
| }
|
|
|
| +void Browser::ShowCertificateViewerInDevTools(
|
| + content::WebContents* web_contents, int cert_id) {
|
| + DevToolsWindow* devtools_window =
|
| + DevToolsWindow::GetInstanceForInspectedWebContents(web_contents);
|
| + if (devtools_window)
|
| + devtools_window->ShowCertificateViewer(cert_id);
|
| +}
|
| +
|
| bool Browser::IsMouseLocked() const {
|
| return exclusive_access_manager_->mouse_lock_controller()->IsMouseLocked();
|
| }
|
|
|