| 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_DESKTOP_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| 7 | 7 |
| 8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "ui/aura/client/activation_delegate.h" | 9 #include "ui/aura/client/activation_delegate.h" |
| 10 #include "ui/aura/window_delegate.h" | 10 #include "ui/aura/window_delegate.h" |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 virtual void Restore() OVERRIDE; | 106 virtual void Restore() OVERRIDE; |
| 107 virtual void SetFullscreen(bool fullscreen) OVERRIDE; | 107 virtual void SetFullscreen(bool fullscreen) OVERRIDE; |
| 108 virtual bool IsFullscreen() const OVERRIDE; | 108 virtual bool IsFullscreen() const OVERRIDE; |
| 109 virtual void SetOpacity(unsigned char opacity) OVERRIDE; | 109 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
| 110 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; | 110 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; |
| 111 virtual void FlashFrame(bool flash_frame) OVERRIDE; | 111 virtual void FlashFrame(bool flash_frame) OVERRIDE; |
| 112 virtual bool IsAccessibleWidget() const OVERRIDE; | 112 virtual bool IsAccessibleWidget() const OVERRIDE; |
| 113 virtual void RunShellDrag(View* view, | 113 virtual void RunShellDrag(View* view, |
| 114 const ui::OSExchangeData& data, | 114 const ui::OSExchangeData& data, |
| 115 const gfx::Point& location, | 115 const gfx::Point& location, |
| 116 int operation) OVERRIDE; | 116 int operation, |
| 117 ui::DragDropTypes::DragEventSource source) OVERRIDE; |
| 117 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; | 118 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; |
| 118 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 119 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
| 119 virtual void ClearNativeFocus() OVERRIDE; | 120 virtual void ClearNativeFocus() OVERRIDE; |
| 120 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; | 121 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; |
| 121 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; | 122 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; |
| 122 virtual Widget::MoveLoopResult RunMoveLoop( | 123 virtual Widget::MoveLoopResult RunMoveLoop( |
| 123 const gfx::Vector2d& drag_offset) OVERRIDE; | 124 const gfx::Vector2d& drag_offset) OVERRIDE; |
| 124 virtual void EndMoveLoop() OVERRIDE; | 125 virtual void EndMoveLoop() OVERRIDE; |
| 125 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; | 126 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; |
| 126 virtual ui::NativeTheme* GetNativeTheme() OVERRIDE; | 127 virtual ui::NativeTheme* GetNativeTheme() OVERRIDE; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 internal::NativeWidgetDelegate* native_widget_delegate_; | 182 internal::NativeWidgetDelegate* native_widget_delegate_; |
| 182 | 183 |
| 183 scoped_ptr<aura::client::StackingClient> stacking_client_; | 184 scoped_ptr<aura::client::StackingClient> stacking_client_; |
| 184 | 185 |
| 185 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 186 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
| 186 }; | 187 }; |
| 187 | 188 |
| 188 } // namespace views | 189 } // namespace views |
| 189 | 190 |
| 190 #endif // UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_ | 191 #endif // UI_VIEWS_WIDGET_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |