OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This file contains stub implementations of the functions declared in | 5 // This file contains stub implementations of the functions declared in |
6 // browser_dialogs.h that are currently unimplemented in GTK-views. | 6 // browser_dialogs.h that are currently unimplemented in GTK-views. |
7 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 // Only matters if we're going to support profile switching | 33 // Only matters if we're going to support profile switching |
34 // (switches::kEnableUserDataDirProfiles). | 34 // (switches::kEnableUserDataDirProfiles). |
35 NOTIMPLEMENTED(); | 35 NOTIMPLEMENTED(); |
36 } | 36 } |
37 | 37 |
38 void ShowImporterView(views::Widget* parent, Profile* profile) { | 38 void ShowImporterView(views::Widget* parent, Profile* profile) { |
39 // Import currently doesn't matter. | 39 // Import currently doesn't matter. |
40 NOTIMPLEMENTED(); | 40 NOTIMPLEMENTED(); |
41 } | 41 } |
42 | 42 |
43 void ShowBookmarkManagerView(Profile* profile) { | |
44 // TODO(viettrungluu): remove this function (crbug.com/38908) | |
45 NOTIMPLEMENTED(); | |
46 } | |
47 | |
48 void ShowPasswordsExceptionsWindowView(Profile* profile) { | 43 void ShowPasswordsExceptionsWindowView(Profile* profile) { |
49 ShowPasswordsExceptionsWindow(profile); | 44 ShowPasswordsExceptionsWindow(profile); |
50 } | 45 } |
51 | 46 |
52 void ShowKeywordEditorView(Profile* profile) { | 47 void ShowKeywordEditorView(Profile* profile) { |
53 KeywordEditorView::Show(profile); | 48 KeywordEditorView::Show(profile); |
54 } | 49 } |
55 | 50 |
56 void ShowNewProfileDialog() { | 51 void ShowNewProfileDialog() { |
57 // Hasn't been implemented yet on linux. | 52 // Hasn't been implemented yet on linux. |
(...skipping 16 matching lines...) Expand all Loading... |
74 new RepostFormWarningGtk(GTK_WINDOW(parent_window), tab_contents); | 69 new RepostFormWarningGtk(GTK_WINDOW(parent_window), tab_contents); |
75 } | 70 } |
76 | 71 |
77 void ShowContentSettingsWindow(gfx::NativeWindow parent_window, | 72 void ShowContentSettingsWindow(gfx::NativeWindow parent_window, |
78 ContentSettingsType content_type, | 73 ContentSettingsType content_type, |
79 Profile* profile) { | 74 Profile* profile) { |
80 NOTIMPLEMENTED(); | 75 NOTIMPLEMENTED(); |
81 } | 76 } |
82 | 77 |
83 } // namespace browser | 78 } // namespace browser |
OLD | NEW |