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

Unified Diff: ash/wm/compact_status_area_layout_manager.h

Issue 9630002: Ash: Remove compact window mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OpaqueBrowserFrameView, MultipleWindowIndicatorButton Created 8 years, 9 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/wm/compact_layout_manager_unittest.cc ('k') | ash/wm/compact_status_area_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/compact_status_area_layout_manager.h
diff --git a/ash/wm/compact_status_area_layout_manager.h b/ash/wm/compact_status_area_layout_manager.h
deleted file mode 100644
index cd676d8428b6d3331664cb24bc5a0fb36e3b4799..0000000000000000000000000000000000000000
--- a/ash/wm/compact_status_area_layout_manager.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2011 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 ASH_WM_COMPACT_STATUS_AREA_LAYOUT_MANAGER_H_
-#define ASH_WM_COMPACT_STATUS_AREA_LAYOUT_MANAGER_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "ui/aura/layout_manager.h"
-
-namespace views {
-class Widget;
-}
-
-namespace ash {
-namespace internal {
-
-// CompactStatusAreaLayoutManager places the status area in the top-right
-// corner of the screen.
-class CompactStatusAreaLayoutManager : public aura::LayoutManager {
- public:
- explicit CompactStatusAreaLayoutManager(views::Widget* status_widget);
- virtual ~CompactStatusAreaLayoutManager();
-
- // Overridden from aura::LayoutManager:
- virtual void OnWindowResized() OVERRIDE;
- virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE;
- virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE;
- virtual void OnChildWindowVisibilityChanged(aura::Window* child,
- bool visible) OVERRIDE;
- virtual void SetChildBounds(aura::Window* child,
- const gfx::Rect& requested_bounds) OVERRIDE;
-
- private:
- // Place the status area widget in the corner of the screen.
- void LayoutStatusArea();
-
- bool in_layout_;
- views::Widget* status_widget_;
-
- DISALLOW_COPY_AND_ASSIGN(CompactStatusAreaLayoutManager);
-};
-
-} // namespace internal
-} // namespace ash
-
-#endif // ASH_WM_COMPACT_STATUS_AREA_LAYOUT_MANAGER_H_
« no previous file with comments | « ash/wm/compact_layout_manager_unittest.cc ('k') | ash/wm/compact_status_area_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698