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

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

Issue 7850026: Aura under Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Still a few linking errors to resolve. Created 9 years, 3 months 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/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"
11 #include "chrome/browser/importer/importer_progress_dialog.h" 11 #include "chrome/browser/importer/importer_progress_dialog.h"
12 #include "chrome/browser/ui/views/first_run_bubble.h" 12 #include "chrome/browser/ui/views/first_run_bubble.h"
13 #include "ui/gfx/native_widget_types.h" 13 #include "ui/gfx/native_widget_types.h"
14 14
15 #if defined(USE_NSS)
16 #include "chrome/browser/ui/crypto_module_password_dialog.h"
17 #endif
18
19 #if !defined(OS_WINDOWS)
20 #include "chrome/browser/ui/gtk/certificate_dialogs.h"
21 #endif
22
15 class SSLClientAuthHandler; 23 class SSLClientAuthHandler;
16 class TabContents; 24 class TabContents;
17 class TabContentsWrapper; 25 class TabContentsWrapper;
26 namespace crypto {
27 class CryptoModuleBlockingPasswordDelegate;
28 }
18 namespace net { 29 namespace net {
19 class SSLCertRequestInfo; 30 class SSLCertRequestInfo;
20 class X509Certificate; 31 class X509Certificate;
21 } 32 }
22 namespace views { 33 namespace views {
23 class Widget; 34 class Widget;
24 } 35 }
25 36
37 #if !defined(OS_WINDOWS)
38 class EditSearchEngineControllerDelegate;
39 class TemplateURL;
40 #endif
41
26 namespace browser { 42 namespace browser {
27 43
28 // Declared in browser_dialogs.h so others don't need to depend on our header. 44 // Declared in browser_dialogs.h so others don't need to depend on our header.
29 void ShowTaskManager() { 45 void ShowTaskManager() {
30 // TODO(beng): 46 // TODO(beng):
31 NOTIMPLEMENTED(); 47 NOTIMPLEMENTED();
32 } 48 }
33 49
34 void ShowBackgroundPages() { 50 void ShowBackgroundPages() {
35 // TODO(beng): 51 // TODO(beng):
(...skipping 29 matching lines...) Expand all
65 void ShowHungRendererDialog(TabContents* contents) { 81 void ShowHungRendererDialog(TabContents* contents) {
66 // TODO(beng): 82 // TODO(beng):
67 NOTIMPLEMENTED(); 83 NOTIMPLEMENTED();
68 } 84 }
69 85
70 void HideHungRendererDialog(TabContents* contents) { 86 void HideHungRendererDialog(TabContents* contents) {
71 // TODO(beng): 87 // TODO(beng):
72 NOTIMPLEMENTED(); 88 NOTIMPLEMENTED();
73 } 89 }
74 90
91 #if defined(USE_NSS)
92 crypto::CryptoModuleBlockingPasswordDelegate*
93 NewCryptoModuleBlockingDialogDelegate(
94 CryptoModulePasswordReason reason,
95 const std::string& server) {
96 // TODO(saintlou):
97 NOTIMPLEMENTED();
98 return NULL;
99 }
100 #endif
101
102 #if !defined(OS_WINDOWS)
103 void EditSearchEngine(
104 gfx::NativeWindow,
105 const TemplateURL*,
106 EditSearchEngineControllerDelegate*,
107 Profile*) {
108 // TODO(saintlou):
109 NOTIMPLEMENTED();
110 }
111
112 void ShowRepostFormWarningDialog(gfx::NativeWindow parent_window,
113 TabContents* tab_contents) {
114 // TODO(saintlou):
115 NOTIMPLEMENTED();
116 }
117 #endif
118
75 } // namespace browser 119 } // namespace browser
76 120
77 121
78 void ShowCertificateViewer(gfx::NativeWindow parent, 122 void ShowCertificateViewer(gfx::NativeWindow parent,
79 net::X509Certificate* cert) { 123 net::X509Certificate* cert) {
80 // TODO(beng); 124 // TODO(beng);
81 NOTIMPLEMENTED(); 125 NOTIMPLEMENTED();
82 } 126 }
83 127
84 // static 128 // static
85 FirstRunBubble* FirstRunBubble::Show( 129 FirstRunBubble* FirstRunBubble::Show(
86 Profile* profile, 130 Profile* profile,
87 views::Widget* parent, 131 views::Widget* parent,
88 const gfx::Rect& position_relative_to, 132 const gfx::Rect& position_relative_to,
89 views::BubbleBorder::ArrowLocation arrow_location, 133 views::BubbleBorder::ArrowLocation arrow_location,
90 FirstRun::BubbleType bubble_type) { 134 FirstRun::BubbleType bubble_type) {
91 // TODO(beng); 135 // TODO(beng);
92 NOTIMPLEMENTED(); 136 NOTIMPLEMENTED();
93 return NULL; 137 return NULL;
94 } 138 }
95 139
140 #if !defined(OS_WINDOWS)
141 void ShowCertSelectFileDialog(SelectFileDialog* select_file_dialog,
142 SelectFileDialog::Type type,
143 const FilePath& suggested_path,
144 TabContents* tab_contents,
145 gfx::NativeWindow parent,
146 void* params){
147 // TODO(saintlou);
148 NOTIMPLEMENTED();
149 }
150 #endif
151
96 // static 152 // static
97 void BookmarkEditor::Show(gfx::NativeWindow parent_hwnd, 153 void BookmarkEditor::Show(gfx::NativeWindow parent_hwnd,
98 Profile* profile, 154 Profile* profile,
99 const BookmarkNode* parent, 155 const BookmarkNode* parent,
100 const EditDetails& details, 156 const EditDetails& details,
101 Configuration configuration) { 157 Configuration configuration) {
102 // TODO(beng); 158 // TODO(beng);
103 NOTIMPLEMENTED(); 159 NOTIMPLEMENTED();
104 } 160 }
105 161
(...skipping 10 matching lines...) Expand all
116 NOTIMPLEMENTED(); 172 NOTIMPLEMENTED();
117 } 173 }
118 174
119 } // namespace importer 175 } // namespace importer
120 176
121 // static 177 // static
122 void ExternalProtocolHandler::RunExternalProtocolDialog( 178 void ExternalProtocolHandler::RunExternalProtocolDialog(
123 const GURL& url, int render_process_host_id, int routing_id) { 179 const GURL& url, int render_process_host_id, int routing_id) {
124 } 180 }
125 181
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698