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

Unified Diff: chrome/browser/ui/webui/certificate_viewer_webui.cc

Issue 15894032: Change Certificate Viewer WebUI to match new style. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Documentation Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/certificate_viewer.html ('k') | ui/webui/resources/css/tabs.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/certificate_viewer_webui.cc
diff --git a/chrome/browser/ui/webui/certificate_viewer_webui.cc b/chrome/browser/ui/webui/certificate_viewer_webui.cc
index 19c2822fc281e251de34674c827a8a88b0c12e36..e5b2a0e7c1641937e5128dc71da9973607ae1440 100644
--- a/chrome/browser/ui/webui/certificate_viewer_webui.cc
+++ b/chrome/browser/ui/webui/certificate_viewer_webui.cc
@@ -28,14 +28,6 @@ using content::WebUIMessageHandler;
using ui::WebDialogObserver;
using web_modal::NativeWebContentsModalDialog;
-namespace {
-
-// Default width/height of the dialog.
-const int kDefaultWidth = 580;
-const int kDefaultHeight = 600;
-
-} // namespace
-
// Shows a certificate using the WebUI certificate viewer.
void ShowCertificateViewer(WebContents* web_contents,
gfx::NativeWindow parent,
@@ -98,6 +90,8 @@ void CertificateViewerDialog::GetWebUIMessageHandlers(
}
void CertificateViewerDialog::GetDialogSize(gfx::Size* size) const {
+ const int kDefaultWidth = 544;
+ const int kDefaultHeight = 628;
size->SetSize(kDefaultWidth, kDefaultHeight);
}
« no previous file with comments | « chrome/browser/resources/certificate_viewer.html ('k') | ui/webui/resources/css/tabs.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698