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

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h

Issue 8351042: Gets disable inactive frame rendering to work correctly for aura. This (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks Created 9 years, 2 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: chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h b/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h
index db3cc58e46c40d8b6ae4d5237b3aefce174bfbff..df41aa9811f4bd926632b5cbf3a271c0c2a595e1 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.h
@@ -42,6 +42,9 @@ class BrowserNonClientFrameViewAura : public BrowserNonClientFrameView,
// Recomputes the bounds of the semi-transparent frame background.
void UpdateFrameBackground(bool active_window);
+ // Invoked when the active state changes.
+ void ActiveStateChanged();
+
// BrowserNonClientFrameView overrides:
virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
virtual int GetHorizontalTabStripVerticalOffset(bool restored) const OVERRIDE;
@@ -58,6 +61,7 @@ class BrowserNonClientFrameViewAura : public BrowserNonClientFrameView,
virtual void EnableClose(bool enable) OVERRIDE;
virtual void ResetWindowControls() OVERRIDE;
virtual void UpdateWindowIcon() OVERRIDE;
+ virtual void ShouldPaintAsActiveChanged() OVERRIDE;
// views::View overrides:
virtual void Layout() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698