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

Unified Diff: athena/test/base/athena_test_base.cc

Issue 662763002: Support modal windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: fix leaks Created 6 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 | « athena/test/base/athena_test_base.h ('k') | athena/test/base/test_windows.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/base/athena_test_base.cc
diff --git a/athena/test/base/athena_test_base.cc b/athena/test/base/athena_test_base.cc
index a6f88b15a9feda5aa90dfe24a0274cbeff55ddae..180baea7b5df4b703f0a75cab9c4e9ec64a8b173 100644
--- a/athena/test/base/athena_test_base.cc
+++ b/athena/test/base/athena_test_base.cc
@@ -5,11 +5,8 @@
#include "athena/test/base/athena_test_base.h"
#include "athena/env/public/athena_env.h"
-#include "athena/screen/public/screen_manager.h"
#include "athena/test/base/athena_test_helper.h"
-#include "ui/aura/client/window_tree_client.h"
#include "ui/aura/test/event_generator_delegate_aura.h"
-#include "ui/aura/window.h"
#include "ui/compositor/test/context_factories_for_test.h"
#if defined(USE_X11)
@@ -65,16 +62,5 @@ void AthenaTestBase::RunAllPendingInMessageLoop() {
helper_->RunAllPendingInMessageLoop();
}
-scoped_ptr<aura::Window> AthenaTestBase::CreateTestWindow(
- aura::WindowDelegate* delegate,
- const gfx::Rect& bounds) {
- scoped_ptr<aura::Window> window(new aura::Window(delegate));
- window->SetType(ui::wm::WINDOW_TYPE_NORMAL);
- window->Init(aura::WINDOW_LAYER_SOLID_COLOR);
- aura::client::ParentWindowWithContext(
- window.get(), ScreenManager::Get()->GetContext(), bounds);
- return window.Pass();
-}
-
} // namespace test
} // namespace athena
« no previous file with comments | « athena/test/base/athena_test_base.h ('k') | athena/test/base/test_windows.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698