| Index: chrome/browser/ui/browser_dialogs.h
|
| diff --git a/chrome/browser/ui/browser_dialogs.h b/chrome/browser/ui/browser_dialogs.h
|
| index 05f4e37991ba9e52fa5c6e9b1bd1d102e5682be0..f83ddbe0b3584b3d1360e032f48b9a2ea88ceebf 100644
|
| --- a/chrome/browser/ui/browser_dialogs.h
|
| +++ b/chrome/browser/ui/browser_dialogs.h
|
| @@ -10,6 +10,7 @@
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| class Browser;
|
| +class LoginHandler;
|
| class Profile;
|
| class SkBitmap;
|
|
|
| @@ -23,6 +24,11 @@ namespace extensions {
|
| class Extension;
|
| }
|
|
|
| +namespace net {
|
| +class AuthChallengeInfo;
|
| +class URLRequest;
|
| +}
|
| +
|
| namespace ui {
|
| class WebDialogDelegate;
|
| }
|
| @@ -69,6 +75,22 @@ void ShowCreateChromeAppShortcutsDialog(
|
| content::ColorChooser* ShowColorChooser(content::WebContents* web_contents,
|
| SkColor initial_color);
|
|
|
| +#if defined(OS_MACOSX)
|
| +
|
| +// For Mac, returns true if Chrome should show an equivalent toolkit-views based
|
| +// dialog using one of the functions below, rather than showing a Cocoa dialog.
|
| +bool ToolkitViewsDialogsEnabled();
|
| +
|
| +#endif // OS_MACOSX
|
| +
|
| +#if defined(TOOLKIT_VIEWS)
|
| +
|
| +// Creates a toolkit-views based LoginHandler (e.g. HTTP-Auth dialog).
|
| +LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info,
|
| + net::URLRequest* request);
|
| +
|
| +#endif // TOOLKIT_VIEWS
|
| +
|
| } // namespace chrome
|
|
|
| #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
|
|
|