summaryrefslogtreecommitdiffstats
path: root/ash/wm/header_painter.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/header_painter.h')
-rw-r--r--ash/wm/header_painter.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/ash/wm/header_painter.h b/ash/wm/header_painter.h
index bdc5dbf7..ea326af 100644
--- a/ash/wm/header_painter.h
+++ b/ash/wm/header_painter.h
@@ -63,13 +63,6 @@ class ASH_EXPORT HeaderPainter : public aura::WindowObserver,
views::View* window_icon,
FrameCaptionButtonContainerView* caption_button_container);
- // Enable/Disable the solo-window transparent header appearance feature.
- static void SetSoloWindowHeadersEnabled(bool enabled);
-
- // Updates the solo-window transparent header appearance for all windows
- // using frame painters in |root_window|.
- static void UpdateSoloWindowHeader(aura::Window* root_window);
-
// Returns the bounds of the client view for a window with |header_height|
// and |window_bounds|. The return value and |window_bounds| are in the
// views::NonClientView's coordinates.
@@ -138,14 +131,10 @@ class ASH_EXPORT HeaderPainter : public aura::WindowObserver,
void OnThemeChanged();
// aura::WindowObserver overrides:
- virtual void OnWindowVisibilityChanged(aura::Window* window,
- bool visible) OVERRIDE;
virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
virtual void OnWindowBoundsChanged(aura::Window* window,
const gfx::Rect& old_bounds,
const gfx::Rect& new_bounds) OVERRIDE;
- virtual void OnWindowAddedToRootWindow(aura::Window* window) OVERRIDE;
- virtual void OnWindowRemovingFromRootWindow(aura::Window* window) OVERRIDE;
// ash::WindowStateObserver override:
virtual void OnTrackedByWorkspaceChanged(wm::WindowState* window_state,
@@ -190,24 +179,6 @@ class ASH_EXPORT HeaderPainter : public aura::WindowObserver,
// Returns the radius of the header's top corners.
int GetHeaderCornerRadius() const;
- // Returns true if |window_->GetRootWindow()| should be drawing transparent
- // window headers.
- bool UseSoloWindowHeader() const;
-
- // Returns true if |root_window| has exactly one visible, normal-type window.
- // It ignores |ignore_window| while calculating the number of windows.
- // Pass NULL for |ignore_window| to consider all windows.
- static bool UseSoloWindowHeaderInRoot(aura::Window* root_window,
- aura::Window* ignore_window);
-
- // Updates the solo-window transparent header appearance for all windows in
- // |root_window|. If |ignore_window| is not NULL it is ignored for when
- // counting visible windows. This is useful for updates when a window is about
- // to be closed or is moving to another root. If the solo window status
- // changes it schedules paints as necessary.
- static void UpdateSoloWindowInRoot(aura::Window* root_window,
- aura::Window* ignore_window);
-
// Schedules a paint for the header. Used when transitioning from no header to
// a header (or other way around).
void SchedulePaintForHeader();