OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/logging.h" | 5 #include "base/logging.h" |
6 | 6 |
7 #include "chrome/browser/external_protocol/external_protocol_handler.h" | 7 #include "chrome/browser/external_protocol/external_protocol_handler.h" |
8 #include "chrome/browser/importer/importer_progress_dialog.h" | 8 #include "chrome/browser/importer/importer_progress_dialog.h" |
9 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
10 | 10 |
11 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
12 #include "chrome/browser/first_run/first_run.h" | 12 #include "chrome/browser/first_run/first_run.h" |
13 #include "chrome/browser/first_run/first_run_import_observer.h" | 13 #include "chrome/browser/first_run/first_run_import_observer.h" |
14 #include "chrome/browser/ui/views/first_run_bubble.h" | 14 #include "chrome/browser/ui/views/first_run_bubble.h" |
15 #else | 15 #else |
16 #include "chrome/browser/ui/gtk/certificate_dialogs.h" | 16 #include "chrome/browser/ui/certificate_dialogs.h" |
17 #endif | 17 #endif |
18 | 18 |
19 #if defined(USE_NSS) | 19 #if defined(USE_NSS) |
20 #include "chrome/browser/ui/crypto_module_password_dialog.h" | 20 #include "chrome/browser/ui/crypto_module_password_dialog.h" |
21 #endif | 21 #endif |
22 | 22 |
23 class SSLClientAuthHandler; | 23 class SSLClientAuthHandler; |
24 class TabContents; | 24 class TabContents; |
25 class TabContentsWrapper; | 25 class TabContentsWrapper; |
26 | 26 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 FirstRunBubble* FirstRunBubble::Show( | 82 FirstRunBubble* FirstRunBubble::Show( |
83 Profile* profile, | 83 Profile* profile, |
84 views::Widget* parent, | 84 views::Widget* parent, |
85 const gfx::Rect& position_relative_to, | 85 const gfx::Rect& position_relative_to, |
86 views::BubbleBorder::ArrowLocation arrow_location, | 86 views::BubbleBorder::ArrowLocation arrow_location, |
87 FirstRun::BubbleType bubble_type) { | 87 FirstRun::BubbleType bubble_type) { |
88 // TODO(beng); | 88 // TODO(beng); |
89 NOTIMPLEMENTED(); | 89 NOTIMPLEMENTED(); |
90 return NULL; | 90 return NULL; |
91 } | 91 } |
92 #else | |
93 void ShowCertSelectFileDialog(SelectFileDialog* select_file_dialog, | |
94 SelectFileDialog::Type type, | |
95 const FilePath& suggested_path, | |
96 TabContents* tab_contents, | |
97 gfx::NativeWindow parent, | |
98 void* params) { | |
99 // TODO(saintlou); | |
100 NOTIMPLEMENTED(); | |
101 } | |
102 | |
103 void ShowCertExportDialog(TabContents* tab_contents, | |
104 gfx::NativeWindow parent, | |
105 net::X509Certificate::OSCertHandle cert) { | |
106 // TODO(saintlou); | |
107 NOTIMPLEMENTED(); | |
108 } | |
109 #endif // OS_WIN | 92 #endif // OS_WIN |
110 | 93 |
111 namespace importer { | 94 namespace importer { |
112 | 95 |
113 void ShowImportProgressDialog(gfx::NativeWindow parent_window, | 96 void ShowImportProgressDialog(gfx::NativeWindow parent_window, |
114 uint16 items, | 97 uint16 items, |
115 ImporterHost* importer_host, | 98 ImporterHost* importer_host, |
116 ImporterObserver* importer_observer, | 99 ImporterObserver* importer_observer, |
117 const SourceProfile& source_profile, | 100 const SourceProfile& source_profile, |
118 Profile* target_profile, | 101 Profile* target_profile, |
119 bool first_run) { | 102 bool first_run) { |
120 // TODO(beng); | 103 // TODO(beng); |
121 NOTIMPLEMENTED(); | 104 NOTIMPLEMENTED(); |
122 } | 105 } |
123 | 106 |
124 } // namespace importer | 107 } // namespace importer |
125 | 108 |
126 // static | 109 // static |
127 void ExternalProtocolHandler::RunExternalProtocolDialog( | 110 void ExternalProtocolHandler::RunExternalProtocolDialog( |
128 const GURL& url, int render_process_host_id, int routing_id) { | 111 const GURL& url, int render_process_host_id, int routing_id) { |
129 } | 112 } |
OLD | NEW |