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

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

Issue 764753003: Enable streamlined-apps flag on Chrome for Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
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_BROWSER_DIALOGS_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "chrome/browser/profiles/profile_window.h" 9 #include "chrome/browser/profiles/profile_window.h"
10 #include "content/public/common/signed_certificate_timestamp_id_and_status.h" 10 #include "content/public/common/signed_certificate_timestamp_id_and_status.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // Shows or hide the hung renderer dialog for the given WebContents. 58 // Shows or hide the hung renderer dialog for the given WebContents.
59 // We need to pass the WebContents to the dialog, because multiple tabs can hang 59 // We need to pass the WebContents to the dialog, because multiple tabs can hang
60 // and it needs to keep track of which tabs are currently hung. 60 // and it needs to keep track of which tabs are currently hung.
61 void ShowHungRendererDialog(content::WebContents* contents); 61 void ShowHungRendererDialog(content::WebContents* contents);
62 void HideHungRendererDialog(content::WebContents* contents); 62 void HideHungRendererDialog(content::WebContents* contents);
63 63
64 // Shows or hides the Task Manager. |browser| can be NULL when called from Ash. 64 // Shows or hides the Task Manager. |browser| can be NULL when called from Ash.
65 void ShowTaskManager(Browser* browser); 65 void ShowTaskManager(Browser* browser);
66 void HideTaskManager(); 66 void HideTaskManager();
67 67
68 #if !defined(OS_MACOSX)
69 // Shows the create web app shortcut dialog box. 68 // Shows the create web app shortcut dialog box.
jackhou1 2014/11/27 05:51:52 This can stay if-defed out too.
mitchellj 2014/11/27 23:29:45 Done.
70 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, 69 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window,
71 content::WebContents* web_contents); 70 content::WebContents* web_contents);
72 #endif
73 71
74 // Shows the create chrome app shortcut dialog box. 72 // Shows the create chrome app shortcut dialog box.
75 // |close_callback| may be null. 73 // |close_callback| may be null.
76 void ShowCreateChromeAppShortcutsDialog( 74 void ShowCreateChromeAppShortcutsDialog(
77 gfx::NativeWindow parent_window, 75 gfx::NativeWindow parent_window,
78 Profile* profile, 76 Profile* profile,
79 const extensions::Extension* app, 77 const extensions::Extension* app,
80 const base::Callback<void(bool /* created */)>& close_callback); 78 const base::Callback<void(bool /* created */)>& close_callback);
81 79
82 // Shows a color chooser that reports to the given WebContents. 80 // Shows a color chooser that reports to the given WebContents.
(...skipping 15 matching lines...) Expand all
98 96
99 // Shows the ManagePasswords bubble for a particular |web_contents|. 97 // Shows the ManagePasswords bubble for a particular |web_contents|.
100 void ShowManagePasswordsBubble(content::WebContents* web_contents); 98 void ShowManagePasswordsBubble(content::WebContents* web_contents);
101 99
102 // Closes the bubble if it's shown for |web_contents|. 100 // Closes the bubble if it's shown for |web_contents|.
103 void CloseManagePasswordsBubble(content::WebContents* web_contents); 101 void CloseManagePasswordsBubble(content::WebContents* web_contents);
104 102
105 } // namespace chrome 103 } // namespace chrome
106 104
107 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 105 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698