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

Side by Side Diff: views/widget/native_widget_views.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_VIEWS_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_
6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ 6 #define VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 virtual void RunShellDrag(View* view, 132 virtual void RunShellDrag(View* view,
133 const ui::OSExchangeData& data, 133 const ui::OSExchangeData& data,
134 int operation) OVERRIDE; 134 int operation) OVERRIDE;
135 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; 135 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE;
136 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 136 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
137 virtual void ClearNativeFocus() OVERRIDE; 137 virtual void ClearNativeFocus() OVERRIDE;
138 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; 138 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE;
139 virtual bool ConvertPointFromAncestor( 139 virtual bool ConvertPointFromAncestor(
140 const Widget* ancestor, gfx::Point* point) const OVERRIDE; 140 const Widget* ancestor, gfx::Point* point) const OVERRIDE;
141 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; 141 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE;
142 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE;
142 143
143 // Overridden from internal::InputMethodDelegate 144 // Overridden from internal::InputMethodDelegate
144 virtual void DispatchKeyEventPostIME(const KeyEvent& key) OVERRIDE; 145 virtual void DispatchKeyEventPostIME(const KeyEvent& key) OVERRIDE;
145 146
146 private: 147 private:
147 friend class desktop::DesktopWindowView; 148 friend class desktop::DesktopWindowView;
148 149
149 typedef std::map<const char*, void*> PropsMap; 150 typedef std::map<const char*, void*> PropsMap;
150 151
151 // These functions may return NULL during Widget destruction. 152 // These functions may return NULL during Widget destruction.
(...skipping 30 matching lines...) Expand all
182 183
183 // Map used by Set/GetNativeWindowProperty. 184 // Map used by Set/GetNativeWindowProperty.
184 PropsMap props_map_; 185 PropsMap props_map_;
185 186
186 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews); 187 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViews);
187 }; 188 };
188 189
189 } // namespace views 190 } // namespace views
190 191
191 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_ 192 #endif // VIEWS_WIDGET_NATIVE_WIDGET_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698