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

Unified Diff: ash/test/shell_test_api.h

Issue 2738133003: Promotes a handful of members from WmShell to Shell (Closed)
Patch Set: merge Created 3 years, 9 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/system/toast/toast_manager_unittest.cc ('k') | ash/test/shell_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/shell_test_api.h
diff --git a/ash/test/shell_test_api.h b/ash/test/shell_test_api.h
index 236258be2eb7f6e536b58dadf77ab8bf8be2762b..5a8ecd184e49b729632ae42fb28d6bd6ce56184f 100644
--- a/ash/test/shell_test_api.h
+++ b/ash/test/shell_test_api.h
@@ -5,12 +5,15 @@
#ifndef ASH_TEST_SHELL_TEST_API_H_
#define ASH_TEST_SHELL_TEST_API_H_
+#include <memory>
+
#include "base/macros.h"
namespace ash {
class AshNativeCursorManager;
class DragDropController;
class MaximizeModeWindowManager;
+class PaletteDelegate;
class SessionStateDelegate;
class ScreenPositionController;
class Shell;
@@ -22,6 +25,7 @@ namespace test {
// Accesses private data from a Shell for testing.
class ShellTestApi {
public:
+ ShellTestApi();
explicit ShellTestApi(Shell* shell);
SystemGestureEventFilter* system_gesture_event_filter();
@@ -32,7 +36,7 @@ class ShellTestApi {
MaximizeModeWindowManager* maximize_mode_window_manager();
void DisableDisplayAnimator();
- // Set SessionStateDelegate.
+ void SetPaletteDelegate(std::unique_ptr<PaletteDelegate> palette_delegate);
void SetSessionStateDelegate(SessionStateDelegate* session_state_delegate);
private:
« no previous file with comments | « ash/system/toast/toast_manager_unittest.cc ('k') | ash/test/shell_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698