| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 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 | 
|  | 3 // found in the LICENSE file. | 
|  | 4 | 
|  | 5 #include "base/logging.h" | 
|  | 6 | 
|  | 7 #include "chrome/browser/bookmarks/bookmark_editor.h" | 
|  | 8 #include "chrome/browser/external_protocol/external_protocol_handler.h" | 
|  | 9 #include "chrome/browser/first_run/first_run.h" | 
|  | 10 #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" | 
|  | 13 #include "ui/gfx/native_widget_types.h" | 
|  | 14 | 
|  | 15 class SSLClientAuthHandler; | 
|  | 16 class TabContents; | 
|  | 17 class TabContentsWrapper; | 
|  | 18 namespace net { | 
|  | 19 class SSLCertRequestInfo; | 
|  | 20 class X509Certificate; | 
|  | 21 } | 
|  | 22 namespace views { | 
|  | 23 class Widget; | 
|  | 24 } | 
|  | 25 | 
|  | 26 namespace browser { | 
|  | 27 | 
|  | 28 // Declared in browser_dialogs.h so others don't need to depend on our header. | 
|  | 29 void ShowTaskManager() { | 
|  | 30   // TODO(beng): | 
|  | 31   NOTIMPLEMENTED(); | 
|  | 32 } | 
|  | 33 | 
|  | 34 void ShowBackgroundPages() { | 
|  | 35   // TODO(beng): | 
|  | 36   NOTIMPLEMENTED(); | 
|  | 37 } | 
|  | 38 | 
|  | 39 void ShowCollectedCookiesDialog(gfx::NativeWindow parent_window, | 
|  | 40                                 TabContentsWrapper* tab_contents) { | 
|  | 41   // TODO(beng): | 
|  | 42   NOTIMPLEMENTED(); | 
|  | 43 } | 
|  | 44 | 
|  | 45 void ShowSSLClientCertificateSelector( | 
|  | 46     TabContents* parent, | 
|  | 47     net::SSLCertRequestInfo* cert_request_info, | 
|  | 48     SSLClientAuthHandler* delegate) { | 
|  | 49   // TODO(beng): | 
|  | 50   NOTIMPLEMENTED(); | 
|  | 51 } | 
|  | 52 | 
|  | 53 void ShowAboutIPCDialog() { | 
|  | 54   // TODO(beng): | 
|  | 55   NOTIMPLEMENTED(); | 
|  | 56 } | 
|  | 57 | 
|  | 58 gfx::Rect GrabWindowSnapshot(gfx::NativeWindow window, | 
|  | 59                              std::vector<unsigned char>* png_representation) { | 
|  | 60   // TODO(beng): | 
|  | 61   NOTIMPLEMENTED(); | 
|  | 62   return gfx::Rect(); | 
|  | 63 } | 
|  | 64 | 
|  | 65 void ShowHungRendererDialog(TabContents* contents) { | 
|  | 66   // TODO(beng): | 
|  | 67   NOTIMPLEMENTED(); | 
|  | 68 } | 
|  | 69 | 
|  | 70 void HideHungRendererDialog(TabContents* contents) { | 
|  | 71   // TODO(beng): | 
|  | 72   NOTIMPLEMENTED(); | 
|  | 73 } | 
|  | 74 | 
|  | 75 }  // namespace browser | 
|  | 76 | 
|  | 77 | 
|  | 78 void ShowCertificateViewer(gfx::NativeWindow parent, | 
|  | 79                            net::X509Certificate* cert) { | 
|  | 80   // TODO(beng); | 
|  | 81   NOTIMPLEMENTED(); | 
|  | 82 } | 
|  | 83 | 
|  | 84 // static | 
|  | 85 FirstRunBubble* FirstRunBubble::Show( | 
|  | 86     Profile* profile, | 
|  | 87     views::Widget* parent, | 
|  | 88     const gfx::Rect& position_relative_to, | 
|  | 89     views::BubbleBorder::ArrowLocation arrow_location, | 
|  | 90     FirstRun::BubbleType bubble_type) { | 
|  | 91   // TODO(beng); | 
|  | 92   NOTIMPLEMENTED(); | 
|  | 93   return NULL; | 
|  | 94 } | 
|  | 95 | 
|  | 96 // static | 
|  | 97 void BookmarkEditor::Show(gfx::NativeWindow parent_hwnd, | 
|  | 98                           Profile* profile, | 
|  | 99                           const BookmarkNode* parent, | 
|  | 100                           const EditDetails& details, | 
|  | 101                           Configuration configuration) { | 
|  | 102   // TODO(beng); | 
|  | 103   NOTIMPLEMENTED(); | 
|  | 104 } | 
|  | 105 | 
|  | 106 namespace importer { | 
|  | 107 | 
|  | 108 void ShowImportProgressDialog(gfx::NativeWindow parent_window, | 
|  | 109                               uint16 items, | 
|  | 110                               ImporterHost* importer_host, | 
|  | 111                               ImporterObserver* importer_observer, | 
|  | 112                               const SourceProfile& source_profile, | 
|  | 113                               Profile* target_profile, | 
|  | 114                               bool first_run) { | 
|  | 115   // TODO(beng); | 
|  | 116   NOTIMPLEMENTED(); | 
|  | 117 } | 
|  | 118 | 
|  | 119 }  // namespace importer | 
|  | 120 | 
|  | 121 // static | 
|  | 122 void ExternalProtocolHandler::RunExternalProtocolDialog( | 
|  | 123     const GURL& url, int render_process_host_id, int routing_id) { | 
|  | 124 } | 
|  | 125 | 
| OLD | NEW | 
|---|