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

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

Issue 2625873007: Promotes WmWindowMus functions to WmWindowAura and nukes WmWindowMus (Closed)
Patch Set: merge 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/root_window_controller.cc ('k') | ash/mus/window_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/test/ash_test_impl_mus.cc
diff --git a/ash/mus/test/ash_test_impl_mus.cc b/ash/mus/test/ash_test_impl_mus.cc
index 0f85cb703f290dcc04c4f1e408827b48405d78f9..5ef0e305f153c7355fc28cadd632c2f4922f1d27 100644
--- a/ash/mus/test/ash_test_impl_mus.cc
+++ b/ash/mus/test/ash_test_impl_mus.cc
@@ -4,8 +4,8 @@
#include "ash/mus/test/ash_test_impl_mus.h"
+#include "ash/aura/wm_window_aura.h"
#include "ash/common/test/ash_test.h"
-#include "ash/mus/bridge/wm_window_mus.h"
#include "base/memory/ptr_util.h"
#include "services/ui/public/cpp/property_type_converters.h"
#include "services/ui/public/interfaces/window_manager.mojom.h"
@@ -58,8 +58,8 @@ std::unique_ptr<WindowOwner> AshTestImplMus::CreateTestWindow(
const gfx::Rect& bounds_in_screen,
ui::wm::WindowType type,
int shell_window_id) {
- WmWindowMus* window =
- WmWindowMus::Get(wm_test_base_->CreateTestWindow(bounds_in_screen, type));
+ ash::WmWindowAura* window = ash::WmWindowAura::Get(
+ wm_test_base_->CreateTestWindow(bounds_in_screen, type));
window->SetShellWindowId(shell_window_id);
return base::MakeUnique<WindowOwner>(window);
}
@@ -87,7 +87,7 @@ bool AshTestImplMus::SetSecondaryDisplayPlacement(
void AshTestImplMus::ConfigureWidgetInitParamsForDisplay(
WmWindow* window,
views::Widget::InitParams* init_params) {
- init_params->context = WmWindowMus::GetAuraWindow(window);
+ init_params->context = WmWindowAura::GetAuraWindow(window);
init_params
->mus_properties[ui::mojom::WindowManager::kDisplayId_InitProperty] =
mojo::ConvertTo<std::vector<uint8_t>>(
« no previous file with comments | « ash/mus/root_window_controller.cc ('k') | ash/mus/window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698