| 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_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 void SetAlwaysOnTop(bool always_on_top) override; | 103 void SetAlwaysOnTop(bool always_on_top) override; |
| 104 bool IsAlwaysOnTop() const override; | 104 bool IsAlwaysOnTop() const override; |
| 105 void SetVisibleOnAllWorkspaces(bool always_visible) override; | 105 void SetVisibleOnAllWorkspaces(bool always_visible) override; |
| 106 void Maximize() override; | 106 void Maximize() override; |
| 107 void Minimize() override; | 107 void Minimize() override; |
| 108 bool IsMaximized() const override; | 108 bool IsMaximized() const override; |
| 109 bool IsMinimized() const override; | 109 bool IsMinimized() const override; |
| 110 void Restore() override; | 110 void Restore() override; |
| 111 void SetFullscreen(bool fullscreen) override; | 111 void SetFullscreen(bool fullscreen) override; |
| 112 bool IsFullscreen() const override; | 112 bool IsFullscreen() const override; |
| 113 void SetOpacity(unsigned char opacity) override; | 113 void SetOpacity(float opacity) override; |
| 114 void FlashFrame(bool flash_frame) override; | 114 void FlashFrame(bool flash_frame) override; |
| 115 void RunShellDrag(View* view, | 115 void RunShellDrag(View* view, |
| 116 const ui::OSExchangeData& data, | 116 const ui::OSExchangeData& data, |
| 117 const gfx::Point& location, | 117 const gfx::Point& location, |
| 118 int operation, | 118 int operation, |
| 119 ui::DragDropTypes::DragEventSource source) override; | 119 ui::DragDropTypes::DragEventSource source) override; |
| 120 void SchedulePaintInRect(const gfx::Rect& rect) override; | 120 void SchedulePaintInRect(const gfx::Rect& rect) override; |
| 121 void SetCursor(gfx::NativeCursor cursor) override; | 121 void SetCursor(gfx::NativeCursor cursor) override; |
| 122 bool IsMouseEventsEnabled() const override; | 122 bool IsMouseEventsEnabled() const override; |
| 123 void ClearNativeFocus() override; | 123 void ClearNativeFocus() override; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 // The following factory is used for calls to close the NativeWidgetAura | 229 // The following factory is used for calls to close the NativeWidgetAura |
| 230 // instance. | 230 // instance. |
| 231 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; | 231 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; |
| 232 | 232 |
| 233 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 233 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 234 }; | 234 }; |
| 235 | 235 |
| 236 } // namespace views | 236 } // namespace views |
| 237 | 237 |
| 238 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 238 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |