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

Side by Side Diff: chrome/browser/ui/views/browser_dialogs.h

Issue 6670011: Options: Remove the GTK and Views native options code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 9 years, 9 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 #ifndef CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_
6 #define CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Shows the bookmark manager. 64 // Shows the bookmark manager.
65 void ShowBookmarkManagerView(Profile* profile); 65 void ShowBookmarkManagerView(Profile* profile);
66 66
67 // Shows the about dialog. See AboutChromeView. 67 // Shows the about dialog. See AboutChromeView.
68 views::Window* ShowAboutChromeView(gfx::NativeWindow parent, 68 views::Window* ShowAboutChromeView(gfx::NativeWindow parent,
69 Profile* profile); 69 Profile* profile);
70 70
71 // Creates and returns a find bar for the given browser window. See FindBarWin. 71 // Creates and returns a find bar for the given browser window. See FindBarWin.
72 FindBar* CreateFindBar(BrowserView* browser_view); 72 FindBar* CreateFindBar(BrowserView* browser_view);
73 73
74 // Shows the "Save passwords and exceptions" dialog.
75 // See PasswordsExceptionsWindowView.
76 void ShowPasswordsExceptionsWindowView(Profile* profile);
77
78 // Shows the keyword editor. See KeywordEditorView. 74 // Shows the keyword editor. See KeywordEditorView.
79 void ShowKeywordEditorView(Profile* profile); 75 void ShowKeywordEditorView(Profile* profile);
80 76
81 // Shows the Task Manager. 77 // Shows the Task Manager.
82 void ShowTaskManager(); 78 void ShowTaskManager();
83 79
84 // Shows the Task Manager, highlighting the background pages. 80 // Shows the Task Manager, highlighting the background pages.
85 void ShowBackgroundPages(); 81 void ShowBackgroundPages();
86 82
87 #if defined(OS_CHROMEOS) 83 #if defined(OS_CHROMEOS)
88 // Shows the Login Wizard. 84 // Shows the Login Wizard.
89 void ShowLoginWizard(const std::string& start_screen, const gfx::Size& size); 85 void ShowLoginWizard(const std::string& start_screen, const gfx::Size& size);
90 #endif 86 #endif
91 87
92 // Shows a dialog box that allows a search engine to be edited. |template_url| 88 // Shows a dialog box that allows a search engine to be edited. |template_url|
93 // is the search engine being edited. If it is NULL, then the dialog will add a 89 // is the search engine being edited. If it is NULL, then the dialog will add a
94 // new search engine with the data the user supplies. |delegate| is an object 90 // new search engine with the data the user supplies. |delegate| is an object
95 // to be notified when the user is done editing, or NULL. If NULL, the dialog 91 // to be notified when the user is done editing, or NULL. If NULL, the dialog
96 // will update the model with the user's edits directly. 92 // will update the model with the user's edits directly.
97 void EditSearchEngine(gfx::NativeWindow parent, 93 void EditSearchEngine(gfx::NativeWindow parent,
98 const TemplateURL* template_url, 94 const TemplateURL* template_url,
99 EditSearchEngineControllerDelegate* delegate, 95 EditSearchEngineControllerDelegate* delegate,
100 Profile* profile); 96 Profile* profile);
101 97
102 // Shows the repost form confirmation dialog box. 98 // Shows the repost form confirmation dialog box.
103 void ShowRepostFormWarningDialog(gfx::NativeWindow parent_window, 99 void ShowRepostFormWarningDialog(gfx::NativeWindow parent_window,
104 TabContents* tab_contents); 100 TabContents* tab_contents);
105 101
106 // Shows the content settings dialog box.
107 void ShowContentSettingsWindow(gfx::NativeWindow parent_window,
108 ContentSettingsType content_type,
109 Profile* profile);
110
111 // Shows the collected cookies dialog box. 102 // Shows the collected cookies dialog box.
112 void ShowCollectedCookiesDialog(gfx::NativeWindow parent_window, 103 void ShowCollectedCookiesDialog(gfx::NativeWindow parent_window,
113 TabContents* tab_contents); 104 TabContents* tab_contents);
114 105
115 106
116 // Shows the create web app shortcut dialog box. 107 // Shows the create web app shortcut dialog box.
117 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, 108 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window,
118 TabContents* tab_contents); 109 TabContents* tab_contents);
119 110
120 // Shows the create chrome app shortcut dialog box. 111 // Shows the create chrome app shortcut dialog box.
121 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, 112 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window,
122 Profile* profile, 113 Profile* profile,
123 const Extension* app); 114 const Extension* app);
124 115
125 } // namespace browser 116 } // namespace browser
126 117
127 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ 118 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/options/url_picker_dialog_gtk.cc ('k') | chrome/browser/ui/views/dialog_stubs_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698