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

Side by Side Diff: chrome/browser/ui/views/crypto_module_password_dialog_view.cc

Issue 15673004: Remove the crypto module password dialog extra border. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove debugging code. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/views/crypto_module_password_dialog_view.h" 5 #include "chrome/browser/ui/views/crypto_module_password_dialog_view.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "grit/generated_resources.h" 8 #include "grit/generated_resources.h"
9 #include "ui/base/events/event.h" 9 #include "ui/base/events/event.h"
10 #include "ui/base/l10n/l10n_util.h" 10 #include "ui/base/l10n/l10n_util.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 } 149 }
150 150
151 void ShowCryptoModulePasswordDialog( 151 void ShowCryptoModulePasswordDialog(
152 const std::string& slot_name, 152 const std::string& slot_name,
153 bool retry, 153 bool retry,
154 CryptoModulePasswordReason reason, 154 CryptoModulePasswordReason reason,
155 const std::string& server, 155 const std::string& server,
156 const CryptoModulePasswordCallback& callback) { 156 const CryptoModulePasswordCallback& callback) {
157 CryptoModulePasswordDialogView* dialog = 157 CryptoModulePasswordDialogView* dialog =
158 new CryptoModulePasswordDialogView(slot_name, reason, server, callback); 158 new CryptoModulePasswordDialogView(slot_name, reason, server, callback);
159 views::Widget::CreateWindow(dialog)->Show(); 159 views::DialogDelegate::CreateDialogWidget(dialog, NULL, NULL)->Show();
160 } 160 }
161 161
162 } // namespace chrome 162 } // namespace chrome
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698