| 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 UI_VIEWS_WIDGET_NATIVE_WIDGET_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_H_ |
| 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_H_ |
| 7 | 7 |
| 8 #include "ui/views/native_types.h" | 8 #include "ui/gfx/native_widget_types.h" |
| 9 | 9 |
| 10 namespace gfx{ | 10 namespace gfx{ |
| 11 class Path; | 11 class Path; |
| 12 class Rect; | 12 class Rect; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace ui { | 15 namespace ui { |
| 16 namespace internal { | 16 namespace internal { |
| 17 class NativeWidgetListener; | 17 class NativeWidgetListener; |
| 18 } | 18 } |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 virtual void InvalidateRect(const gfx::Rect& invalid_rect) = 0; | 72 virtual void InvalidateRect(const gfx::Rect& invalid_rect) = 0; |
| 73 virtual void Paint() = 0; | 73 virtual void Paint() = 0; |
| 74 virtual void FocusNativeView(gfx::NativeView native_view) = 0; | 74 virtual void FocusNativeView(gfx::NativeView native_view) = 0; |
| 75 virtual Widget* GetWidget() const = 0; | 75 virtual Widget* GetWidget() const = 0; |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace ui | 78 } // namespace ui |
| 79 | 79 |
| 80 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_H_ | 80 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_H_ |
| 81 | 81 |
| OLD | NEW |