| Index: views/widget/native_widget_view.cc
|
| diff --git a/views/widget/native_widget_view.cc b/views/widget/native_widget_view.cc
|
| index 85cb30ef6470de0c12af90a904b301b1f6e68e70..c816c0f0aad548bd57ab523bf5a724d5b82af974 100644
|
| --- a/views/widget/native_widget_view.cc
|
| +++ b/views/widget/native_widget_view.cc
|
| @@ -18,7 +18,8 @@ const char NativeWidgetView::kViewClassName[] = "views/NativeWidgetView";
|
| NativeWidgetView::NativeWidgetView(NativeWidgetViews* native_widget)
|
| : native_widget_(native_widget),
|
| sent_create_(false),
|
| - delete_native_widget_(true) {
|
| + delete_native_widget_(true),
|
| + cursor_(NULL) {
|
| }
|
|
|
| NativeWidgetView::~NativeWidgetView() {
|
| @@ -69,6 +70,10 @@ void NativeWidgetView::OnPaint(gfx::Canvas* canvas) {
|
| delegate()->OnNativeWidgetPaint(canvas);
|
| }
|
|
|
| +gfx::NativeCursor NativeWidgetView::GetCursor(const MouseEvent& event) {
|
| + return cursor_;
|
| +}
|
| +
|
| bool NativeWidgetView::OnMousePressed(const MouseEvent& event) {
|
| MouseEvent e(event, this);
|
| return delegate()->OnMouseEvent(event);
|
|
|