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

Side by Side Diff: chrome/browser/chromeos/app_mode/certificate_manager_dialog.cc

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/chromeos/app_mode/certificate_manager_dialog.h" 5 #include "chrome/browser/chromeos/app_mode/certificate_manager_dialog.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/browser/chromeos/login/helper.h" 8 #include "chrome/browser/chromeos/login/helper.h"
9 #include "chrome/browser/profiles/profile_manager.h" 9 #include "chrome/browser/profiles/profile_manager.h"
10 #include "chrome/browser/ui/browser_dialogs.h" 10 #include "chrome/browser/ui/browser_dialogs.h"
11 #include "chrome/common/url_constants.h" 11 #include "chrome/common/url_constants.h"
12 #include "chrome/grit/generated_resources.h" 12 #include "chrome/grit/generated_resources.h"
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
15 #include "ui/gfx/geometry/rect.h" 15 #include "ui/gfx/geometry/rect.h"
16 #include "ui/gfx/size.h" 16 #include "ui/gfx/geometry/size.h"
17 #include "ui/views/controls/webview/web_dialog_view.h" 17 #include "ui/views/controls/webview/web_dialog_view.h"
18 18
19 namespace { 19 namespace {
20 20
21 // Hints for size of certificate manager dialog. 21 // Hints for size of certificate manager dialog.
22 const int kCertificateManagerDialogReasonableWidth = 712; 22 const int kCertificateManagerDialogReasonableWidth = 712;
23 const int kCertificateManagerDialogReasonableHeight = 412; 23 const int kCertificateManagerDialogReasonableHeight = 412;
24 const float kCertificateManagerDialogReasonableWidthRatio = 0.4f; 24 const float kCertificateManagerDialogReasonableWidthRatio = 0.4f;
25 const float kCertificateManagerDialogReasonableHeightRatio = 0.4f; 25 const float kCertificateManagerDialogReasonableHeightRatio = 0.4f;
26 26
(...skipping 27 matching lines...) Expand all
54 kCertificateManagerDialogReasonableHeightRatio)); 54 kCertificateManagerDialogReasonableHeightRatio));
55 55
56 SetDialogTitle(l10n_util::GetStringUTF16(IDS_CERTIFICATE_MANAGER_TITLE)); 56 SetDialogTitle(l10n_util::GetStringUTF16(IDS_CERTIFICATE_MANAGER_TITLE));
57 } 57 }
58 58
59 CertificateManagerDialog::~CertificateManagerDialog() { 59 CertificateManagerDialog::~CertificateManagerDialog() {
60 } 60 }
61 61
62 62
63 } // namespace chromeos 63 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698