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

Unified Diff: views/widget/native_widget_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: views/widget/native_widget_aura.h
diff --git a/views/widget/native_widget_aura.h b/views/widget/native_widget_aura.h
index d5b55d8016b1e2fc7b3586db7592066c5b3c3e32..e257a2d5ea4b4f6b9810b64c533ec6c01b1b17c2 100644
--- a/views/widget/native_widget_aura.h
+++ b/views/widget/native_widget_aura.h
@@ -117,6 +117,7 @@ class VIEWS_EXPORT NativeWidgetAura : public internal::NativeWidgetPrivate,
virtual bool ConvertPointFromAncestor(
const Widget* ancestor, gfx::Point* point) const OVERRIDE;
virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE;
+ virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE;
// Overridden from views::InputMethodDelegate:
virtual void DispatchKeyEventPostIME(const KeyEvent& key) OVERRIDE;
@@ -141,6 +142,8 @@ class VIEWS_EXPORT NativeWidgetAura : public internal::NativeWidgetPrivate,
virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE;
private:
+ class DesktopObserverImpl;
+
internal::NativeWidgetDelegate* delegate_;
aura::Window* window_;
@@ -159,6 +162,8 @@ class VIEWS_EXPORT NativeWidgetAura : public internal::NativeWidgetPrivate,
scoped_ptr<TooltipManagerViews> tooltip_manager_;
+ scoped_ptr<DesktopObserverImpl> desktop_observer_;
+
DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
};

Powered by Google App Engine
This is Rietveld 408576698