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

Unified Diff: ash/common/test/ash_test.h

Issue 2408273002: mash: Port TrayUpdateTest to AshTest (Closed)
Patch Set: WmShellTestApi Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/test/BUILD.gn ('k') | ash/common/test/ash_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/test/ash_test.h
diff --git a/ash/common/test/ash_test.h b/ash/common/test/ash_test.h
index ef1901d5d013c0850aa9757fa4107e0902030d37..886161a33a2799bc1de87234c6e1d9782e2f497d 100644
--- a/ash/common/test/ash_test.h
+++ b/ash/common/test/ash_test.h
@@ -27,6 +27,7 @@ class WidgetDelegate;
namespace ash {
class AshTestImpl;
+class SystemTray;
class WmShelf;
class WmWindow;
@@ -63,6 +64,9 @@ class AshTest : public testing::Test {
// Returns the WmShelf for the primary display.
static WmShelf* GetPrimaryShelf();
+ // Returns the system tray on the primary display.
+ static SystemTray* GetPrimarySystemTray();
+
bool SupportsMultipleDisplays() const;
// Update the display configuration as given in |display_spec|.
« no previous file with comments | « ash/common/test/BUILD.gn ('k') | ash/common/test/ash_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698