| 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_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_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/focus_change_observer.h" | 9 #include "ui/aura/client/focus_change_observer.h" |
| 10 #include "ui/aura/window_delegate.h" | 10 #include "ui/aura/window_delegate.h" |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 virtual bool IsAlwaysOnTop() const OVERRIDE; | 154 virtual bool IsAlwaysOnTop() const OVERRIDE; |
| 155 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE; | 155 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE; |
| 156 virtual void Maximize() OVERRIDE; | 156 virtual void Maximize() OVERRIDE; |
| 157 virtual void Minimize() OVERRIDE; | 157 virtual void Minimize() OVERRIDE; |
| 158 virtual bool IsMaximized() const OVERRIDE; | 158 virtual bool IsMaximized() const OVERRIDE; |
| 159 virtual bool IsMinimized() const OVERRIDE; | 159 virtual bool IsMinimized() const OVERRIDE; |
| 160 virtual void Restore() OVERRIDE; | 160 virtual void Restore() OVERRIDE; |
| 161 virtual void SetFullscreen(bool fullscreen) OVERRIDE; | 161 virtual void SetFullscreen(bool fullscreen) OVERRIDE; |
| 162 virtual bool IsFullscreen() const OVERRIDE; | 162 virtual bool IsFullscreen() const OVERRIDE; |
| 163 virtual void SetOpacity(unsigned char opacity) OVERRIDE; | 163 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
| 164 virtual void SetHasActivationShadow(bool has_shadow) OVERRIDE; |
| 164 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; | 165 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; |
| 165 virtual void FlashFrame(bool flash_frame) OVERRIDE; | 166 virtual void FlashFrame(bool flash_frame) OVERRIDE; |
| 166 virtual void RunShellDrag(View* view, | 167 virtual void RunShellDrag(View* view, |
| 167 const ui::OSExchangeData& data, | 168 const ui::OSExchangeData& data, |
| 168 const gfx::Point& location, | 169 const gfx::Point& location, |
| 169 int operation, | 170 int operation, |
| 170 ui::DragDropTypes::DragEventSource source) OVERRIDE; | 171 ui::DragDropTypes::DragEventSource source) OVERRIDE; |
| 171 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; | 172 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; |
| 172 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 173 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
| 173 virtual bool IsMouseEventsEnabled() const OVERRIDE; | 174 virtual bool IsMouseEventsEnabled() const OVERRIDE; |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 | 318 |
| 318 // See class documentation for Widget in widget.h for a note about type. | 319 // See class documentation for Widget in widget.h for a note about type. |
| 319 Widget::InitParams::Type widget_type_; | 320 Widget::InitParams::Type widget_type_; |
| 320 | 321 |
| 321 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 322 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
| 322 }; | 323 }; |
| 323 | 324 |
| 324 } // namespace views | 325 } // namespace views |
| 325 | 326 |
| 326 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 327 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |