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

Unified Diff: athena/screen/screen_manager_impl.h

Issue 665803003: Revert of Support modal windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: 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/screen/screen_accelerator_handler.h ('k') | athena/screen/screen_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/screen/screen_manager_impl.h
diff --git a/athena/screen/screen_manager_impl.h b/athena/screen/screen_manager_impl.h
deleted file mode 100644
index 17385428a9c9a6a4f3d34fd0c2790ed8136c2a9b..0000000000000000000000000000000000000000
--- a/athena/screen/screen_manager_impl.h
+++ /dev/null
@@ -1,72 +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.
-
-#ifndef ATHENA_SCREEN_SCREEN_MANAGER_IMPL_H_
-#define ATHENA_SCREEN_SCREEN_MANAGER_IMPL_H_
-
-#include "athena/athena_export.h"
-#include "athena/screen/public/screen_manager.h"
-#include "base/memory/scoped_ptr.h"
-#include "ui/aura/client/window_tree_client.h"
-
-namespace aura {
-namespace client {
-class FocusClient;
-class ScreenPositionClient;
-}
-}
-
-namespace wm {
-class ScopedCaptureClient;
-}
-
-namespace athena {
-class AcceleratorHandler;
-
-class ATHENA_EXPORT ScreenManagerImpl : public ScreenManager,
- public aura::client::WindowTreeClient {
- public:
- explicit ScreenManagerImpl(aura::Window* root_window);
- virtual ~ScreenManagerImpl();
-
- void Init();
-
- // Returns a container which has |priority|. Null if such container
- // doesn't exist.
- aura::Window* FindContainerByPriority(int priority);
-
- private:
- // ScreenManager:
- virtual aura::Window* CreateContainer(const ContainerParams& params) override;
- virtual aura::Window* GetContext() override;
- virtual void SetRotation(gfx::Display::Rotation rotation) override;
- virtual void SetRotationLocked(bool rotation_locked) override;
-
- // aura::client::WindowTreeClient:
- virtual aura::Window* GetDefaultParent(aura::Window* context,
- aura::Window* window,
- const gfx::Rect& bounds) override;
-
- int GetModalContainerPriority(aura::Window* window, aura::Window* parent);
-
- // Returns a container with |params.default_parent| == true.
- aura::Window* GetDefaultContainer();
-
- // Not owned.
- aura::Window* root_window_;
-
- scoped_ptr<aura::client::FocusClient> focus_client_;
- scoped_ptr<AcceleratorHandler> accelerator_handler_;
- scoped_ptr<::wm::ScopedCaptureClient> capture_client_;
- scoped_ptr<aura::client::ScreenPositionClient> screen_position_client_;
-
- gfx::Display::Rotation last_requested_rotation_;
- bool rotation_locked_;
-
- DISALLOW_COPY_AND_ASSIGN(ScreenManagerImpl);
-};
-
-} // namespace athena
-
-#endif // ATHENA_SCREEN_SCREEN_MANAGER_IMPL_H_
« no previous file with comments | « athena/screen/screen_accelerator_handler.h ('k') | athena/screen/screen_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698