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

Unified Diff: ash/wm/overview/window_selector_window.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 side-by-side diff with in-line comments
Download patch
Index: ash/wm/overview/window_selector_window.h
diff --git a/ash/wm/overview/window_selector_window.h b/ash/wm/overview/window_selector_window.h
index 0c6d7b84ff013ee381f130882a172e13b18b7a48..4ac2d2d0498aadba36655d9e1b541733097f78e6 100644
--- a/ash/wm/overview/window_selector_window.h
+++ b/ash/wm/overview/window_selector_window.h
@@ -8,7 +8,6 @@
#include "ash/wm/overview/scoped_transform_overview_window.h"
#include "ash/wm/overview/window_selector_item.h"
#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/gfx/rect.h"
#include "ui/views/controls/button/button.h"
@@ -35,7 +34,7 @@ class WindowSelectorWindow : public WindowSelectorItem,
virtual bool HasSelectableWindow(const aura::Window* window) OVERRIDE;
virtual aura::Window* TargetedWindow(const aura::Window* target) OVERRIDE;
virtual void RestoreWindowOnExit(aura::Window* window) OVERRIDE;
- virtual aura::Window* SelectionWindow() OVERRIDE;
+ virtual aura::Window* SelectionWindow() const OVERRIDE;
virtual void RemoveWindow(const aura::Window* window) OVERRIDE;
virtual bool empty() const OVERRIDE;
virtual void PrepareForOverview() OVERRIDE;
@@ -46,7 +45,6 @@ class WindowSelectorWindow : public WindowSelectorItem,
// views::ButtonListener:
virtual void ButtonPressed(views::Button* sender,
const ui::Event& event) OVERRIDE;
-
private:
// Creates the close button window if it does not exist and updates the bounds
// to match the window selector item.

Powered by Google App Engine
This is Rietveld 408576698