| 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..b4fad2012a1fcad186c3f65912d823ec6435dd7a 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(OS_WIN)
|
| +#include "chrome/browser/ui/gtk/certificate_dialogs.h"
|
| +#endif
|
| +
|
| +#if defined(USE_NSS)
|
| +#include "chrome/browser/ui/crypto_module_password_dialog.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_WIN)
|
| +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_WIN)
|
| +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_WIN)
|
| +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,
|
|
|