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

Unified Diff: ash/wm/panels/panel_window_resizer_unittest.cc

Issue 115153002: wm: public window_types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ozone deps Created 7 years 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/wm/panels/panel_layout_manager_unittest.cc ('k') | ash/wm/solo_window_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/panels/panel_window_resizer_unittest.cc
diff --git a/ash/wm/panels/panel_window_resizer_unittest.cc b/ash/wm/panels/panel_window_resizer_unittest.cc
index f264b2b2b94daf94fcd80f540cd881a954c36068..6d0b927cdad0424ef41198ceba76c14da1b2b0b7 100644
--- a/ash/wm/panels/panel_window_resizer_unittest.cc
+++ b/ash/wm/panels/panel_window_resizer_unittest.cc
@@ -61,10 +61,7 @@ class PanelWindowResizerTest : public test::AshTestBase {
aura::Window* CreatePanelWindow(const gfx::Point& origin) {
gfx::Rect bounds(origin, gfx::Size(101, 101));
aura::Window* window = CreateTestWindowInShellWithDelegateAndType(
- NULL,
- aura::client::WINDOW_TYPE_PANEL,
- 0,
- bounds);
+ NULL, ui::wm::WINDOW_TYPE_PANEL, 0, bounds);
shelf_delegate_->AddLauncherItem(window);
PanelLayoutManager* manager =
static_cast<PanelLayoutManager*>(
@@ -225,13 +222,13 @@ class PanelWindowResizerTextDirectionTest
// transient children of supported types.
class PanelWindowResizerTransientTest
: public PanelWindowResizerTest,
- public testing::WithParamInterface<aura::client::WindowType> {
+ public testing::WithParamInterface<ui::wm::WindowType> {
public:
PanelWindowResizerTransientTest() : transient_window_type_(GetParam()) {}
virtual ~PanelWindowResizerTransientTest() {}
protected:
- aura::client::WindowType transient_window_type_;
+ ui::wm::WindowType transient_window_type_;
private:
DISALLOW_COPY_AND_ASSIGN(PanelWindowResizerTransientTest);
@@ -528,10 +525,11 @@ TEST_P(PanelWindowResizerTransientTest, PanelWithTransientChild) {
INSTANTIATE_TEST_CASE_P(LtrRtl, PanelWindowResizerTextDirectionTest,
testing::Bool());
-INSTANTIATE_TEST_CASE_P(NormalPanelPopup, PanelWindowResizerTransientTest,
- testing::Values(aura::client::WINDOW_TYPE_NORMAL,
- aura::client::WINDOW_TYPE_PANEL,
- aura::client::WINDOW_TYPE_POPUP));
+INSTANTIATE_TEST_CASE_P(NormalPanelPopup,
+ PanelWindowResizerTransientTest,
+ testing::Values(ui::wm::WINDOW_TYPE_NORMAL,
+ ui::wm::WINDOW_TYPE_PANEL,
+ ui::wm::WINDOW_TYPE_POPUP));
} // namespace internal
} // namespace ash
« no previous file with comments | « ash/wm/panels/panel_layout_manager_unittest.cc ('k') | ash/wm/solo_window_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698