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" |
11 #include "chrome/browser/gtk/about_chrome_dialog.h" | 11 #include "chrome/browser/gtk/about_chrome_dialog.h" |
12 #include "chrome/browser/fonts_languages_window.h" | 12 #include "chrome/browser/fonts_languages_window.h" |
13 #include "chrome/browser/gtk/clear_browsing_data_dialog_gtk.h" | 13 #include "chrome/browser/gtk/clear_browsing_data_dialog_gtk.h" |
14 #include "chrome/browser/gtk/collected_cookies_gtk.h" | 14 #include "chrome/browser/gtk/collected_cookies_gtk.h" |
15 #include "chrome/browser/gtk/edit_search_engine_dialog.h" | 15 #include "chrome/browser/gtk/edit_search_engine_dialog.h" |
16 #include "chrome/browser/gtk/keyword_editor_view.h" | 16 #include "chrome/browser/gtk/keyword_editor_view.h" |
17 #include "chrome/browser/gtk/options/content_settings_window_gtk.h" | 17 #include "chrome/browser/gtk/options/content_settings_window_gtk.h" |
18 #include "chrome/browser/gtk/options/passwords_exceptions_window_gtk.h" | 18 #include "chrome/browser/gtk/options/passwords_exceptions_window_gtk.h" |
19 #include "chrome/browser/gtk/repost_form_warning_gtk.h" | 19 #include "chrome/browser/gtk/repost_form_warning_gtk.h" |
20 #include "chrome/browser/gtk/task_manager_gtk.h" | 20 #include "chrome/browser/gtk/task_manager_gtk.h" |
21 #include "chrome/browser/options_window.h" | |
22 #include "chrome/browser/tab_contents/tab_contents.h" | 21 #include "chrome/browser/tab_contents/tab_contents.h" |
23 #include "chrome/browser/views/browser_dialogs.h" | 22 #include "chrome/browser/ui/options/options_window.h" |
| 23 #include "chrome/browser/ui/views/browser_dialogs.h" |
24 #include "views/widget/widget.h" | 24 #include "views/widget/widget.h" |
25 | 25 |
26 namespace browser { | 26 namespace browser { |
27 | 27 |
28 void ShowClearBrowsingDataView(views::Widget* parent, | 28 void ShowClearBrowsingDataView(views::Widget* parent, |
29 Profile* profile) { | 29 Profile* profile) { |
30 ClearBrowsingDataDialogGtk::Show(GTK_WINDOW(parent->GetNativeView()), | 30 ClearBrowsingDataDialogGtk::Show(GTK_WINDOW(parent->GetNativeView()), |
31 profile); | 31 profile); |
32 } | 32 } |
33 | 33 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 Profile* profile) { | 70 Profile* profile) { |
71 ContentSettingsWindowGtk::Show(parent_window, content_type, profile); | 71 ContentSettingsWindowGtk::Show(parent_window, content_type, profile); |
72 } | 72 } |
73 | 73 |
74 void ShowCollectedCookiesDialog(gfx::NativeWindow parent_window, | 74 void ShowCollectedCookiesDialog(gfx::NativeWindow parent_window, |
75 TabContents* tab_contents) { | 75 TabContents* tab_contents) { |
76 new CollectedCookiesGtk(GTK_WINDOW(parent_window), tab_contents); | 76 new CollectedCookiesGtk(GTK_WINDOW(parent_window), tab_contents); |
77 } | 77 } |
78 | 78 |
79 } // namespace browser | 79 } // namespace browser |
OLD | NEW |