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

Side by Side Diff: chrome/browser/ui/ash/system_tray_client.h

Issue 2625473002: Connect Login UI to SystemTray (Closed)
Patch Set: nits Created 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_ASH_SYSTEM_TRAY_CLIENT_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_
6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_ 6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_
7 7
8 #include "ash/public/interfaces/system_tray.mojom.h" 8 #include "ash/public/interfaces/system_tray.mojom.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/browser/chromeos/system/system_clock_observer.h" 10 #include "chrome/browser/chromeos/system/system_clock_observer.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // Creates a modal dialog in the parent window for new dialogs on the primary 43 // Creates a modal dialog in the parent window for new dialogs on the primary
44 // display. See GetDialogParentContainerId() and views::CreateDialogWidget(). 44 // display. See GetDialogParentContainerId() and views::CreateDialogWidget().
45 // The returned widget is owned by its native widget. 45 // The returned widget is owned by its native widget.
46 static views::Widget* CreateUnownedDialogWidget( 46 static views::Widget* CreateUnownedDialogWidget(
47 views::WidgetDelegate* widget_delegate); 47 views::WidgetDelegate* widget_delegate);
48 48
49 // Shows an update icon for an Adobe Flash update and forces a device reboot 49 // Shows an update icon for an Adobe Flash update and forces a device reboot
50 // when the update is applied. 50 // when the update is applied.
51 void SetFlashUpdateAvailable(); 51 void SetFlashUpdateAvailable();
52 52
53 // Wrappers around ash::mojom::SystemTray interface:
54 void SetPrimaryTrayEnabled(bool enabled);
55 void SetPrimaryTrayVisible(bool visible);
56
53 // ash::mojom::SystemTrayClient: 57 // ash::mojom::SystemTrayClient:
54 void ShowSettings() override; 58 void ShowSettings() override;
55 void ShowDateSettings() override; 59 void ShowDateSettings() override;
56 void ShowSetTimeDialog() override; 60 void ShowSetTimeDialog() override;
57 void ShowDisplaySettings() override; 61 void ShowDisplaySettings() override;
58 void ShowPowerSettings() override; 62 void ShowPowerSettings() override;
59 void ShowChromeSlow() override; 63 void ShowChromeSlow() override;
60 void ShowIMESettings() override; 64 void ShowIMESettings() override;
61 void ShowHelp() override; 65 void ShowHelp() override;
62 void ShowAccessibilityHelp() override; 66 void ShowAccessibilityHelp() override;
(...skipping 29 matching lines...) Expand all
92 96
93 // Whether an Adobe Flash component update is available. 97 // Whether an Adobe Flash component update is available.
94 bool flash_update_available_ = false; 98 bool flash_update_available_ = false;
95 99
96 content::NotificationRegistrar registrar_; 100 content::NotificationRegistrar registrar_;
97 101
98 DISALLOW_COPY_AND_ASSIGN(SystemTrayClient); 102 DISALLOW_COPY_AND_ASSIGN(SystemTrayClient);
99 }; 103 };
100 104
101 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_ 105 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/webui_login_view.cc ('k') | chrome/browser/ui/ash/system_tray_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698