OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_MAC_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ |
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ |
7 | 7 |
8 #include "ui/gfx/native_widget_types.h" | 8 #include "ui/gfx/native_widget_types.h" |
9 #include "ui/views/widget/native_widget_private.h" | 9 #include "ui/views/widget/native_widget_private.h" |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 virtual bool IsAlwaysOnTop() const OVERRIDE; | 71 virtual bool IsAlwaysOnTop() const OVERRIDE; |
72 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE; | 72 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE; |
73 virtual void Maximize() OVERRIDE; | 73 virtual void Maximize() OVERRIDE; |
74 virtual void Minimize() OVERRIDE; | 74 virtual void Minimize() OVERRIDE; |
75 virtual bool IsMaximized() const OVERRIDE; | 75 virtual bool IsMaximized() const OVERRIDE; |
76 virtual bool IsMinimized() const OVERRIDE; | 76 virtual bool IsMinimized() const OVERRIDE; |
77 virtual void Restore() OVERRIDE; | 77 virtual void Restore() OVERRIDE; |
78 virtual void SetFullscreen(bool fullscreen) OVERRIDE; | 78 virtual void SetFullscreen(bool fullscreen) OVERRIDE; |
79 virtual bool IsFullscreen() const OVERRIDE; | 79 virtual bool IsFullscreen() const OVERRIDE; |
80 virtual void SetOpacity(unsigned char opacity) OVERRIDE; | 80 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
| 81 virtual void SetHasShadow(bool has_shadow) OVERRIDE; |
81 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; | 82 virtual void SetUseDragFrame(bool use_drag_frame) OVERRIDE; |
82 virtual void FlashFrame(bool flash_frame) OVERRIDE; | 83 virtual void FlashFrame(bool flash_frame) OVERRIDE; |
83 virtual void RunShellDrag(View* view, | 84 virtual void RunShellDrag(View* view, |
84 const ui::OSExchangeData& data, | 85 const ui::OSExchangeData& data, |
85 const gfx::Point& location, | 86 const gfx::Point& location, |
86 int operation, | 87 int operation, |
87 ui::DragDropTypes::DragEventSource source) OVERRIDE; | 88 ui::DragDropTypes::DragEventSource source) OVERRIDE; |
88 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; | 89 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; |
89 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 90 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
90 virtual bool IsMouseEventsEnabled() const OVERRIDE; | 91 virtual bool IsMouseEventsEnabled() const OVERRIDE; |
(...skipping 12 matching lines...) Expand all Loading... |
103 virtual ui::EventHandler* GetEventHandler() OVERRIDE; | 104 virtual ui::EventHandler* GetEventHandler() OVERRIDE; |
104 | 105 |
105 private: | 106 private: |
106 internal::NativeWidgetDelegate* delegate_; | 107 internal::NativeWidgetDelegate* delegate_; |
107 gfx::NativeWindow window_; | 108 gfx::NativeWindow window_; |
108 }; | 109 }; |
109 | 110 |
110 } // namespace views | 111 } // namespace views |
111 | 112 |
112 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ | 113 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ |
OLD | NEW |