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

Side by Side Diff: views/widget/native_widget_private.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, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
6 #define VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 6 #define VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 virtual void RunShellDrag(View* view, 199 virtual void RunShellDrag(View* view,
200 const ui::OSExchangeData& data, 200 const ui::OSExchangeData& data,
201 int operation) = 0; 201 int operation) = 0;
202 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0; 202 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0;
203 virtual void SetCursor(gfx::NativeCursor cursor) = 0; 203 virtual void SetCursor(gfx::NativeCursor cursor) = 0;
204 virtual void ClearNativeFocus() = 0; 204 virtual void ClearNativeFocus() = 0;
205 virtual void FocusNativeView(gfx::NativeView native_view) = 0; 205 virtual void FocusNativeView(gfx::NativeView native_view) = 0;
206 virtual bool ConvertPointFromAncestor( 206 virtual bool ConvertPointFromAncestor(
207 const Widget* ancestor, gfx::Point* point) const = 0; 207 const Widget* ancestor, gfx::Point* point) const = 0;
208 virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0; 208 virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0;
209 virtual void SetInactiveRenderingDisabled(bool value) = 0;
209 210
210 // Overridden from NativeWidget: 211 // Overridden from NativeWidget:
211 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE; 212 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE;
212 }; 213 };
213 214
214 } // namespace internal 215 } // namespace internal
215 } // namespace views 216 } // namespace views
216 217
217 #endif // VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 218 #endif // VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698