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

Unified Diff: ash/wm/frame_painter.h

Issue 10206021: Merge 133595 - ash: Fix transparency glitches in window header (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1084/src/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | ash/wm/frame_painter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/frame_painter.h
===================================================================
--- ash/wm/frame_painter.h (revision 133684)
+++ ash/wm/frame_painter.h (working copy)
@@ -107,6 +107,8 @@
virtual void OnWindowPropertyChanged(aura::Window* window,
const void* key,
intptr_t old) OVERRIDE;
+ virtual void OnWindowVisibilityChanged(aura::Window* window,
+ bool visible) OVERRIDE;
virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
private:
@@ -127,6 +129,11 @@
// window header.
static bool UseSoloWindowHeader();
+ // Schedules a paint for the window header of the solo window. Invoke this
+ // when another window is hidden or destroyed to force the transparency of
+ // the now-solo window to update.
+ static void SchedulePaintForSoloWindow();
+
static std::set<FramePainter*>* instances_;
// Not owned
« no previous file with comments | « no previous file | ash/wm/frame_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698