OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ |
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ |
7 | 7 |
8 #include "base/string16.h" | 8 #include "base/string16.h" |
9 #include "ui/base/ui_base_types.h" | 9 #include "ui/base/ui_base_types.h" |
10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 virtual void RunShellDrag(View* view, | 203 virtual void RunShellDrag(View* view, |
204 const ui::OSExchangeData& data, | 204 const ui::OSExchangeData& data, |
205 const gfx::Point& location, | 205 const gfx::Point& location, |
206 int operation) = 0; | 206 int operation) = 0; |
207 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0; | 207 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0; |
208 virtual void SetCursor(gfx::NativeCursor cursor) = 0; | 208 virtual void SetCursor(gfx::NativeCursor cursor) = 0; |
209 virtual void ClearNativeFocus() = 0; | 209 virtual void ClearNativeFocus() = 0; |
210 virtual void FocusNativeView(gfx::NativeView native_view) = 0; | 210 virtual void FocusNativeView(gfx::NativeView native_view) = 0; |
211 virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0; | 211 virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0; |
212 virtual void SetInactiveRenderingDisabled(bool value) = 0; | 212 virtual void SetInactiveRenderingDisabled(bool value) = 0; |
213 virtual Widget::MoveLoopResult RunMoveLoop() = 0; | 213 virtual Widget::MoveLoopResult RunMoveLoop(const gfx::Point& drag_offset) = 0; |
214 virtual void EndMoveLoop() = 0; | 214 virtual void EndMoveLoop() = 0; |
215 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0; | 215 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0; |
216 | 216 |
217 // Overridden from NativeWidget: | 217 // Overridden from NativeWidget: |
218 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE; | 218 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE; |
219 }; | 219 }; |
220 | 220 |
221 } // namespace internal | 221 } // namespace internal |
222 } // namespace views | 222 } // namespace views |
223 | 223 |
224 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ | 224 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ |
OLD | NEW |