| 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_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; | 154 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; |
| 155 virtual void FlashFrame(bool flash) OVERRIDE; | 155 virtual void FlashFrame(bool flash) OVERRIDE; |
| 156 virtual bool IsAccessibleWidget() const OVERRIDE; | 156 virtual bool IsAccessibleWidget() const OVERRIDE; |
| 157 virtual void RunShellDrag(View* view, | 157 virtual void RunShellDrag(View* view, |
| 158 const ui::OSExchangeData& data, | 158 const ui::OSExchangeData& data, |
| 159 const gfx::Point& location, | 159 const gfx::Point& location, |
| 160 int operation) OVERRIDE; | 160 int operation) OVERRIDE; |
| 161 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; | 161 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; |
| 162 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 162 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
| 163 virtual void ClearNativeFocus() OVERRIDE; | 163 virtual void ClearNativeFocus() OVERRIDE; |
| 164 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; | |
| 165 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; | 164 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; |
| 166 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; | 165 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; |
| 167 virtual Widget::MoveLoopResult RunMoveLoop( | 166 virtual Widget::MoveLoopResult RunMoveLoop( |
| 168 const gfx::Point& drag_offset) OVERRIDE; | 167 const gfx::Point& drag_offset) OVERRIDE; |
| 169 virtual void EndMoveLoop() OVERRIDE; | 168 virtual void EndMoveLoop() OVERRIDE; |
| 170 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; | 169 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; |
| 171 | 170 |
| 172 protected: | 171 protected: |
| 173 // Deletes this window as it is destroyed, override to provide different | 172 // Deletes this window as it is destroyed, override to provide different |
| 174 // behavior. | 173 // behavior. |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 bool has_non_client_view_; | 301 bool has_non_client_view_; |
| 303 | 302 |
| 304 scoped_ptr<HWNDMessageHandler> message_handler_; | 303 scoped_ptr<HWNDMessageHandler> message_handler_; |
| 305 | 304 |
| 306 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 305 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
| 307 }; | 306 }; |
| 308 | 307 |
| 309 } // namespace views | 308 } // namespace views |
| 310 | 309 |
| 311 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 310 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
| OLD | NEW |