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

Unified Diff: ash/test/ash_test_impl_aura.cc

Issue 2629643002: chromeos: Renames WmWindowAura to WmWindow (Closed)
Patch Set: feedback 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/test/BUILD.gn ('k') | ash/test/ui_controls_factory_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_impl_aura.cc
diff --git a/ash/test/ash_test_impl_aura.cc b/ash/test/ash_test_impl_aura.cc
index 7768396ab22bef4e37234380eb1f60779a3a41a0..2a19c3fd0259b8aaedb41a2080e59534a00dfc9c 100644
--- a/ash/test/ash_test_impl_aura.cc
+++ b/ash/test/ash_test_impl_aura.cc
@@ -4,8 +4,8 @@
#include "ash/test/ash_test_impl_aura.h"
-#include "ash/aura/wm_window_aura.h"
#include "ash/common/test/ash_test.h"
+#include "ash/common/wm_window.h"
#include "ash/screen_util.h"
#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
@@ -63,8 +63,8 @@ std::unique_ptr<WindowOwner> AshTestImplAura::CreateTestWindow(
const gfx::Rect& bounds_in_screen,
ui::wm::WindowType type,
int shell_window_id) {
- return base::MakeUnique<WindowOwner>(WmWindowAura::Get(
- ash_test_base_->CreateTestWindowInShellWithDelegateAndType(
+ return base::MakeUnique<WindowOwner>(
+ WmWindow::Get(ash_test_base_->CreateTestWindowInShellWithDelegateAndType(
nullptr, type, shell_window_id, bounds_in_screen)));
}
@@ -73,8 +73,8 @@ std::unique_ptr<WindowOwner> AshTestImplAura::CreateToplevelTestWindow(
int shell_window_id) {
aura::test::TestWindowDelegate* delegate =
aura::test::TestWindowDelegate::CreateSelfDestroyingDelegate();
- return base::MakeUnique<WindowOwner>(WmWindowAura::Get(
- ash_test_base_->CreateTestWindowInShellWithDelegateAndType(
+ return base::MakeUnique<WindowOwner>(
+ WmWindow::Get(ash_test_base_->CreateTestWindowInShellWithDelegateAndType(
delegate, ui::wm::WINDOW_TYPE_NORMAL, shell_window_id,
bounds_in_screen)));
}
@@ -95,12 +95,12 @@ bool AshTestImplAura::SetSecondaryDisplayPlacement(
void AshTestImplAura::ConfigureWidgetInitParamsForDisplay(
WmWindow* window,
views::Widget::InitParams* init_params) {
- init_params->context = WmWindowAura::GetAuraWindow(window);
+ init_params->context = WmWindow::GetAuraWindow(window);
}
void AshTestImplAura::AddTransientChild(WmWindow* parent, WmWindow* window) {
- ::wm::AddTransientChild(WmWindowAura::GetAuraWindow(parent),
- WmWindowAura::GetAuraWindow(window));
+ ::wm::AddTransientChild(WmWindow::GetAuraWindow(parent),
+ WmWindow::GetAuraWindow(window));
}
// static
« no previous file with comments | « ash/test/BUILD.gn ('k') | ash/test/ui_controls_factory_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698