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

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: Fixed nits, added transparency 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 20 matching lines...) Expand all
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() 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 virtual base::string16 GetLabelName() OVERRIDE;
41 42
42 private: 43 private:
43 typedef ScopedVector<ScopedTransformOverviewWindow> WindowList; 44 typedef ScopedVector<ScopedTransformOverviewWindow> WindowList;
44 WindowList transform_windows_; 45 WindowList transform_windows_;
45 46
46 DISALLOW_COPY_AND_ASSIGN(WindowSelectorPanels); 47 DISALLOW_COPY_AND_ASSIGN(WindowSelectorPanels);
47 }; 48 };
48 49
49 } // namespace ash 50 } // namespace ash
50 51
51 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_PANELS_H_ 52 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_PANELS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698