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

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

Issue 12026016: Implement new Task Manager and Edit Bookmark style, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comment. Created 7 years, 11 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include "chrome/browser/ui/host_desktop.h" 8 #include "chrome/browser/ui/host_desktop.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 content::WebContents* web_contents, 59 content::WebContents* web_contents,
60 const GURL& url, 60 const GURL& url,
61 const content::SSLStatus& ssl, 61 const content::SSLStatus& ssl,
62 bool show_history, 62 bool show_history,
63 content::PageNavigator* navigator); 63 content::PageNavigator* navigator);
64 64
65 // Creates and returns a find bar for the given browser window. See FindBarWin. 65 // Creates and returns a find bar for the given browser window. See FindBarWin.
66 FindBar* CreateFindBar(BrowserView* browser_view); 66 FindBar* CreateFindBar(BrowserView* browser_view);
67 67
68 // Shows the Task Manager. 68 // Shows the Task Manager.
69 void ShowTaskManager(chrome::HostDesktopType desktop_type); 69 void ShowTaskManager(Browser* browser);
70 70
71 // Shows the Task Manager, highlighting the background pages. 71 // Shows the Task Manager, highlighting the background pages.
72 void ShowBackgroundPages(chrome::HostDesktopType desktop_type); 72 void ShowBackgroundPages(Browser* browser);
73 73
74 // Shows a dialog box that allows a search engine to be edited. |template_url| 74 // Shows a dialog box that allows a search engine to be edited. |template_url|
75 // is the search engine being edited. If it is NULL, then the dialog will add a 75 // is the search engine being edited. If it is NULL, then the dialog will add a
76 // new search engine with the data the user supplies. |delegate| is an object 76 // new search engine with the data the user supplies. |delegate| is an object
77 // to be notified when the user is done editing, or NULL. If NULL, the dialog 77 // to be notified when the user is done editing, or NULL. If NULL, the dialog
78 // will update the model with the user's edits directly. 78 // will update the model with the user's edits directly.
79 void EditSearchEngine(gfx::NativeWindow parent, 79 void EditSearchEngine(gfx::NativeWindow parent,
80 TemplateURL* template_url, 80 TemplateURL* template_url,
81 EditSearchEngineControllerDelegate* delegate, 81 EditSearchEngineControllerDelegate* delegate,
82 Profile* profile); 82 Profile* profile);
83 83
84 // Shows the create chrome app shortcut dialog box. 84 // Shows the create chrome app shortcut dialog box.
85 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, 85 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window,
86 Profile* profile, 86 Profile* profile,
87 const extensions::Extension* app); 87 const extensions::Extension* app);
88 88
89 } // namespace chrome 89 } // namespace chrome
90 90
91 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ 91 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698