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

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

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « athena/test/base/test_windows.h ('k') | athena/util/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/base/test_windows.cc
diff --git a/athena/test/base/test_windows.cc b/athena/test/base/test_windows.cc
deleted file mode 100644
index 9559b85a420df1151a7a50db865f6ec54decb164..0000000000000000000000000000000000000000
--- a/athena/test/base/test_windows.cc
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "athena/test/base/test_windows.h"
-
-#include "athena/screen/public/screen_manager.h"
-#include "ui/aura/client/aura_constants.h"
-#include "ui/aura/client/window_tree_client.h"
-#include "ui/aura/window.h"
-#include "ui/wm/core/window_util.h"
-
-namespace athena {
-namespace test {
-
-scoped_ptr<aura::Window> CreateNormalWindow(aura::WindowDelegate* delegate,
- aura::Window* parent) {
- return CreateWindowWithType(delegate, parent, ui::wm::WINDOW_TYPE_NORMAL);
-}
-
-scoped_ptr<aura::Window> CreateWindowWithType(aura::WindowDelegate* delegate,
- aura::Window* parent,
- ui::wm::WindowType window_type) {
- scoped_ptr<aura::Window> window(new aura::Window(delegate));
- window->SetType(window_type);
- window->Init(aura::WINDOW_LAYER_SOLID_COLOR);
- if (parent) {
- parent->AddChild(window.get());
- } else {
- aura::client::ParentWindowWithContext(
- window.get(), ScreenManager::Get()->GetContext(), gfx::Rect());
- }
- return window.Pass();
-}
-
-scoped_ptr<aura::Window> CreateTransientWindow(aura::WindowDelegate* delegate,
- aura::Window* transient_parent,
- ui::ModalType modal_type,
- bool top_most) {
- scoped_ptr<aura::Window> window(new aura::Window(delegate));
- window->SetType(ui::wm::WINDOW_TYPE_NORMAL);
- window->Init(aura::WINDOW_LAYER_SOLID_COLOR);
- window->SetProperty(aura::client::kModalKey, modal_type);
- window->SetProperty(aura::client::kAlwaysOnTopKey, top_most);
- if (transient_parent)
- wm::AddTransientChild(transient_parent, window.get());
- aura::client::ParentWindowWithContext(
- window.get(), ScreenManager::Get()->GetContext(), gfx::Rect());
- return window.Pass();
-}
-
-} // namespace test
-} // namespace athena
« no previous file with comments | « athena/test/base/test_windows.h ('k') | athena/util/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698