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

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

Issue 2391153002: Converts most of WorkspaceLayoutManager tests to use common code (Closed)
Patch Set: merge 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/ash_test.cc ('k') | ash/common/wm/default_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/test/ash_test_impl.h
diff --git a/ash/common/test/ash_test_impl.h b/ash/common/test/ash_test_impl.h
index 0b5cf69973ddfa2cb2a8c1abf2ae9e401a943e29..ab477c9fdb4919e4e6496cce24e8a2f06c589634 100644
--- a/ash/common/test/ash_test_impl.h
+++ b/ash/common/test/ash_test_impl.h
@@ -43,10 +43,17 @@ class AshTestImpl {
const gfx::Rect& bounds_in_screen,
ui::wm::WindowType type,
int shell_window_id) = 0;
+ virtual std::unique_ptr<WindowOwner> CreateToplevelTestWindow(
+ const gfx::Rect& bounds_in_screen,
+ int shell_window_id) = 0;
virtual display::Display GetSecondaryDisplay() = 0;
virtual bool SetSecondaryDisplayPlacement(
display::DisplayPlacement::Position position,
int offset) = 0;
+ virtual void ConfigureWidgetInitParamsForDisplay(
+ WmWindow* window,
+ views::Widget::InitParams* init_params) = 0;
+ virtual void AddTransientChild(WmWindow* parent, WmWindow* window) = 0;
};
} // namespace ash
« no previous file with comments | « ash/common/test/ash_test.cc ('k') | ash/common/wm/default_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698