| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |