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

Side by Side Diff: ash/wm/overview/window_selector_panels.h

Issue 231643002: Added labels under the windows in OverviewMode displaying their current name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactored the code to take advantage of blur mechanics, minor fixes Created 6 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_WM_OVERVIEW_WINDOW_SELECTOR_PANELS_H_ 5 #ifndef ASH_WM_OVERVIEW_WINDOW_SELECTOR_PANELS_H_
6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_PANELS_H_ 6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_PANELS_H_
7 7
8 #include "ash/wm/overview/window_selector_item.h" 8 #include "ash/wm/overview/window_selector_item.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 13 matching lines...) Expand all
24 24
25 // Adds |window| to the selector item. This window should be an attached 25 // Adds |window| to the selector item. This window should be an attached
26 // panel window. 26 // panel window.
27 void AddWindow(aura::Window* window); 27 void AddWindow(aura::Window* window);
28 28
29 // WindowSelectorItem: 29 // WindowSelectorItem:
30 virtual aura::Window* GetRootWindow() OVERRIDE; 30 virtual aura::Window* GetRootWindow() OVERRIDE;
31 virtual bool HasSelectableWindow(const aura::Window* window) OVERRIDE; 31 virtual bool HasSelectableWindow(const aura::Window* window) OVERRIDE;
32 virtual aura::Window* TargetedWindow(const aura::Window* target) OVERRIDE; 32 virtual aura::Window* TargetedWindow(const aura::Window* target) OVERRIDE;
33 virtual void RestoreWindowOnExit(aura::Window* window) OVERRIDE; 33 virtual void RestoreWindowOnExit(aura::Window* window) OVERRIDE;
34 virtual aura::Window* SelectionWindow() OVERRIDE; 34 virtual aura::Window* SelectionWindow() const OVERRIDE;
35 virtual void RemoveWindow(const aura::Window* window) OVERRIDE; 35 virtual void RemoveWindow(const aura::Window* window) OVERRIDE;
36 virtual bool empty() const OVERRIDE; 36 virtual bool empty() const OVERRIDE;
37 virtual void PrepareForOverview() OVERRIDE; 37 virtual void PrepareForOverview() OVERRIDE;
38 virtual void SetItemBounds(aura::Window* root_window, 38 virtual void SetItemBounds(aura::Window* root_window,
39 const gfx::Rect& target_bounds, 39 const gfx::Rect& target_bounds,
40 bool animate) OVERRIDE; 40 bool animate) OVERRIDE;
41 41
42 private: 42 private:
43 typedef ScopedVector<ScopedTransformOverviewWindow> WindowList; 43 typedef ScopedVector<ScopedTransformOverviewWindow> WindowList;
44 WindowList transform_windows_; 44 WindowList transform_windows_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(WindowSelectorPanels); 46 DISALLOW_COPY_AND_ASSIGN(WindowSelectorPanels);
47 }; 47 };
48 48
49 } // namespace ash 49 } // namespace ash
50 50
51 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_PANELS_H_ 51 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_PANELS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698