| Index: chrome/browser/ui/ash/system_tray_client.h
|
| diff --git a/chrome/browser/ui/ash/system_tray_client.h b/chrome/browser/ui/ash/system_tray_client.h
|
| index 23b79cd82d34f99eb0cc1832b4b1c68d1b4f9c7e..a63a2d30db462520af249ebb5f289af90eaeba9b 100644
|
| --- a/chrome/browser/ui/ash/system_tray_client.h
|
| +++ b/chrome/browser/ui/ash/system_tray_client.h
|
| @@ -14,6 +14,11 @@ namespace ash {
|
| enum class LoginStatus;
|
| }
|
|
|
| +namespace views {
|
| +class Widget;
|
| +class WidgetDelegate;
|
| +}
|
| +
|
| // Handles method calls delegated back to chrome from ash. Also notifies ash of
|
| // relevant state changes in chrome.
|
| // TODO: Consider renaming this to SystemTrayClientChromeOS.
|
| @@ -32,6 +37,12 @@ class SystemTrayClient : public ash::mojom::SystemTrayClient,
|
| // varies based on the current login and lock screen state.
|
| static int GetDialogParentContainerId();
|
|
|
| + // Creates a modal dialog in the parent window for new dialogs on the primary
|
| + // display. See GetDialogParentContainerId() and views::CreateDialogWidget().
|
| + // The returned widget is owned by its native widget.
|
| + static views::Widget* CreateUnownedDialogWidget(
|
| + views::WidgetDelegate* widget_delegate);
|
| +
|
| // ash::mojom::SystemTrayClient:
|
| void ShowSettings() override;
|
| void ShowDateSettings() override;
|
|
|