Chromium Code Reviews| Index: chrome/browser/ui/views/stubs_aura.cc |
| diff --git a/chrome/browser/ui/views/stubs_aura.cc b/chrome/browser/ui/views/stubs_aura.cc |
| index 9d85b778b64129125edb64abe1516824a5e7439d..0e59a5585a36c53efef86da4d00e87dff4353c55 100644 |
| --- a/chrome/browser/ui/views/stubs_aura.cc |
| +++ b/chrome/browser/ui/views/stubs_aura.cc |
| @@ -12,9 +12,20 @@ |
| #include "chrome/browser/ui/views/first_run_bubble.h" |
| #include "ui/gfx/native_widget_types.h" |
| +#if defined(USE_NSS) |
|
Ben Goodger (Google)
2011/09/16 01:11:18
alphabetically sort platform-specific #defines whe
Emmanuel Saint-loubert-Bié
2011/09/16 02:34:54
Done.
|
| +#include "chrome/browser/ui/crypto_module_password_dialog.h" |
| +#endif |
| + |
| +#if !defined(OS_WINDOWS) |
| +#include "chrome/browser/ui/gtk/certificate_dialogs.h" |
| +#endif |
| + |
| class SSLClientAuthHandler; |
| class TabContents; |
| class TabContentsWrapper; |
| +namespace crypto { |
| +class CryptoModuleBlockingPasswordDelegate; |
| +} |
| namespace net { |
| class SSLCertRequestInfo; |
| class X509Certificate; |
| @@ -23,6 +34,11 @@ namespace views { |
| class Widget; |
| } |
| +#if !defined(OS_WINDOWS) |
| +class EditSearchEngineControllerDelegate; |
| +class TemplateURL; |
| +#endif |
| + |
| namespace browser { |
| // Declared in browser_dialogs.h so others don't need to depend on our header. |
| @@ -72,6 +88,43 @@ void HideHungRendererDialog(TabContents* contents) { |
| NOTIMPLEMENTED(); |
| } |
| +#if defined(USE_NSS) |
| +crypto::CryptoModuleBlockingPasswordDelegate* |
| + NewCryptoModuleBlockingDialogDelegate( |
| + CryptoModulePasswordReason reason, |
| + const std::string& server) { |
| + // TODO(saintlou): |
| + NOTIMPLEMENTED(); |
| + return NULL; |
| +} |
| +#endif |
| + |
| +#if !defined(OS_WINDOWS) |
| +void EditSearchEngine( |
| + gfx::NativeWindow, |
| + const TemplateURL*, |
| + EditSearchEngineControllerDelegate*, |
| + Profile*) { |
| + // TODO(saintlou): |
| + NOTIMPLEMENTED(); |
| +} |
| + |
| +void ShowRepostFormWarningDialog(gfx::NativeWindow parent_window, |
| + TabContents* tab_contents) { |
| + // TODO(saintlou): |
| + NOTIMPLEMENTED(); |
| +} |
| + |
| +void ShowCryptoModulePasswordDialog(const std::string& module_name, |
| + bool retry, |
| + CryptoModulePasswordReason reason, |
| + const std::string& server, |
| + CryptoModulePasswordCallback* callback) { |
| + // TODO(saintlou): |
| + NOTIMPLEMENTED(); |
| +} |
| +#endif |
| + |
| } // namespace browser |
| @@ -93,6 +146,25 @@ FirstRunBubble* FirstRunBubble::Show( |
| return NULL; |
| } |
| +#if !defined(OS_WINDOWS) |
| +void ShowCertSelectFileDialog(SelectFileDialog* select_file_dialog, |
| + SelectFileDialog::Type type, |
| + const FilePath& suggested_path, |
| + TabContents* tab_contents, |
| + gfx::NativeWindow parent, |
| + void* params) { |
| + // TODO(saintlou); |
| + NOTIMPLEMENTED(); |
| +} |
| + |
| +void ShowCertExportDialog(TabContents* tab_contents, |
| + gfx::NativeWindow parent, |
| + net::X509Certificate::OSCertHandle cert) { |
| + // TODO(saintlou); |
| + NOTIMPLEMENTED(); |
| +} |
| +#endif |
| + |
| // static |
| void BookmarkEditor::Show(gfx::NativeWindow parent_hwnd, |
| Profile* profile, |