| 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_WIN_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| 6 #define VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| 7 | 7 |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 virtual bool IsVisible() const; | 77 virtual bool IsVisible() const; |
| 78 virtual bool IsActive() const; | 78 virtual bool IsActive() const; |
| 79 virtual void SetMouseCapture(); | 79 virtual void SetMouseCapture(); |
| 80 virtual void ReleaseMouseCapture(); | 80 virtual void ReleaseMouseCapture(); |
| 81 virtual bool HasMouseCapture() const; | 81 virtual bool HasMouseCapture() const; |
| 82 virtual bool ShouldReleaseCaptureOnMouseReleased() const; | 82 virtual bool ShouldReleaseCaptureOnMouseReleased() const; |
| 83 virtual void Invalidate(); | 83 virtual void Invalidate(); |
| 84 virtual void InvalidateRect(const gfx::Rect& invalid_rect); | 84 virtual void InvalidateRect(const gfx::Rect& invalid_rect); |
| 85 virtual void Paint(); | 85 virtual void Paint(); |
| 86 virtual void FocusNativeView(gfx::NativeView native_view); | 86 virtual void FocusNativeView(gfx::NativeView native_view); |
| 87 virtual void RunShellDrag(const ui::OSExchangeData& data, int operation); |
| 87 virtual WidgetImpl* GetWidgetImpl(); | 88 virtual WidgetImpl* GetWidgetImpl(); |
| 88 virtual const WidgetImpl* GetWidgetImpl() const; | 89 virtual const WidgetImpl* GetWidgetImpl() const; |
| 89 | 90 |
| 90 // Overridden from MessageLoop::Observer: | 91 // Overridden from MessageLoop::Observer: |
| 91 void WillProcessMessage(const MSG& msg); | 92 void WillProcessMessage(const MSG& msg); |
| 92 virtual void DidProcessMessage(const MSG& msg); | 93 virtual void DidProcessMessage(const MSG& msg); |
| 93 | 94 |
| 94 // Message handlers | 95 // Message handlers |
| 95 BEGIN_MSG_MAP_EX(NativeWidgetWin) | 96 BEGIN_MSG_MAP_EX(NativeWidgetWin) |
| 96 // Range handlers must go first! | 97 // Range handlers must go first! |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 ViewProps props_; | 266 ViewProps props_; |
| 266 | 267 |
| 267 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 268 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
| 268 }; | 269 }; |
| 269 | 270 |
| 270 } // namespace internal | 271 } // namespace internal |
| 271 } // namespace views | 272 } // namespace views |
| 272 | 273 |
| 273 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 274 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| 274 | 275 |
| OLD | NEW |