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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 virtual bool IsAlwaysOnTop() const OVERRIDE; | 153 virtual bool IsAlwaysOnTop() const OVERRIDE; |
154 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE; | 154 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE; |
155 virtual void Maximize() OVERRIDE; | 155 virtual void Maximize() OVERRIDE; |
156 virtual void Minimize() OVERRIDE; | 156 virtual void Minimize() OVERRIDE; |
157 virtual bool IsMaximized() const OVERRIDE; | 157 virtual bool IsMaximized() const OVERRIDE; |
158 virtual bool IsMinimized() const OVERRIDE; | 158 virtual bool IsMinimized() const OVERRIDE; |
159 virtual void Restore() OVERRIDE; | 159 virtual void Restore() OVERRIDE; |
160 virtual void SetFullscreen(bool fullscreen) OVERRIDE; | 160 virtual void SetFullscreen(bool fullscreen) OVERRIDE; |
161 virtual bool IsFullscreen() const OVERRIDE; | 161 virtual bool IsFullscreen() const OVERRIDE; |
162 virtual void SetOpacity(unsigned char opacity) OVERRIDE; | 162 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
| 163 virtual void SetHasShadow(bool has_shadow) OVERRIDE; |
163 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; | 164 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; |
164 virtual void FlashFrame(bool flash_frame) OVERRIDE; | 165 virtual void FlashFrame(bool flash_frame) OVERRIDE; |
165 virtual void RunShellDrag(View* view, | 166 virtual void RunShellDrag(View* view, |
166 const ui::OSExchangeData& data, | 167 const ui::OSExchangeData& data, |
167 const gfx::Point& location, | 168 const gfx::Point& location, |
168 int operation, | 169 int operation, |
169 ui::DragDropTypes::DragEventSource source) OVERRIDE; | 170 ui::DragDropTypes::DragEventSource source) OVERRIDE; |
170 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; | 171 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; |
171 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 172 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
172 virtual bool IsMouseEventsEnabled() const OVERRIDE; | 173 virtual bool IsMouseEventsEnabled() const OVERRIDE; |
(...skipping 144 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 |