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

Unified Diff: ash/mus/test/wm_test_base.cc

Issue 2840393002: chromeos: converts TopLevelWindowFactoryTest to AshTestBase (Closed)
Patch Set: remove duplicate function Created 3 years, 8 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/mus/test/wm_test_base.h ('k') | ash/mus/top_level_window_factory_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/test/wm_test_base.cc
diff --git a/ash/mus/test/wm_test_base.cc b/ash/mus/test/wm_test_base.cc
index 14c0e7251df762a27d2dec8c7875d5506fdd9410..a7776391a73e1ad2b981c072ade8dd5252c83226 100644
--- a/ash/mus/test/wm_test_base.cc
+++ b/ash/mus/test/wm_test_base.cc
@@ -128,24 +128,6 @@ aura::Window* WmTestBase::CreateTestWindow(const gfx::Rect& bounds,
return window;
}
-aura::Window* WmTestBase::CreateFullscreenTestWindow(int64_t display_id) {
- std::map<std::string, std::vector<uint8_t>> properties;
- properties[ui::mojom::WindowManager::kShowState_Property] =
- mojo::ConvertTo<std::vector<uint8_t>>(
- static_cast<aura::PropertyConverter::PrimitiveType>(
- ui::mojom::ShowState::FULLSCREEN));
- if (display_id != display::kInvalidDisplayId) {
- properties[ui::mojom::WindowManager::kDisplayId_InitProperty] =
- mojo::ConvertTo<std::vector<uint8_t>>(display_id);
- }
- WindowManager* window_manager =
- test_helper_->window_manager_app()->window_manager();
- aura::Window* window = CreateAndParentTopLevelWindow(
- window_manager, ui::mojom::WindowType::WINDOW, &properties);
- window->Show();
- return window;
-}
-
aura::Window* WmTestBase::CreateChildTestWindow(aura::Window* parent,
const gfx::Rect& bounds) {
std::map<std::string, std::vector<uint8_t>> properties;
« no previous file with comments | « ash/mus/test/wm_test_base.h ('k') | ash/mus/top_level_window_factory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698