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/bookmarks/bookmark_editor.h" | 7 #include "chrome/browser/bookmarks/bookmark_editor.h" |
8 #include "chrome/browser/external_protocol/external_protocol_handler.h" | 8 #include "chrome/browser/external_protocol/external_protocol_handler.h" |
9 #include "chrome/browser/first_run/first_run.h" | 9 #include "chrome/browser/first_run/first_run.h" |
10 #include "chrome/browser/first_run/first_run_import_observer.h" | 10 #include "chrome/browser/first_run/first_run_import_observer.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 class Widget; | 34 class Widget; |
35 } | 35 } |
36 | 36 |
37 #if !defined(OS_WIN) | 37 #if !defined(OS_WIN) |
38 class EditSearchEngineControllerDelegate; | 38 class EditSearchEngineControllerDelegate; |
39 class TemplateURL; | 39 class TemplateURL; |
40 #endif | 40 #endif |
41 | 41 |
42 namespace browser { | 42 namespace browser { |
43 | 43 |
44 // Declared in browser_dialogs.h so others don't need to depend on our header. | |
45 void ShowTaskManager() { | |
46 // TODO(beng): | |
47 NOTIMPLEMENTED(); | |
48 } | |
49 | |
50 void ShowBackgroundPages() { | |
51 // TODO(beng): | |
52 NOTIMPLEMENTED(); | |
53 } | |
54 | |
55 void ShowCollectedCookiesDialog(gfx::NativeWindow parent_window, | |
56 TabContentsWrapper* tab_contents) { | |
57 // TODO(beng): | |
58 NOTIMPLEMENTED(); | |
59 } | |
60 | |
61 void ShowSSLClientCertificateSelector( | 44 void ShowSSLClientCertificateSelector( |
62 TabContentsWrapper* parent, | 45 TabContentsWrapper* parent, |
63 net::SSLCertRequestInfo* cert_request_info, | 46 net::SSLCertRequestInfo* cert_request_info, |
64 SSLClientAuthHandler* delegate) { | 47 SSLClientAuthHandler* delegate) { |
65 // TODO(beng): | 48 // TODO(beng): |
66 NOTIMPLEMENTED(); | 49 NOTIMPLEMENTED(); |
67 } | 50 } |
68 | 51 |
69 void ShowAboutIPCDialog() { | 52 void ShowAboutIPCDialog() { |
70 // TODO(beng): | 53 // TODO(beng): |
71 NOTIMPLEMENTED(); | 54 NOTIMPLEMENTED(); |
72 } | 55 } |
73 | 56 |
74 gfx::Rect GrabWindowSnapshot(gfx::NativeWindow window, | |
75 std::vector<unsigned char>* png_representation) { | |
76 // TODO(beng): | |
77 NOTIMPLEMENTED(); | |
78 return gfx::Rect(); | |
79 } | |
80 | |
81 void ShowHungRendererDialog(TabContents* contents) { | |
82 // TODO(beng): | |
83 NOTIMPLEMENTED(); | |
84 } | |
85 | |
86 void HideHungRendererDialog(TabContents* contents) { | |
87 // TODO(beng): | |
88 NOTIMPLEMENTED(); | |
89 } | |
90 | |
91 #if defined(USE_NSS) | 57 #if defined(USE_NSS) |
92 crypto::CryptoModuleBlockingPasswordDelegate* | 58 crypto::CryptoModuleBlockingPasswordDelegate* |
93 NewCryptoModuleBlockingDialogDelegate( | 59 NewCryptoModuleBlockingDialogDelegate( |
94 CryptoModulePasswordReason reason, | 60 CryptoModulePasswordReason reason, |
95 const std::string& server) { | 61 const std::string& server) { |
96 // TODO(saintlou): | 62 // TODO(saintlou): |
97 NOTIMPLEMENTED(); | 63 NOTIMPLEMENTED(); |
98 return NULL; | 64 return NULL; |
99 } | 65 } |
100 #endif | 66 #endif |
101 | 67 |
102 #if !defined(OS_WIN) | 68 #if !defined(OS_WIN) |
103 void EditSearchEngine( | 69 void EditSearchEngine( |
104 gfx::NativeWindow, | 70 gfx::NativeWindow, |
105 const TemplateURL*, | 71 const TemplateURL*, |
106 EditSearchEngineControllerDelegate*, | 72 EditSearchEngineControllerDelegate*, |
107 Profile*) { | 73 Profile*) { |
108 // TODO(saintlou): | 74 // TODO(saintlou): |
109 NOTIMPLEMENTED(); | 75 NOTIMPLEMENTED(); |
110 } | 76 } |
111 | 77 |
112 void ShowRepostFormWarningDialog(gfx::NativeWindow parent_window, | 78 void ShowCryptoModulePasswordDialog( |
113 TabContents* tab_contents) { | 79 const std::string& module_name, |
| 80 bool retry, |
| 81 CryptoModulePasswordReason reason, |
| 82 const std::string& server, |
| 83 const CryptoModulePasswordCallback& callback) { |
114 // TODO(saintlou): | 84 // TODO(saintlou): |
115 NOTIMPLEMENTED(); | 85 NOTIMPLEMENTED(); |
116 } | 86 } |
117 | |
118 void ShowCryptoModulePasswordDialog(const std::string& module_name, | |
119 bool retry, | |
120 CryptoModulePasswordReason reason, | |
121 const std::string& server, | |
122 const CryptoModulePasswordCallback& callback) { | |
123 // TODO(saintlou): | |
124 NOTIMPLEMENTED(); | |
125 } | |
126 #endif | 87 #endif |
127 | 88 |
128 } // namespace browser | 89 } // namespace browser |
129 | 90 |
130 | 91 |
131 void ShowCertificateViewer(gfx::NativeWindow parent, | 92 void ShowCertificateViewer(gfx::NativeWindow parent, |
132 net::X509Certificate* cert) { | 93 net::X509Certificate* cert) { |
133 // TODO(beng); | 94 // TODO(beng); |
134 NOTIMPLEMENTED(); | 95 NOTIMPLEMENTED(); |
135 } | 96 } |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 // TODO(beng); | 138 // TODO(beng); |
178 NOTIMPLEMENTED(); | 139 NOTIMPLEMENTED(); |
179 } | 140 } |
180 | 141 |
181 } // namespace importer | 142 } // namespace importer |
182 | 143 |
183 // static | 144 // static |
184 void ExternalProtocolHandler::RunExternalProtocolDialog( | 145 void ExternalProtocolHandler::RunExternalProtocolDialog( |
185 const GURL& url, int render_process_host_id, int routing_id) { | 146 const GURL& url, int render_process_host_id, int routing_id) { |
186 } | 147 } |
OLD | NEW |