| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 bool IsAlwaysOnTop() const override; | 153 bool IsAlwaysOnTop() const override; |
| 154 void SetVisibleOnAllWorkspaces(bool always_visible) override; | 154 void SetVisibleOnAllWorkspaces(bool always_visible) override; |
| 155 bool IsVisibleOnAllWorkspaces() const override; | 155 bool IsVisibleOnAllWorkspaces() const override; |
| 156 void Maximize() override; | 156 void Maximize() override; |
| 157 void Minimize() override; | 157 void Minimize() override; |
| 158 bool IsMaximized() const override; | 158 bool IsMaximized() const override; |
| 159 bool IsMinimized() const override; | 159 bool IsMinimized() const override; |
| 160 void Restore() override; | 160 void Restore() override; |
| 161 void SetFullscreen(bool fullscreen) override; | 161 void SetFullscreen(bool fullscreen) override; |
| 162 bool IsFullscreen() const override; | 162 bool IsFullscreen() const override; |
| 163 void Pin(bool trusted) override; |
| 164 bool IsPinned() const override; |
| 163 void SetOpacity(float opacity) override; | 165 void SetOpacity(float opacity) override; |
| 164 void FlashFrame(bool flash_frame) override; | 166 void FlashFrame(bool flash_frame) override; |
| 165 void RunShellDrag(View* view, | 167 void RunShellDrag(View* view, |
| 166 const ui::OSExchangeData& data, | 168 const ui::OSExchangeData& data, |
| 167 const gfx::Point& location, | 169 const gfx::Point& location, |
| 168 int operation, | 170 int operation, |
| 169 ui::DragDropTypes::DragEventSource source) override; | 171 ui::DragDropTypes::DragEventSource source) override; |
| 170 void SchedulePaintInRect(const gfx::Rect& rect) override; | 172 void SchedulePaintInRect(const gfx::Rect& rect) override; |
| 171 void SetCursor(gfx::NativeCursor cursor) override; | 173 void SetCursor(gfx::NativeCursor cursor) override; |
| 172 bool IsMouseEventsEnabled() const override; | 174 bool IsMouseEventsEnabled() const override; |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 // The following factory is used for calls to close the NativeWidgetAura | 314 // The following factory is used for calls to close the NativeWidgetAura |
| 313 // instance. | 315 // instance. |
| 314 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; | 316 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; |
| 315 | 317 |
| 316 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 318 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
| 317 }; | 319 }; |
| 318 | 320 |
| 319 } // namespace views | 321 } // namespace views |
| 320 | 322 |
| 321 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 323 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |