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

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

Issue 8543001: move chrome/browser/ui/gtk/certificate_viewer.* to chrome/browser/ui, add it to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort and rebase 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 | Annotate | Revision Log
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/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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 70 }
71 #endif 71 #endif
72 72
73 } // namespace browser 73 } // namespace browser
74 74
75 #if defined(OS_WIN) 75 #if defined(OS_WIN)
76 void ShowCertificateViewer(gfx::NativeWindow parent, 76 void ShowCertificateViewer(gfx::NativeWindow parent,
77 net::X509Certificate* cert) { 77 net::X509Certificate* cert) {
78 // No certificate viewer on Windows. 78 // No certificate viewer on Windows.
79 } 79 }
80
81 #else
82 void ShowCertSelectFileDialog(SelectFileDialog* select_file_dialog,
83 SelectFileDialog::Type type,
84 const FilePath& suggested_path,
85 TabContents* tab_contents,
86 gfx::NativeWindow parent,
87 void* params) {
88 // TODO(saintlou);
89 NOTIMPLEMENTED();
90 }
91
92 void ShowCertExportDialog(TabContents* tab_contents,
93 gfx::NativeWindow parent,
94 net::X509Certificate::OSCertHandle cert) {
95 // TODO(saintlou);
96 NOTIMPLEMENTED();
97 }
98 #endif // OS_WIN 80 #endif // OS_WIN
99 81
100 namespace importer { 82 namespace importer {
101 83
102 void ShowImportProgressDialog(gfx::NativeWindow parent_window, 84 void ShowImportProgressDialog(gfx::NativeWindow parent_window,
103 uint16 items, 85 uint16 items,
104 ImporterHost* importer_host, 86 ImporterHost* importer_host,
105 ImporterObserver* importer_observer, 87 ImporterObserver* importer_observer,
106 const SourceProfile& source_profile, 88 const SourceProfile& source_profile,
107 Profile* target_profile, 89 Profile* target_profile,
108 bool first_run) { 90 bool first_run) {
109 // TODO(beng); 91 // TODO(beng);
110 NOTIMPLEMENTED(); 92 NOTIMPLEMENTED();
111 } 93 }
112 94
113 } // namespace importer 95 } // namespace importer
114 96
115 // static 97 // static
116 void ExternalProtocolHandler::RunExternalProtocolDialog( 98 void ExternalProtocolHandler::RunExternalProtocolDialog(
117 const GURL& url, int render_process_host_id, int routing_id) { 99 const GURL& url, int render_process_host_id, int routing_id) {
118 } 100 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/certificate_viewer.cc ('k') | chrome/browser/ui/webui/certificate_viewer_webui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698