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

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

Issue 8536034: More stub cleanup (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge Created 9 years, 1 month 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
« 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) 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"
8 #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"
9 #include "ui/gfx/native_widget_types.h"
10
11 #if defined(OS_WIN)
9 #include "chrome/browser/first_run/first_run.h" 12 #include "chrome/browser/first_run/first_run.h"
10 #include "chrome/browser/first_run/first_run_import_observer.h" 13 #include "chrome/browser/first_run/first_run_import_observer.h"
11 #include "chrome/browser/importer/importer_progress_dialog.h"
12 #include "chrome/browser/ui/views/first_run_bubble.h" 14 #include "chrome/browser/ui/views/first_run_bubble.h"
13 #include "ui/gfx/native_widget_types.h" 15 #else
14
15 #if !defined(OS_WIN)
16 #include "chrome/browser/ui/gtk/certificate_dialogs.h" 16 #include "chrome/browser/ui/gtk/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 namespace crypto { 26
27 class CryptoModuleBlockingPasswordDelegate;
28 }
29 namespace net { 27 namespace net {
30 class SSLCertRequestInfo; 28 class SSLCertRequestInfo;
31 class X509Certificate; 29 class X509Certificate;
32 } 30 }
33 namespace views { 31 namespace views {
34 class Widget; 32 class Widget;
35 } 33 }
36 34
37 namespace browser { 35 namespace browser {
38 36
(...skipping 14 matching lines...) Expand all
53 51
54 #if defined(USE_NSS) 52 #if defined(USE_NSS)
55 crypto::CryptoModuleBlockingPasswordDelegate* 53 crypto::CryptoModuleBlockingPasswordDelegate*
56 NewCryptoModuleBlockingDialogDelegate( 54 NewCryptoModuleBlockingDialogDelegate(
57 CryptoModulePasswordReason reason, 55 CryptoModulePasswordReason reason,
58 const std::string& server) { 56 const std::string& server) {
59 // TODO(saintlou): 57 // TODO(saintlou):
60 NOTIMPLEMENTED(); 58 NOTIMPLEMENTED();
61 return NULL; 59 return NULL;
62 } 60 }
63 #endif
64 61
65 #if !defined(OS_WIN)
66 void ShowCryptoModulePasswordDialog( 62 void ShowCryptoModulePasswordDialog(
67 const std::string& module_name, 63 const std::string& module_name,
68 bool retry, 64 bool retry,
69 CryptoModulePasswordReason reason, 65 CryptoModulePasswordReason reason,
70 const std::string& server, 66 const std::string& server,
71 const CryptoModulePasswordCallback& callback) { 67 const CryptoModulePasswordCallback& callback) {
72 // TODO(saintlou): 68 // TODO(saintlou):
73 NOTIMPLEMENTED(); 69 NOTIMPLEMENTED();
74 } 70 }
75 #endif 71 #endif
76 72
77 } // namespace browser 73 } // namespace browser
78 74
79 #if defined(OS_WIN) 75 #if defined(OS_WIN)
80 void ShowCertificateViewer(gfx::NativeWindow parent, 76 void ShowCertificateViewer(gfx::NativeWindow parent,
81 net::X509Certificate* cert) { 77 net::X509Certificate* cert) {
82 // No certificate viewer on Windows. 78 // No certificate viewer on Windows.
83 } 79 }
84 #endif
85 80
86 // static 81 // static
87 FirstRunBubble* FirstRunBubble::Show( 82 FirstRunBubble* FirstRunBubble::Show(
88 Profile* profile, 83 Profile* profile,
89 views::Widget* parent, 84 views::Widget* parent,
90 const gfx::Rect& position_relative_to, 85 const gfx::Rect& position_relative_to,
91 views::BubbleBorder::ArrowLocation arrow_location, 86 views::BubbleBorder::ArrowLocation arrow_location,
92 FirstRun::BubbleType bubble_type) { 87 FirstRun::BubbleType bubble_type) {
93 // TODO(beng); 88 // TODO(beng);
94 NOTIMPLEMENTED(); 89 NOTIMPLEMENTED();
95 return NULL; 90 return NULL;
96 } 91 }
97 92 #else
98 #if !defined(OS_WIN)
99 void ShowCertSelectFileDialog(SelectFileDialog* select_file_dialog, 93 void ShowCertSelectFileDialog(SelectFileDialog* select_file_dialog,
100 SelectFileDialog::Type type, 94 SelectFileDialog::Type type,
101 const FilePath& suggested_path, 95 const FilePath& suggested_path,
102 TabContents* tab_contents, 96 TabContents* tab_contents,
103 gfx::NativeWindow parent, 97 gfx::NativeWindow parent,
104 void* params) { 98 void* params) {
105 // TODO(saintlou); 99 // TODO(saintlou);
106 NOTIMPLEMENTED(); 100 NOTIMPLEMENTED();
107 } 101 }
108 102
109 void ShowCertExportDialog(TabContents* tab_contents, 103 void ShowCertExportDialog(TabContents* tab_contents,
110 gfx::NativeWindow parent, 104 gfx::NativeWindow parent,
111 net::X509Certificate::OSCertHandle cert) { 105 net::X509Certificate::OSCertHandle cert) {
112 // TODO(saintlou); 106 // TODO(saintlou);
113 NOTIMPLEMENTED(); 107 NOTIMPLEMENTED();
114 } 108 }
115 #endif 109 #endif // OS_WIN
116 110
117 namespace importer { 111 namespace importer {
118 112
119 void ShowImportProgressDialog(gfx::NativeWindow parent_window, 113 void ShowImportProgressDialog(gfx::NativeWindow parent_window,
120 uint16 items, 114 uint16 items,
121 ImporterHost* importer_host, 115 ImporterHost* importer_host,
122 ImporterObserver* importer_observer, 116 ImporterObserver* importer_observer,
123 const SourceProfile& source_profile, 117 const SourceProfile& source_profile,
124 Profile* target_profile, 118 Profile* target_profile,
125 bool first_run) { 119 bool first_run) {
126 // TODO(beng); 120 // TODO(beng);
127 NOTIMPLEMENTED(); 121 NOTIMPLEMENTED();
128 } 122 }
129 123
130 } // namespace importer 124 } // namespace importer
131 125
132 // static 126 // static
133 void ExternalProtocolHandler::RunExternalProtocolDialog( 127 void ExternalProtocolHandler::RunExternalProtocolDialog(
134 const GURL& url, int render_process_host_id, int routing_id) { 128 const GURL& url, int render_process_host_id, int routing_id) {
135 } 129 }
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